I have scene master (ZRC-90) and Siran Alarm (Neo)
I am trying to turn on the alarm by pressing one of the scene button [3] but fail to do it.
My items files look like this:
Switch Test1 "test_1" {channel="zwave:device:52803b4d:node4:switch_binary"}
Number Test3 "test_3 [%s]" {channel="zwave:device:52803b4d:node3:scene_number"}
and my rules file look like this:
rule "test_simple"
when
Item Test3 received update 3
then
Test1.sendcommand(ON)
end
I can get the scene number on my sitemap and also turn on and off the alarm but can’t connect them through rule
here is the events.log show the events while I press the scene number
2019-09-06 22:33:22.345 [vent.ItemStateChangedEvent] - Test3 changed from 7.0 to 2.0
2019-09-06 22:33:23.425 [vent.ItemStateChangedEvent] - ZWaveNode003ZRC90SceneMaster8ButtonRemote_SceneNumber changed from 2.0 to 3.0
2019-09-06 22:33:23.433 [vent.ItemStateChangedEvent] - Test3 changed from 2.0 to 3.0
2019-09-06 22:37:04.355 [vent.ItemStateChangedEvent] - ZWaveNode003ZRC90SceneMaster8ButtonRemote_SceneNumber changed from 3.0 to 4.0
2019-09-06 22:37:04.402 [vent.ItemStateChangedEvent] - Test3 changed from 3.0 to 4.0
rule "test_simple"
when
Item Test3 changed to 3.0
then
logInfo("test", "Hurrah my rule runs")
Test1.sendcommand(ON)
end
rule "test_diagnostic update"
when
Item Test3 received update
then
logInfo("diagu", "updated Item")
end
rule "test_diagnostic change"
when
Item Test3 changed
then
logInfo("diagc", "changed Item")
end
Make sure each rule name is unique.
Make sure you can see a message in openhab.log that your rules file has loaded.