I have installed the two FGR-222 in my shutters and and try to control it Through OH.
It works find when through PAPER-UI control (up, down, precent all fine) but when I try to put it on the rules I can’t get it works. I can see the precent change on the PAPER-UI control but the FGR-222 not get it.
rule "Roller_on"
when
Item Test3 changed to 1.0
then
{
Roller1.sendCommand(UP)
Roller2.sendCommand(UP)
}
end
rule "Roller_precent"
when
Item Test3 changed to 5.0
then
{
Roller1.sendCommand(50)
Roller2.sendCommand(50)
}
end
rule "Roller_off"
when
Item Test3 changed to 2.0
then
{
Roller1.sendCommand(DOWN)
Roller2.sendCommand(DOWN)
}
end
2019-09-13 17:25:53.775 [vent.ItemStateChangedEvent] - Test3 changed from 2.0 to 5.0
2019-09-13 17:25:53.799 [ome.event.ItemCommandEvent] - Item 'Roller1' received command 50
2019-09-13 17:25:53.808 [ome.event.ItemCommandEvent] - Item 'Roller2' received command 50
2019-09-13 17:25:53.814 [nt.ItemStatePredictedEvent] - Roller1 predicted to become 50
2019-09-13 17:25:53.824 [nt.ItemStatePredictedEvent] - Roller2 predicted to become 50
2019-09-13 17:25:53.832 [vent.ItemStateChangedEvent] - Roller1 changed from 100 to 50
2019-09-13 17:25:53.838 [vent.ItemStateChangedEvent] - Roller2 changed from 100 to 50
2019-09-13 17:26:00.548 [vent.ItemStateChangedEvent] - ZWaveNode003ZRC90SceneMaster8ButtonRemote_SceneNumber changed from 5.0 to 2.0
2019-09-13 17:26:00.556 [vent.ItemStateChangedEvent] - Test3 changed from 5.0 to 2.0
2019-09-13 17:26:00.575 [ome.event.ItemCommandEvent] - Item 'Roller1' received command DOWN
2019-09-13 17:26:00.582 [ome.event.ItemCommandEvent] - Item 'Roller2' received command DOWN
2019-09-13 17:26:00.588 [nt.ItemStatePredictedEvent] - Roller1 predicted to become DOWN
2019-09-13 17:26:00.603 [nt.ItemStatePredictedEvent] - Roller2 predicted to become DOWN
2019-09-13 17:26:00.613 [vent.ItemStateChangedEvent] - Roller1 changed from 50 to 100
2019-09-13 17:26:00.617 [vent.ItemStateChangedEvent] - Roller2 changed from 50 to 100
That log shows the commands being sent & the status returned from the device. Are you sure the device is not defective? It its zwave module acknowledges but does not activate the physical motor, something is wrong.
The device is ok. even it works from openhab control panel.
When I turn on the roller its go up. when I put 50% it goes 50% open.
All works well, just not through the rules…