One thing detected by z-stick but Openhab does almost nothing with it

I know the README for the manual update script lists how to do it manually. I do not have the forum link handy right now.

1 Like

I have updated manually the zwave binding by 2.5.5.202005041107 and confirm that it works with the HomeSeer motion detector HS-MS100+.

Here is my test rule:

rule "Test Motion detector on"
when
	Item zwave_device_129fb235_node24_alarm_motion changed from OFF to ON
then
	logInfo('test', "It detects!")
end
rule "Test Motion detector off"
when
	Item zwave_device_129fb235_node24_alarm_motion changed from ON to OFF
then
	logInfo('test', "It sleeps!")
end
rule "test sleep"
when
	Item zwave_device_129fb235_node24_alarm_motion changed
then
	logInfo('Test Motion detector.rules', "Detects change!")
	zwave_device_129fb235_node22_switch_dimmer.sendCommand(50)
	
end

And the log:

openhab> list -s | grep -i zwave
248 │ Active   │  80 │ 2.5.5.202005041107     │ org.openhab.binding.zwave
openhab> log:tail
21:27:13.187 [INFO ] [smarthome.event.ItemStateChangedEvent] - zwave_serial_zstick_129fb235_serial_sof changed from 2183 to 2184
21:27:13.201 [INFO ] [smarthome.event.ItemStateChangedEvent] - zwave_serial_zstick_129fb235_serial_sof changed from 2184 to 2185
21:27:15.657 [INFO ] [smarthome.event.ItemStateChangedEvent] - zwave_serial_zstick_129fb235_serial_sof changed from 2185 to 2186
21:27:15.668 [INFO ] [smarthome.event.ItemStateChangedEvent] - zwave_device_129fb235_node24_alarm_motion changed from OFF to ON
21:27:15.668 [INFO ] [g.eclipse.smarthome.model.script.test] - It detects!
21:27:15.668 [INFO ] [del.script.Test Motion detector.rules] - Detects change!

Thanks for all. Learned a lot:)

Robin

1 Like