when I press the physical button, the push is displayed in the UI of Homematic, but the automation isn’t triggered.
when I trigger the button via the UI of Homematic, the automation starts.
I do not understand why the light is only turned on when I simulate the keystrokes in the UI,
but not when I actually press the physical button.
The Automation must be correct, because it is running by triggering the Button in the UI of Homematic:
Did you observe the events in Home Assistant when setting the log-level to DEBUG? I would assume that using channel 4 is the problem. If I’m not mistaken the device has two physical buttons (pressing the upper half and the lower half). Those would be channels 1 and 2. Internally the device may have additional channels (3 and 4), but those are not usable outside of the CCU I think.
It may also be that even channel 2 does not work. There’s no line in actors.py that gives 2 channels to the device, and the default is just a single channel. Here the log output of the events HASS receives would be helpful to fix this.
It’s curious that when I press the physical button, nothing happens in the Home Assistant log. Only in the Homematic UI the operation is displayed. But if I click on the virtual button in Homematic, the following log entry will be registered and the automation will be executed:
If I trigger it manually the switch toggles. I’ve also tried the device name “HM-RC-4-3 PEQ0372264” instead of “Handsender”. Turned off secure communication as well for testing.
Please use proper formatting for your automation. It’s explained in the blue box on the top of every site you visit here. Without seeing the indentation it’s hard to judge if that might be a problem.
At first sight Handsender for the name probably is correct. Try removing the quotation-marks around channel 2.
Yes. Please open an issue for this at the Home Assistant repository with a precise description on how you created the automation, and what was required to fix it.
Today i found this old post and have the same issue - no events are fired from the buttons of the HM-PB-4DIS-WM. From the GUI the events were triggered correctly.
I found an old solution to create a dummy automation in the CCU-GUI.