Hi guys
I’m trying to use the event of S1 being pressed to activate a certain set of scenes to start. I don’t seem to get it to work because in automations I cannot extract the event of S1 being pressed. Do I first need to activate scenes? In automations I found something about parameter 28 having to be on but that doesn’t seem to change anything either.
I have fibaro FGD212.
It’s used to work fine in openhab but changing to home assistant seem to be an issue.
Also I have no comprehensive log system.
Any help would be appreciated. I cannot see anywhere where it actually says that S1 is pressed in the log file as a matter of fact I even have trouble finding the log file.
Please note that I’m very new to home assistant of though I was quite confident in using openhab2
Yes. You have to enable scenes using parameter 28. This gets the modules sending scene IDs. Then you need to capture the scene ID as a trigger in an automation. I use zwave js so for me this is Trigger on event type “zwave_js_value_notification”. The event data should be node_id: and value_raw:
Here is the yaml for my trigger. This is to trigger on a dimmer 2 sending scene id 22 which is S2 being held.
Hey Simon,
thank you very much for your reply.
I got it working as far as the turning on process is concerned. Now I have to make sure that it only triggers when the light is actually turned from off to on. So I reckon it’s something with conditions when only the lights off off and not on. Where would I find that?
Firstly, have you looked at the trace for the automation? I find it quite useful to see what’s going on.
I replicated your automation as best I could and noted that the state for the second condition was “on” rather than “ON”. I was using an input boolean rather than a binary sensor so yours maybe different but this is case sensitive. When I changed from “ON” to “on” the automation worked and set the light to 70%.
Just curious but is device id 4 light.bedezimmer? If so you might get some timing timing issues as S1 controls the light directly.
BTW, the trigger id is not needed. I use as as I have a number of triggers for my automation and do different things depending on which trigger was used. In your case its not needed.