Hub Firmware and Edge Driver Release Notes - 0.62.X

My V2’s updated to 0.62.7 just fine.

Coinidence perhaps that yours is unable to connect to the network (solid blue)? Swap ethernet cables, verify power supply. Check your DHCP server (your router) to see if its being assigned an IP address. Ping that address to see if it ever comes online.

Mariano and others,

Thank you for your participation in the community, we appreciate your feedback. The Zigbee device health feature we released in 0.61 changed the amount of time before we mark a device offline to be based off the device’s fastest attribute reporting configuration rather than the previous heuristic of the capabilities it supports. The previous approach forced us to take a very conservative approach due to vast differences between device configurations. The intent was to make the algorithm more predictable, and allow for a driver developer to make their own determination about the battery life to offline detection time tradeoff for each device. It allows driver developers to use much longer attribute reporting configurations without worrying about devices erroneously being marked offline due to the capabilities they have or don’t have.

The feature works by lazily reading attribute reporting configurations based on the attribute reports received by the hub to eventually hone in on the fastest maximum reporting interval configured for a device. If no reporting configuration is detected for a device, it falls back to the old capability based system. When the hub receives a ReportAttributes message for an unknown attribute configuration, it sends a ReadReportingConfiguration message to learn it’s configuration. If the driver sends a ConfigureReporting command to a device, the hub re-reads those attribute reporting configurations. The hub tracks the reporting configuration for each attribute configured based on the ReadReportingConfigurationResponse messages. The hub persists the fastest maximum attribute reporting interval that is configured for each device. This fastest interval is then scaled by a “scaling factor” to determine the amount of time without communication before the device will be marked offline. The current scaling factor is 3.1, meaning there are 3 missed reports before the hub pings the device (typically a ReadAttributes command) and then marks it offline.

We tested a variety of scaling factors across internal hubs and the beta hub population during the 61.x beta release period, and chose a value resulted in similar performance to the existing capabilities based approach. This value, 3.1, has been in place since the rollout of 0.61 to all users. Our data confirms that when aggregated across the entire fleet of hubs, there is no substantial change in the number of Zigbee devices being marked offline due to this feature, and that there was an average reduction of 50 minutes in the time it takes to detect a device being offline. As always, there are exceptions/outliers when such a large sample is taken, especially with the wide range of devices on our platform.

We investigated multiple hubs with intermittently offline Tuya devices. We found that the devices do not follow the Zigbee spec; they do not report attributes at the frequency they tell us they are configured to report them. This is the case for several Tuya models (TS0201, TS0207, TS0203, TS0505B, and TS0202 are the worst offenders). Rather than disabling the new feature to better support these Tuya devices, which are not compliant with the Zigbee spec and are not certified via the WWST process, we left the feature enabled to improve device offline detection for the majority of Zigbee devices. In 0.62, we expanded the feature to better handle these outlier devices, and have adjusted the several Tuya device models to be less sensitive (6.1 scaling factor instead of 3.1). We are committed to supporting all devices we possibly can on the platform with a consistent user experience, but often face old or non-spec compliant devices that have a lesser experience.

We hope this helps understand this feature, and the choices we made while enabling it.

It’s showing in my router fine, I had it off again overnight and then support must’ve saw my post here and they’re going to take a look, which is very much appreciated!

Hi @carter.swedal

Thanks for the explanation; it is welcome and useful for adjusting reporting intervals based on usage needs and device battery life, while taking into account the hub firmware’s rules and limits.
Just one question: does rebooting the hub via the awa trigger an update of the interval list managed by the hub, or is there a function that updates this list periodically?

Regards,

Sort of. The hub tracks the list of all device attributes in volatile memory, but only persists the fastest reporting interval in non-volatile memory. So when the hub is rebooted that large list is lost, but the fastest reporting interval is still known, and still used after the reboot. As the hub watches for reported attributes or devices being configured it re-learns the attribute reporting configurations for all attributes, and will update the persisted attribute reporting interval if a faster one is discovered.

All zigbee devices are now offline.

Hi @Jake_Mohl

I’ve been having similar issues at one location with a V2 hub since firmware version 61.6.
It has 34 Zigbee devices: 29 Tuya units and 5 Heiman smoke detectors. They started disconnecting intermittently—sometimes 12, 20, 2, 25, or 0 devices at a time. They would sometimes take hours to come back online; most routines worked even while the devices were offline, but they couldn’t be controlled via the app.
Knowing about the changes to the disconnected-device detection feature, I decided to wait for version 62.7, which had been working well on a V3 hub at a different location during the beta phase.
When version 62.7 was installed on the V2 hub (on Tuesday or Wednesday), it was a disappointment; even after getting all devices online, groups of up to 15 devices would go offline again after having been online for hours.
Neither restarting nor powering down the hub resulted in stability lasting more than a day. I tried changing the Zigbee channel from 14 to 20, but the devices refused to connect to any channel other than the original 14.
I concluded that the V2 hub might be faulty.
I had a spare V3 hub—new and updated to 62.7—so I decided to swap the V2 for the V3. Everything went smoothly and quickly, and the V3 set itself up on the same channel (14) as the V2. I had to restart it a couple of times and wait hours; I even had to reinstall some devices, such as the smoke detectors and contact sensors.
It seemed to have the same problem as the V2.
By the end of Thursday, I had everything back online, but around noon on Saturday, 27 devices (both battery- and AC-powered) suddenly went offline. They haven’t come back online since—not after rebooting the hub, nor after powering it down and leaving it off for hours to see if the Zigbee network would rebuild itself. Since the V3 automatically switched to Zigbee channel 14, I thought I’d try a different one—channel 19—but only six devices reconnected to the new channel; neither rebooting nor powering down the hub helped.
Today, I tried yet another channel—channel 24—but the situation remained unchanged after several hours. Devices would only reconnect if I reinstalled them, except for the same six that had already come online itself on channel 19.

