Issue of the topic: FIBARO RGBW controller and wall switch. Rule does work if Basic UI sitch is used but not if the wall switch is pressed. the event triggered on the logs is the same
Item ‘EsZi_Lampe_Dimmer’ received command ON
but if it is triggered by the wall switch it does not execute the rule. Also the virtual “basic ui switch” is not changed to on. If the wall switch is pressed. It was working 3 years with OH 1 without any issue. And I do not have any idea anymore. Tried it also with if item changed from OFF to ON or from 0 to 100. Same results
Anybody and idea suggestion?
rule "Esszimmerlampe einschalten"
when
Item 'EsZi_Lampe_Dimmer' received command ON
then
sendCommand(EsZi_Lampe_Gruen, 100)
sendCommand(EsZi_Lampe_Weiss, 25)
sendCommand(EsZi_Lampe_Blau, 25)
end
rule "Esszimmerlampe ausschalten"
when
Item 'EsZi_Lampe_Dimmer' received command OFF
then
sendCommand(EsZi_Lampe_Rot, OFF)
sendCommand(EsZi_Lampe_Blau, OFF)
sendCommand(EsZi_Lampe_Gruen, OFF)
sendCommand(EsZi_Lampe_Weiss, OFF)
end
Services configuration related to the issue
If logs where generated please post these here using code fences:
2018-11-07 21:02:23.930 [vent.ItemStateChangedEvent] - network_servicedevice_192_168_176_4_80_lastseen changed from 2018-11-07T21:01:23.924+0100 to 2018-11-07T21:02:23.927+0100
2018-11-07 21:02:58.411 [ome.event.ItemCommandEvent] - Item 'EsZi_Lampe_Dimmer' received command ON
2018-11-07 21:02:58.415 [vent.ItemStateChangedEvent] - EsZi_Lampe_Dimmer changed from 0 to 100
2018-11-07 21:02:58.416 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_ack changed from 762 to 763
2018-11-07 21:02:58.422 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_sof changed from 2073 to 2074
2018-11-07 21:02:58.439 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_sof changed from 2074 to 2075
2018-11-07 21:03:08.701 [ome.event.ItemCommandEvent] - Item 'EsZi_Lampe_Dimmer' received command OFF
2018-11-07 21:03:08.703 [vent.ItemStateChangedEvent] - EsZi_Lampe_Dimmer changed from 100 to 0
2018-11-07 21:03:08.704 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_ack changed from 763 to 764
2018-11-07 21:03:08.711 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_sof changed from 2075 to 2076
2018-11-07 21:03:08.728 [vent.ItemStateChangedEvent] - zwave_serial_zstick_daa8ab19_serial_sof changed from 2076 to 2077
@OMR I can only guess, but this looks like the new experimental Rules! The OP was using standard rules Files! @wizzo try removing the 'singles quotes around the item name in the when part of the rules. Additionally you can add logInfo statements in the rule in order to get a feedback if the rule is started or not.
Try it without the simple quotes for the “Item” in your rules like this
rule "Esszimmerlampe einschalten"
when
Item EsZi_Lampe_Dimmer received command ON
then
sendCommand(EsZi_Lampe_Gruen, 100)
sendCommand(EsZi_Lampe_Weiss, 25)
sendCommand(EsZi_Lampe_Blau, 25)
end
rule "Esszimmerlampe ausschalten"
when
Item EsZi_Lampe_Dimmer received command OFF
then
sendCommand(EsZi_Lampe_Rot, OFF)
sendCommand(EsZi_Lampe_Blau, OFF)
sendCommand(EsZi_Lampe_Gruen, OFF)
sendCommand(EsZi_Lampe_Weiss, OFF)
end
your icons should have lowercase file names, so for consistency you’d want to use lowercase in the Sitemap as well. I don’t know if it could cause any actual problems though.
A rule triggered by command to Item never would have been triggered by a wall switch event, even in OH1. Maybe the rule wasn’t necessary in that case
I’m fairly sure that should work with a Dimmer Item as you expect. Try refreshing the webpage, to make sure it isn’t just a refresh issue.
@fibu-freak I forgot to mention that I laso tried it without the quotes. Same thing.
@rossko57 If I use the wall switch it also triggers the “comand ON” at kleast thats visible in the logs so my assumpütion is that it would also execute the rule, anmd it was definitely workign in OH 1 as I was using it 3 years. On Rasperry and on windows install. as the rulke is turnming on additional RGB LEDs.
I will give the “dimmer” a try and see if that changes anything.
@OMR Do I need to use HABmin to get that sorted…I know I did a lot with Habmin in OH1 but I thought the items and the rules is streight forward
I will give the “dimmer” a try and see if that changes anything. Keep you updated.
It won’t do, if the controller doesn’t get the info from association group 5.
For test, I would do a:
tail -F /var/log/openhab2/events.log
just to see if the controller is registering the event from the dimmer item.
I recently had to set the association group 1 to Controller in all my Fibaro Dimmer2s in order to register local S1/S2 operations. I cannot test with the actual RGBW controller for you, since I don’t have any switches connected to it.
Thx a lot, that does triggger a lot mor reportings into the console (log) Is it possible to define a “state” like if somethign is chaning from 0 to >0 it is interpreted as on and if the value is changing from >0 to =0 it is hjandled as off?
Known bug in paperUI. Just try again until it sticks.
If you don’t need reports from the 1-4 inputs, you are fine.
If you do, search the forum for detailed instructions.
I believe the “wall switch” is the IN1 so it should report to z-wave controller as well I assume
my HABmin does not save anythign either do I need to change something?