Triggered by the event ‘rfxtrx_event’ at 6 maart 2023 om 16:39:05
Stopped because only a single execution is allowed at 6 maart 2023 om 16:39:05 (runtime: 0.00 seconds)
Are you sure you are looking at the correct trace?
There should be two traces almost at the same time, one should have this message the other, the one before it is the one you should look at
Ahhh now I see what you mean with the two traces
Never realized there was the other one.
I will investigate further but cannot do anymore today.
We have to leave till late
Thanks sofar!!!
This might a bit hacky. But works with my philips hue remote. Had to make it 1 second due to both Zigbee and the remote delay
I had the same issue in a KNX installation and could only work with a logic module.
Its very basic in that the first click sets a helper to 1 and if nothing is pressed the delay will set the helper to 0. When you do press again the automation is restarted and first checks if the helper is set to on, when its on it will do the action and reset the helper to 0
The trace also shows what I expect.
I discovered I also had to decouple the Button from the light switch socket and that need so switch the wallplug socker ON and OFF by the automation
I need to do some more testing and optimizing but I think I am getting close
@123
I think it uses pretty much what you suggested.
I tried something from remote (via the app when I was at work) but at that time I had no acces to the forum
I have replaced the delay by switching on the light in friendly mode So that this is the default if not double clicked.
I think I only missed your
max_exceeded: silent
I added that but what does this line of code do?
But now I need to switch off the lights also from an automation niw HA
And that gives an other problem, a conflict if the double click automation is still running while I press the off button.
I triend something like tis in my light switch off automation: