Hello!
I’ve recently got my hands on a FIBARO Single Switch 2 (FGS-213) and a KeyFob (FGKF-601)
I’ve been able to set up some switches/toggles so that from the Front-end I can click and turn the switches on and off which is pretty cool:
The Office Light Switch toggle works fine - when its on, its on, and when its off its off. Even when you manually flip the light switch, the front-end will show that its on or off, which is nice and simple
However, what I’m having issues with is integrating the KeyFob to also do the same function. I’ve set up an automation as follows:
- alias: "Office Light On"
hide_entity: False
initial_state: off
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.fibaro_keyfob
scene_id: 3
scene_data: 7680
action:
service: switch.turn_on
entity_id: switch.switch
- alias: "Office Light Off"
hide_entity: False
initial_state: on
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.fibaro_keyfob
scene_id: 3
scene_data: 7740
action:
service: switch.turn_off
entity_id: switch.switch
The Entity_ID is “switch.switch” as I haven’t renamed it, but it’s the switch that is working in the image above. On the KeyFob, scene_id: 3 refers to the “X” and the scene_data 7680 and 7740 refer to press and hold respectively, but either of the actions don’t seem to trigger the switch to turn on or off - has anyone else been able to do something similar and/or could lend some advice?
Thanks in advance!