<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94843/zigbee-seds-fail-to-reconnect-after-mains-power-failure</link><description>I have a Zigbee test network consisting of ~30 mains-powered devices (almost all routers) plus ~15 battery powered SED light switches based on the nRF52840_dongle. 
 I noticed that after a mains power interruption, several of the SEDs quit talking to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Dec 2022 10:02:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94843/zigbee-seds-fail-to-reconnect-after-mains-power-failure" /><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/402236?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 10:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5b41c0-094c-47ad-bbbc-f40f61e100bb</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="mytzyiay"]It seems like reported bugs in the ZBOSS stack have, so far, not gone anywhere.[/quote]
&lt;p&gt;Which bugs are you referring to?&lt;/p&gt;
[quote user="mytzyiay"]1) Inform the app when there is periodic Zigbee activity, so that we can&amp;nbsp;re-arm&amp;nbsp;a watchdog timer.&amp;nbsp; If the switch falls off the network for an extended period of time, reset the device.[/quote]
&lt;p&gt;I am not aware of any good ways to do this, since a lot of the stack logic is handled internally. You can try to use the ZBOSS thread in some way (see&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/zigbee/osif/zb_nrf_platform.c#L337"&gt;zboss_thread()&lt;/a&gt;), although I would not recommend making changes to any of the library files.&lt;/p&gt;
[quote user="mytzyiay"]2) Nordic can request ZOI Guest access so that we can see the source code and track down the bugs ourselves[/quote]
&lt;p&gt;Please contact RSM regarding this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/402006?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 19:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c464c43-0396-4294-b1b1-e48d2d8319f7</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;I am already calling user_input_indicate() on every button press.&amp;nbsp; I saw this in the Zigbee samples and I followed their lead.&lt;/p&gt;
&lt;p&gt;It seems to work correctly in the sense that it wakes up the ZBOSS stack during normal (non outage) conditions.&amp;nbsp; But I&amp;#39;m not sure it is properly waking the stack after an outage.&lt;/p&gt;
&lt;p&gt;It seems like reported bugs in the ZBOSS stack have, so far, not gone anywhere.&amp;nbsp; So I could see two other possible alternatives here:&lt;/p&gt;
&lt;p&gt;1) Inform the app when there is periodic Zigbee activity, so that we can&amp;nbsp;re-arm&amp;nbsp;a watchdog timer.&amp;nbsp; If the switch falls off the network for an extended period of time, reset the device.&lt;/p&gt;
&lt;p&gt;2) Nordic can request ZOI Guest access so that we can see the source code and track down the bugs ourselves&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/402003?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 18:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f23e15a-8e54-4f88-8483-a38217c7d2b9</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to get a sniffer log from when the outage occurs if possible.&lt;/p&gt;
&lt;p&gt;The SEDs will retry for a finite time, with longer and longer interval between each successive retry. This procedure can be restarted by calling&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/group__special__nordic__functions.html?cp=8_3_5_1_9_3_10#ga0d394d3393bba9820837b5221e6ea848"&gt;user_input_indicate()&lt;/a&gt;. You will have to implement the logic for this in your application, for example that pressing a button, or holding a button down for a period of time, will call&amp;nbsp;user_input_indicate().&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/401595?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 18:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca9e7ea3-43b8-4a1d-a507-f478c8334459</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;I have a sniffer log from when the power returned, but not when the outage occurred.&amp;nbsp; It doesn&amp;#39;t show any traffic from the &amp;quot;stuck&amp;quot; SEDs.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;The SEDs should start looking for a new parent when they cannot reach their parent. If they are unable to reach any, then they will not be able to rejoin the network&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is there logic that causes them to retry a while after they&amp;#39;ve failed to find a new parent node?&amp;nbsp; Any way to adjust this behavior or force a join reattempt on a timer?&lt;/p&gt;
&lt;p&gt;In the case of a mains power failure, all possible parents can potentially be offline for hours.&amp;nbsp; A tiny percentage of our&amp;nbsp;end users&amp;nbsp;may have a ZR on battery backup, but that isn&amp;#39;t something we can count on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/401207?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 10:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5491e70c-4b8f-4bfd-b98a-2330d65e1b74</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have a sniffer log when the mains power interruption happens? The SEDs should start looking for a new parent when they cannot reach their parent. If they are unable to reach any, then they will not be able to rejoin the network, which might be what is happening here. Are the SEDs affected by this out of range of any possible parent, while the other SEDs are in range?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee SEDs fail to reconnect after mains power failure</title><link>https://devzone.nordicsemi.com/thread/400653?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 14:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1d6838b-32ba-451e-ae82-d01a5e76ab04</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The person best fit to answer your questions are out of the office, we will look into it next week.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>