Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106163

MQTT Automation not being triggered

$
0
0

I have an MQTT automation defined as below.

alias: test sensor triggering
description: ''
trigger:
  - platform: mqtt
    topic: tele/rf-bridge/RESULT
    payload: 0A720A
  - platform: mqtt
    topic: tele/rf-bridge/RESULT
    payload: 0A720E
condition: []
action:
  - service: media_player.play_media
    target:
      entity_id: media_player.study_speaker_3
    data:
      media_content_type: audio/mp3
      media_content_id: http://www.mydomain.com/sound1.mp3
mode: single

…but it is not being triggered when the MQTT messages arrive. Here’s an example of an MQTT message which I can see when I monitor the tele/rf-bridge/RESULT topic on the HA developer console:

Message 7 received on tele/rf-bridge/RESULT at 16:38:
{
    "Time": "2021-10-16T16:38:21",
    "RfReceived": {
        "Sync": 14090,
        "Low": 490,
        "High": 1380,
        "Data": "0A720E",
        "RfKey": "None"
    }
}

Any idea why the automation isn’t getting triggered?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>