I´m running HA in a VM on my Synology and a HomematicCCU on a raspi. The new custom Homematic integration is working very well and everything should be fine. But there is one thing, i can´t get runnig anymore (did it before, but now it seems to be impossible):
I want to use the homematic.keypress event to trigger an automation. When i look at the event-listener results, the event-data is comming in correctly:
Ereignis 13 ausgelöst 19:53:
{
"event_type": "homematic.keypress",
"data": {
"interface_id": "RaspberryMatic-HmIP-RF",
"address": "00085BE9A3B1BA",
"type": "press_long",
"subtype": 2,
"device_id": "e0f97bd899ae24d7c3cc36511a05f61c"
},
"origin": "LOCAL",
"time_fired": "2022-04-25T17:53:05.258336+00:00",
"context": {
"id": "4d566eea0e1300be5d35bc87eb2e1645",
"parent_id": null,
"user_id": null
}
}
The trigger-part in my automation looks like this:
trigger:
- platform: event
event_type: homematic.keypress
event_data:
name: 00085BE9A3B1BA
param: press_long
channel: 2
I tried nearly everything as “name” in the trigger: the adress, the device_id, the interface_id, all possible names… nothing. The automation isn´t starting.
There is one thing, I recognized: in all the other topics, where the homematic.keypress-event is comming in correctly in HA, in the “data”:-section is a “name”-value and not “adress” like in mine. Is it possible, that there were changes in Rasperrymatic, that the data doesn´t fit anymore? Because I had that automation working for month, and suddenly, a few weeks ago, it stopped working, without changing anything. Now I did a complete new HA installation from the scratch, but still no chance to get it work. Hope someone can help me. Thanx in advance!