How to trigger from 433Mhz Key Fob via MQTT

I have a 433 Mhz key fob, HA sees it via OpenMQTT - I only get an rssi entity, but I can see the key presses in MQTT Info (copied below). I have tried to trigger an automation from MQTT Device Trigger, but I am out of my depth and don’t know what to enter, I can’t make sense of the docs…

Would appreciate some help! Thanks

  • Topic: home/OpenMQTTGateway_lilygo_rtl_433_ESP/RTL_433toMQTT/Akhan-100F14/1046007
  • QoS: 0
  • Payload:

model: Akhan-100F14 id: 1046007 data: 0x1 (Lock) protocol: Akhan 100F14 remote keyless entry rssi: -78 duration: 169997

Are you sure you receive

model: Akhan-100F14 id: 1046007 data: 0x1 (Lock) protocol: Akhan 100F14 remote keyless entry rssi: -78 duration: 169997

and not a json string ?

If I look at my openmqttgateways, they all produce json

afbeelding

Thanks no not sure. I just dont know where to begin to as to how to make things happen on a key press and I am not a power user.

I have now got an automation triggered using MQTT Trigger by setting the MQTT Topic to match, but dont know how to get different things from different buttons, my keyfob has four buttons