Author Topic: Zigbee dropping with the last firmware  (Read 506 times)

Offline rafale77

  • Hero Member
  • *****
  • Posts: 740
  • Karma: +35/-20
Zigbee dropping with the last firmware
« on: June 26, 2017, 10:37:47 pm »
Since the upgrade to 7.21, I am getting an intermittent event where both of my zigbee switches drop off the vera at the same time. It looks like the Zigbee stack is crashing. A reboot seems to fix the problem. Have never seen it with previous firmwares. Anyone also observing this?
VeraPlus with 116 zwave nodes, 8 Zigbee nodes, 12 apps, 267 vera devices, 80 scenes; Controlled by Openluup (21 devices, 56 scenes, 9 apps) and iobroker; Bridged to Homekit and Alexa.

Offline ccollinscj

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Zigbee dropping with the last firmware
« Reply #1 on: June 29, 2017, 08:02:48 am »
Yes,  most of my devices (7) of them that are on the support list located in my office keep crashing as well.  According to customer care there is nothing in the logs.  I have to reboot my vera at lease twice a day.

Offline moishaSPB

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
Re: Zigbee dropping with the last firmware
« Reply #2 on: July 27, 2017, 10:02:41 pm »
Not Zigbee, but Z-Wave devices dropping off and then come back in a day or two since the latest update. Not having good experience since moved to Vera Edge two years ago, but the latest f/w appears to be the worst in term of drops.

Offline rafale77

  • Hero Member
  • *****
  • Posts: 740
  • Karma: +35/-20
Re: Zigbee dropping with the last firmware
« Reply #3 on: December 02, 2017, 12:49:06 pm »
Have been doing a lot of testing on this problem:
1. It is not an RF environment issue. I have scanned the 2.4GHz spectrum and found that the channel my Vera Zigbee is on is very clean in spite of all the different 2.4GHz traffic I have in my location.
2. It is not a Zigbee chip problem: Normally when my devices lose zigbee, they blink to say they lost contact with the controller either because the zigbee chip crashed or because they are out of range. Not with the Vera problem. On the vera, it appears only the UI7 loses control. The other devices seem to communicate to the zigbee chip on the vera just fine.
3. I have narrowed down the issue to the Luup engine. I am able to recover the zigbee functionality by reloading the Luup engine. It sometimes fails within seconds of the luup reload, sometimes hours.

The problems have been getting worse over time.
I first saw the problem on 7.0.19. It occurred twice right after the firmware upgrade and then disappeared for months
On 7.0.20 same experience, occurred twice.
beyond 7.0.21 I could not get rid of it and the frequency increased.
After trying to upgrade to 7.0.23 and now downgrading to 7.0.20, I am still having the problem about 2-3 times a day.
It appears the increase in number of devices contributed to the problem. I am now trying to remove plugins, startup lua code and scenes to see if I can eliminate the problem.
VeraPlus with 116 zwave nodes, 8 Zigbee nodes, 12 apps, 267 vera devices, 80 scenes; Controlled by Openluup (21 devices, 56 scenes, 9 apps) and iobroker; Bridged to Homekit and Alexa.

Offline rafale77

  • Hero Member
  • *****
  • Posts: 740
  • Karma: +35/-20
Re: Zigbee dropping with the last firmware
« Reply #4 on: December 05, 2017, 11:56:50 am »
It appears that the problem is solved.

It is definitely a Luup engine loading issue.
After removing a number of plugins and attached devices, the problem is no longer occurring on 7.0.20 for the past 13hours.
The last plugin removed was SONOS and had to lower my Zigbee total device number to 8. I am still running 11 plugins and a total of 268 devices down from 290. I have kept all my zwave nodes(~130).
The biggest factors appear to be plugin and zigbee device numbers. Memory is far from running out. It is peak CPU utilization for the Luup engine thread which is limited.

Offloading a large portion of the setup to Openluup and iobroker has been a lifesaver.
« Last Edit: December 05, 2017, 12:55:18 pm by rafale77 »
VeraPlus with 116 zwave nodes, 8 Zigbee nodes, 12 apps, 267 vera devices, 80 scenes; Controlled by Openluup (21 devices, 56 scenes, 9 apps) and iobroker; Bridged to Homekit and Alexa.