Hi,
I am currently trying the Fibaro Hub component.
How do I catch a event like this one below: 2019-06-04 20:03:44 DEBUG (StateHandler) [homeassistant.components.fibaro] <- schlafzimmer_licht_69.sceneActivation = 26
I tried several listen_event combinations e.g.: self.listen_event(self.button_press, "schlafzimmer_licht_69.sceneActivation")
But it does not trigger.
import appdaemon.plugins.hass.hassapi as hass
class sceneID(hass.Hass):
def initialize(self):
self.listen_event(self.button_press)
def button_press(self, event_name, data, kwargs):
self.log(data)
fires an event on all my devices I still have included on my Aeotec Z-Stick with OZW.
On the switch I am looking after (Fibaro Dimmer 2 included on my HC2) it does nothing!
Hi,
I want to use the S2 Button on a FGD212 to toggle a HomeMatic Relais.
On OZW I caught the SceneID to toggle the Relais. Iâm looking at the HC2 because I am unhappy with OZWâs reliability. My Fibaro Dimmers, Single and Double Switches do not reliably update their status unless I poll them.
How is the FGD212 connected to Home Assistant? How is the Relais connected to Home Assistant?
Are you trying to capture an event which you saw in OZW within AppDaemon?
So you do have an entity in Home Assistant called âswitch.schlafzimmer_licht_69â or similar for the FGD 212?
Do you also have an entitiy for the HomeMatic Relay?
Correct, I have an entity called âlight.schlafzimmer_licht_69â for the fgd212. That entity controls the light directly connected to the Dimmer. I have set the fgd212 Parameter 20 = 0.
=> S1 controls the light bulb connected to the dimmer, S2 shall operate as scene controller only (which I want to capture).
The HomeMatic Relais has an entity as well.
No, nothing either.
Iâm afraid that âlisten_eventâ doesnât capture this type of event at all. Because it doesnât event trigger on this one if I subscribe to all events : self.listen_event(self.button_press)