I just got the device and included it in openHAB 2.4 M7. Using “Simple Mode”, the system created the things and items, and I see temperature and battery status in PaperUI. However, there seems to be no reaction for motions: The sensor does its nice green blinking when it detects a motion in front of the sensor, but the display in the PaperUI does not change.
I am also a bit helpless which type of item has to be assigned to which channel to get a proper reading. I am also confused by the sheer number of channels that seem to be related to motion (binary_sensor, motion_alarm, general_alarm…) and I am not shure which would give me the information. One of them should do something like switching from OFF to ON for like 30 seconds once there is a motion in front of the sensor, right?
So could please someone who got the device working post some code for the item definiton, maybe to see a switch or variable changing in BasicUI or so?
Note, I simply added the thing in PaperUI. In case I have to work on the thing definition manually (as it seemed to be necessary in the past, as I learned in the forum), please let me know.
I checked the log file and filtered for “zwave”. Some of the lines I found:
2018-12-10 06:59:26.412 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_sensor_binary-zwave:device:512:node2:sensor_binary' has been added.
2018-12-10 06:59:26.422 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_sensor_temperature-zwave:device:512:node2:sensor_temperature' has been added.
2018-12-10 06:59:26.434 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_sensor_seismicintensity-zwave:device:512:node2:sensor_seismicintensity' has been added.
2018-12-10 06:59:26.447 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_sensor_luminance-zwave:device:512:node2:sensor_luminance' has been added.
2018-12-10 06:59:26.453 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_alarm_motion-zwave:device:512:node2:alarm_motion' has been added.
2018-12-10 06:59:26.457 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_alarm_tamper-zwave:device:512:node2:alarm_tamper' has been added.
2018-12-10 06:59:26.462 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_battery_level-zwave:device:512:node2:battery-level' has been added.
2018-12-10 06:59:26.466 [.ItemChannelLinkAddedEvent] - Link 'zwave_device_512_node2_alarm_general-zwave:device:512:node2:alarm_general' has been added.
2018-12-10 08:59:49.053 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:512:node2' has been updated.
2018-12-10 08:59:49.092 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_binary changed from NULL to OFF
2018-12-10 08:59:49.145 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_temperature changed from NULL to 21 °C
2018-12-10 08:59:49.185 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_seismicintensity changed from NULL to 0
2018-12-10 08:59:49.232 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_luminance changed from NULL to 1
2018-12-10 08:59:49.281 [vent.ItemStateChangedEvent] - zwave_device_512_node2_battery_level changed from NULL to 100
2018-12-10 08:59:49.326 [vent.ItemStateChangedEvent] - zwave_device_512_node2_alarm_general changed from NULL to OFF
2018-12-10 11:00:20.746 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_temperature changed from 21 °C to 20.5 °C
2018-12-10 11:00:20.945 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_luminance changed from 1 to 15
2018-12-10 19:02:06.861 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:512:node2' has been updated.
2018-12-10 19:02:06.986 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_temperature changed from 20.6 °C to 20.7 °C
2018-12-10 19:02:07.068 [vent.ItemStateChangedEvent] - zwave_device_512_node2_sensor_luminance changed from 8 to 15
2018-12-10 21:02:34.002 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:512:node2' has been updated.
I find only temperature and luminance entries. Note, there were people moving in front of the sensor, and the sensor also signalled motion detection by its green blinking LED everytime someone passed by…
But there seems to be no transmission of the motion alarm.
I found something in the settings of the device. I found some “Association Groups”. Group 1, called “Lifeline”, was empty. There is a dropdown menu, and I found “Controller” and set this value.
I also set the other Assiciation Groups “Motion” - which was also empty - to “Controller”, but there was no change in behaviour…
I included with paper ui 2.5.0 build 20190123, no lifetime was set. Try to set in configuration (while wake up device) didn’t fit. Tried 5 times. Looks like bug in openhab 2.4.0 or in Zwave binding 2.5.0
Or maybe because of firmware 3.3 of motion sensor?
I ll install habmin then and try that way.
Sensor does support secure mode, but in configuration it is shown as non secure (secure no is the database entry in Zwave database)
If you included this device securely and it was successful, it should show a green check mark in HABmin properties at “Security”.
There is a bug in HABmin where the association group is empty even if it is set correctly.
As you did not state what your actual problem is; what type of issue are you having? If you have an issue, what does your openhab.log tell you? Did you set the zwave binding to DEBUG to see in detail what is going on?
It’s shown green in habmin and PaperUI from first moment. But showing Secure no. I m not able to proof if yes or no is correct. In PaperUI and habmin showing Secure No could be from Database or state of device. I don’t know, which value is shows there. And in both I am not able to edit field secure.
Problem is: I don’t get any value of device. Alle Channels are null. No Alarm, no temperature, nothing. Device green, channels null. In Eventlog I’m not able to find any entry with this node, no ZWAVE errors in openhab.log.
And Controller says it’s a direct Neighbour, Field-Check at device shows Green: Good Connection
If you did include the device securely, you should see a green checkmark at “Using security”. Note that you don’t HAVE to include this device securely! It is just an option.
Third, set your lifeline association group to your controller:
then hit save.
After that wake the device up (you need to push the button inside the device housing), wait a minute, wake it up again. You need to do this until the pending mark disappears.
Now don’t touch anything for a while. The FGMS is a battery operated device and sleeps most of the time. It will send its values only occasionally (this can be changed in the device configuration settings, but will probably reduce battery life). One exception: motion should be triggered immediately if you have linked the correct channel to your item.
Note that my FGMS is an older version so it does not exactly match your device.