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

Mqtt automation editor wont work with payload - please help

$
0
0

@Jeroen_Vermeulen wrote:

Hello,

i have a question about my mqtt automation.

when i leave out the payload in the automater the automation works
but if i put in the payload (and i really need to do this because i work with the sonoff/tasmoto wifi hub) then the action doesnt work

like you can see below hassio is recieving the messages when i go to developer tools - mqtt- listen to a topic

Message 0 received on tele/hub/RESULT at 2:14 PM:
{
“Time”: “2020-03-06T14:14:05”,
“RfReceived”: {
“Sync”: 7560,
“Low”: 270,
“High”: 730,
“Data”: “92D3B8”,
“RfKey”: “None”
}
}

below is my automation.yaml :

id: ‘1583497473605’
alias: motion gang voor
description: ‘’
trigger:

  • payload: “92D3B8”
    platform: mqtt
    topic: tele/hub/RESULT
    condition: []
    action:
  • device_id: 929eecf9a0df45f991bb3bd57bda9362
    domain: light
    entity_id: light.gang_voor
    type: turn_on

so without the payload filled in it works but thats no option.
if i fill in the payload with or without the “” it doesnt work.

Any one know an eassy way to fix this… ?

Posts: 8

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



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