I’ve reinstalled four more devices and plan to wait a day or two to see if they stay online before to reinstalling the remaining 23 that are currently offline.

All my installed Mc drivers report the metrics for received device Zigbee signals and the message reception time, and the quality and signal strength are good with V2 and V3 hubs—which makes the whole situation even stranger.

I’ll let you know how this turns out—assuming it gets resolved.

Probably not your issue here @Mariano_Colmenarejo , but when I changed the zigbee channel on my hub and rebooted not all devices would come back online, particularly the tuya zigbee ones. I was able to get them back but putting them into pairing mode individually and then doing scan nearby. This found the original device and kept the routines etc.

You’ve probably done this already, but just in case you haven’t.

Thanks @Declankn,

Yes, that is the method I use to reinstall Zigbee devices when I can’t get them to reconnect on their own by simply removing the battery or rebooting the hub. Usually, they reconnect automatically, though some take quite a while. Since I’m changing the Zigbee channel to try and fix the multiple, sudden, and seemingly random disconnections, I assume I’ll have to reinstall most of them by resetting them; however, before doing that for all of them, I want to test 10 devices to see if they stay online on the new channel. I am very skeptical that changing the channel will solve the issue of massive, sudden disconnections.
Resetting certain devices—like IR remotes—means losing stored data for learned command codes; I would have to reprogram each Zigbee IR unit using the original remote controls, which is a tedious process I’d like to avoid. Out of the six IR units, only one has reconnected on its own following the Zigbee channel changes.

Regards,

Ok. I don’t have any zigbee ir devices. The devices I re-paired (temp sensors and motion sensors) I don’t know if that did a factory reset on the device or just put it re-pair without losing config since I didn’t really have any config on them, and the routines for them were on the hub and remained intact.

So here’s my situation. I’ve changed the channel on the zigbee. Nothing wanted to rejoin. I reset a device and it was found by The hub and added back in so I went to move on to another one. The device is reset showing that it’s in pairing mode however the hub does not find the second zigbee device that I am trying to pair back to the hub. Tried a third same thing.

Hi,
The 10 devices I re-paired yesterday morning were still online, so I decided to re-pair the 23 that were still offline. Fortunately, Moes IR devices don’t lose their saved codes when you reset them to pairing mode, which saved me a lot of time.

An hour later, I noticed that two TS0201 temperature sensors had disconnected. Checking the details view for the offline devices, I saw that the signal metric timestamps were from September 20th—exactly when I lost all the devices during the initial Zigbee channel change. All the others showed a date of September 22nd, when reinstalled. I suspect that when I re-paired them using the “search nearby” option, I forgot to click “edit” and “save.” This is an important step!
I hope that’s the issue and no more devices disconnect; I’ll have to wait and see.

@jake_Mohl, With the “search nearby” option, it sometimes takes quite a while to find them, and might even have to repeat the search. Could they be too far from the hub?

Update:
It has been 5 days since I reinstalled all the Zigbee devices after switching the hub to channel 24, and everything is working well, with no disconnections. Let’s hope it stays that way, even when version 62.12 or higher is installed on this hub.

just curious, was this version halted or something? im setup for beta but im still on 62.00010

I have 3 locations and 4 hubs (all aeotec v3). Absolutly no issuses so far. Each radio/network works fine.

oh ok, i just never heard of 62.10 anywhere so i didnt know if it was the most recent or not.

I don’t get it; the last official version was supposed to be 62.7.

One of my v3 hubs (which is enrolled in the beta program) has updated to version 62.10.
Has anything changed?

The 62.7 roll out finished on time a week ago but it would appear the 62.x beta has been reactivated as 62.10 has rolled out (looks like about twenty-four hours ago and I didn’t notice anything between 7 and 10, though I am a lot less likelier to notice than I was a week ago). So maybe something can’t wait to be fixed. It’s not unprecedented.

The beta thread now confirms that 62.10 was pushed out on the 21st and is to ‘Mitigate rare crash on hubs in exceptionally noisy local networks’.

It doesn’t say what type or types of ‘local networks’ are the issue.

App should be updated to higher than 1.8.51.x.
V4/TV will support the tag in/out scanning newly.
They do not work as Find Node. However, it only supports the function of monitoring tag in / out.

Version 1.8.51.30 of the SmartThings app has been released. Is anyone using the new version yet?