Well, I messed up things very badly right after finishing my previous post about the RaZberry, cause I somehow managed to create a complete mess. Going from firmware 1.7.2 to 2.0.0, back to 1.7.2, 2.0.0 again, several re-installs of the Z-Way for RaZberry software, messing with modules, stopping in the middle of something because it was getting too late etc… Not good; it wasn’t stable anymore.
And I just didn’t have enough time to figure out what I’d done wrong… so last Saturday I decided to start all over again -flashed a fresh Raspbian image on the SD card and did a clean install of v2.0.0. After re-including all the Z-Wave devices I saw them all returning in the Z-Way Home Automation UI; so far so good. I copied my ‘BindHA’ module to the ../automation/modules directory, restarted the z-way-server and went to the Modules section in the Preferences.
And there it was (back again):
After selecting it and NNF (and I think restarting the z-way-server once more, can’t recall anymore) the NodeJS script on my PC was starting to get updates:
Sun Jan 18 2015 21:15:10 GMT+0100 On/Off 8.0 = false Sun Jan 18 2015 21:15:12 GMT+0100 On/Off 9.1 = true Sun Jan 18 2015 21:14:21 GMT+0100 On/Off 9.1 = false Sun Jan 18 2015 21:14:22 GMT+0100 Power: 8.0 = 0.5 Sun Jan 18 2015 21:14:57 GMT+0100 On/Off 9.1 = true Sun Jan 18 2015 21:14:58 GMT+0100 Power: 8.0 = 0.6 On/Off 9.1 = true Sun Jan 18 2015 21:14:59 GMT+0100 Power: 8.0 = 0.7 On/Off 9.0 = false Sun Jan 18 2015 21:14:59 GMT+0100 On/Off 9.0 = true Sun Jan 18 2015 21:15:28 GMT+0100 Motion, Open/Close 3.0 = true Sun Jan 18 2015 21:15:32 GMT+0100 Motion, Open/Close 3.0 = false Sun Jan 18 2015 21:15:33 GMT+0100 Motion, Open/Close 3.0 = true etc...
Back in business! 🙂 So what does a line like “Motion, Open/Close 3.0 = false” mean? That a binary sensor value of device devices.instances became false (0, zero). Likewise “Power: 8.0 = 0.6” means that the power usage for devices.instances became 0.6 W and “On/Off 9.1 = true” indicates that devices.instances switched to on.
That’s it, I can use this to feed my HA system with information from the RaZberry by turning this information into a MQTT topic & payload – done!
Some things still need to be done though; like support for newly added Z-Wave devices without the need to restart the module, some code cleanup etc., but I can start using Z-Wave devices now if I want to.