This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Z-wave migration: succesful except for Greenwave power nodes
Eternity
Member
Today I migrated the last z-wave devices from my Syno/Domoticz/Aeotec Z-wave stick setup to Homey.
All my Aeotec sensors and Fibaro relay's are functioning as hoped (and have been for weeks). Unfortunately Greenwave powernodes cause problems. I delayed migration as I had issues before. Today I saw the Powernode 1 and 6 are now supported in the App store in one single App (no install via Github needed and not necessary to install two Greenwave app's), I decided to give it another try...
In my Domoticz setup tthe Powernodes 1's and 6's were controllable and have been working without any issues for months in a row. Migrated to Homey the green Led issue is back (yes, I have polling enabled and set the "delay before flashing" to 255 minutes) and *very strange* I loose connection although Homey allows me to move the slider and operate it. The devise does not respond.
All nodes are within 4 meters from Homey, the were oké in Domotcz, in Homey the all (6 port and 1-port) fail. Green Led's flashing and they can not be controlled (yes, you can manipulate the sliders to power on/off, but nothing really happens in the actual node).
I am on the latest experimental firmware.
All my Aeotec sensors and Fibaro relay's are functioning as hoped (and have been for weeks). Unfortunately Greenwave powernodes cause problems. I delayed migration as I had issues before. Today I saw the Powernode 1 and 6 are now supported in the App store in one single App (no install via Github needed and not necessary to install two Greenwave app's), I decided to give it another try...
In my Domoticz setup tthe Powernodes 1's and 6's were controllable and have been working without any issues for months in a row. Migrated to Homey the green Led issue is back (yes, I have polling enabled and set the "delay before flashing" to 255 minutes) and *very strange* I loose connection although Homey allows me to move the slider and operate it. The devise does not respond.
All nodes are within 4 meters from Homey, the were oké in Domotcz, in Homey the all (6 port and 1-port) fail. Green Led's flashing and they can not be controlled (yes, you can manipulate the sliders to power on/off, but nothing really happens in the actual node).
I am on the latest experimental firmware.
Comments
What I did was disable the Greenwave app, reboot, wait for the zwave network to become available and reenable the Greenwave app again.
Seems to have fixed it for me.
It has to be a z-wave issue; I can move sliders in the control pannel (no error of "lost device") but the actual powernode doesn't do anything.
Did you do a software reboot, or PTP?
I will do some more testing tonight.
My Fibaro relays (222's) stopped working. I did some testing and found out that ifI disable the Greenwave App and re-boot, my Fibaro relay's work again.
That would be sad. . . . They worked fine with Domoticz . Homey should be able to handle them.
[EDIT]
I have made an issue for this: https://github.com/athombv/com.greenwavesystems/issues/8
With the greenwave app enabled, the z-wave chip gets unavailable.
Disabling it, makes the chip available again.
This was already weeks ago and I ditch my Greenwaves from homey.
Didn't test version 1.0.3..... Because my homey is also offline just like @RamonBaas his homey.
https://github.com/athombv/com.greenwavesystems/commit/04b5332691bb4087b5d9188c9452559db5b25373#diff-6a1b6963e828b69fcc667e3c45df78bb
Don't understand much of it but I do see now sometimes null might be reported where before it always was report['Meter Value (Parsed)']. Also before command_get_parser was a function(power) and now it's a function(). Oh I wish I could understand javascript better I presume it's supposed to do that
As @kasteleman mentioned the command report parser function was changed for the Powernode-1 to avoid the driver from crashing but I already had this in local working version as well. Changing the function(power) to function() was also a commit made by me. Although it actually is a difference between my working local version (I always had the function(power) in there because @Webster created the Powernode-1 driver like that) I cant image that it's causing this instability issue and it does not seem to make a difference. Perhaps @Webster could explain why it was coded like that in the first place.
So the next thing I did was update all my Greenwave powernodes again and make sure the polling frequency is set not to often. I noticed the settings on one of my powernodes had been reverted to default (perhaps when overwriting the local version with the app store version). I hope this helps to get my zwave network stable again.
Hope a solution will come soon. Meanwhile I have had to disable the Greenwave App.
So i'd suggest every one with similar issues to raise your polling frequency to see if it's a proper workaround for the zwave network becoming inoperable due to the Greenwave devices.
tried to set tge polling interval to 300 seconds and now the driver is crashing
Stack trace:
TypeError: Cannot read property 'CONFIGURATION_SET' of undefined
at /node_modules/homey-zwavedriver/lib/ZwaveDriver.js:177:63
at Array.forEach (native)
at ZwaveDriver.settings (/node_modules/homey-zwavedriver/lib/ZwaveDriver.js:136:18)
at /homey-app/manager/drivers.js:1:3459
at ZwaveDriver.drivers.(anonymous function).ready (/homey-app/manager/drivers.js:1:2049)
at eventListeners.clientDriver (/homey-app/manager/drivers.js:1:2416)
at /homey-app/helpers/client.js:1:868
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:835)
at emitTwo (events.js:87:13)
So only try and edit the polling variables without touching the keep alive time (default is 2) and it should work.
Have set my nodes according to your suggestions (polling 300 +/- 10 per node) and a "keep alive" value of 2.
Let's see how they do today!
It worked the first few minutes, now I have flashing green LED's and the nodes can't be operated remotely. Also, my Fibaro relays can't be operated anymore.
Annoying..to say the least.
I will have to disable the Greenwave App again
Come on Athom....
https://github.com/athombv/homey/issues/861
Hope the update will cure this.
You should spread the polling of each devices to make sure not all the polling happens at once (so one device at 285, one at 290, one at 295, one at 300 etc.).
This has worked for me for quite some time and it also works for version 1.0.3. If you still experience issues you might not have updated all nodes (try changing them again to make sure for instance from 300 to 301).
@BasVanDenBosch this is an issue with Homey where polling of devices flood the zwave chip which becomes inoperable (and then also affecting other zwave devices). This workaround gives the chip some more air. The need to poll the device is something that is not ideal but Homey will have to deal with it and Athom is aware of the issue.
Will give it some time to built a mesh...
Thanks
Disabled the Greenwave App.
Now lets find out if the Green Led is gone!