MQTT Payload as trigger

Hi there,
I am using a ESP32 OpenMQTTGateway to get the buttons of a 433MHz remote and I want to use them for trigger automations. The payload is:

{“model”:“Akhan-100F14”,“id”:123456,“data”:“0x4 (Mute)”,“protocol”:“Akhan 100F14 remote keyless entry”,“rssi”:-46,“duration”:278996}

If I uncheck payload at trigger, the automation works, but every button does the same, if I try to use payload, nothing works, tried many different samples.
I want to use the four buttons each for different things, so I need to get the “data” in the JSON for trigger. (Mute, Unmute, Lock, Unlock)

Somebody maybe got a hint, how to get this working?

MQTT Payload as trigger

1 Like

Oops,

did not see this, rtfm. :flushed:
Many many thanks, it is working now. :slightly_smiling_face:

1 Like