Hello all.
First I have to tell everyone to assume that I know nothing about this, which isn’t far from the truth, so I’d appreciate any answers to be as comprehensible as possible.
I’m having trouble getting openHAB to detect events from my Z-Wave devices - Fibaro Smoke Sensor (FGSD-002) and Aeotec Door/Windows Sensor 7 (ZWA008).
I have a Raspberry Pi 4 with Raspbian (Buster) and the RaZberry Z-Wave controller and openHAB (version 2.5.1-2) installed through repositories. The Z-Way and Z-Wave bindings are both version 2.5.1.
Using Z-Wave.Me I successfully added my devices and the door sensor works as intended. The smoke alarm I have since found out doesn’t produce a “real” alarm using the test button, but I receive battery status and temperature.
In openHABs Paper UI I’ve gotten the devices to show up under Things. After creating a simple default.sitemap and default.items file they are visible in the Control tab. Both show battery levels (both 100%, which I assume but am not certain are correct) and switches. The smoke sensor also show the correct temperature.
That’s where my successes end. I’ve put the smoke alarm aside to shield my family from the loud beeps and have instead concentrated on the door sensor. Searching the forums and documentation I hope to have set all the devices’ channels to Number and Switch and such correctly. In the openHAB console I’ve messed a bit with the log command - setting org.openhab.binding.zwave to debug (or any other mode) and then log:tail doesn’t detect anything. I’ve loaded the openhab.log and events.log in the Z-Wave Log Viewer at cd-jackson.com but both comes up empty though the files aren’t. I’ve seen conversations about Z-Wave XML files in the userdata folder, but I can’t find that folder. The Z-Wave Configuration page at github shows images from HABmin which doesn’t look like my HABmin at all. I realize the document is six years old, but I can’t find anything that does what those images show, so I haven’t been able to configure associations which I read somewhere in the forums is necessary. In HABmin / Configuration / Things / it seems I should have an Association Group, which I haven’t, but I’ve got a Configuration tab, which only contains Node Id.
items:
Switch FGSD002_Bt_Smoke "Alarm Bottom Floor Smoke" <smoke> {channel="zway:zwayDevice:4aaceca9:3:sensorBinary-ZWayVDev_zway_3-0-113-1-2-A"}
Switch FGSD002_Bt_Heat "Alarm Bottom Floor Heat" <fire> {channel="zway:zwayDevice:4aaceca9:9:sensorBinary-ZWayVDev_zway_9-0-113-4-2-A"}
Number FGSD002_Bt_Battery "Alarm Bottom Floor Battery [%d %%]" <battery> {channel="zway:zwayDevice:4aaceca9:9:battery-ZWayVDev_zway_9-0-128"}
Number FGSD002_Bt_Temp "Alarm Bottom Floor Temperature [%.1f °C]" <temperature> {channel="zway:zwayDevice:4aaceca9:9:sensorTemperature-ZWayVDev_zway_9-0-49-1"}
Switch ZWA008_FDr_Sens "Front Door State" <door> {channel="zway:zwayDevice:4aaceca9:10:sensorBinary-ZWayVDev_zway_10-0-113-6-Door-A"}
Number ZWA008_FDr_Battery "Front Door Battery [%d %%]" <battery> {channel="zway:zwayDevice:4aaceca9:10:battery-ZWayVDev_zway_10-0-128"}
sitemap:
{
Frame label="Alarm"
{
Default item=FGSD002_Bt_Smoke label="Alarm Bottom Floor Smoke"
Default item=FGSD002_Bt_Heat label="Alarm Bottom Floor Heat"
Default item=FGSD002_Bt_Battery label="Alarm Bottom Floor Battery [%d %%]"
Default item=FGSD002_Bt_Temp label="Alarm Bottom Floor Temperature [%.1f °C]"
}
Frame label="Front Door"
{
Default item=ZWA008_FDr_Sens label="Front Door State"
Default item=ZWA008_FDr_Battery label="Front Door Battery [%d %%]"
}
}
Both of these are loaded without errors. If they are incorrect or lacking I don’t know.
I’m happy to provide additional information, but please remember I’m a complete newbie.