Rule to react on a "string" MQTT Payload

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
goldriver
Normal user
Posts: 15
Joined: 14 Jan 2018, 22:55

Rule to react on a "string" MQTT Payload

#1 Post by goldriver » 26 Feb 2018, 21:29

I am looking for a way to activate a relay on my espeasy when a specific MQTT Paylod equals "On". Unfortunatly, the device publishing to the Payload can't write anything else than a string.

I was hoping someone would have a trick for me.

mattlward
Normal user
Posts: 70
Joined: 24 Jan 2018, 15:20

Re: Rule to react on a "string" MQTT Payload

#2 Post by mattlward » 27 Feb 2018, 20:07

I am working on something similar, looks like the dummy device to convert from a numeric MQTT input to a text output for a display. I would assume that this might work for you as well. If this is not answered when I get it working I will post more info. I really just wish the you could import a string from MQTT.

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests