Read MQTT topic on ESPEasy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
sbenz
New user
Posts: 1
Joined: 08 Mar 2017, 22:38

Read MQTT topic on ESPEasy

#1 Post by sbenz » 08 Mar 2017, 22:45

I am looking to use an MQTT topic value as an input for a rule. Is there a way of doing this?

For example if I have a /thermostat/set topic with a value I want the ESPEasy to compare the current DHT temperature reading to make a decision to flip a relay.

Thank you!

StefanD
Normal user
Posts: 21
Joined: 28 Jan 2017, 20:07

Re: Read MQTT topic on ESPEasy

#2 Post by StefanD » 09 Mar 2017, 09:51

Hi,
you have to use MQTT import plugin and in the settings to subscribe to the topic /thermostat/set.
If is not already included in your espeasy version installation you will find it in the ESPEasy-Plugin-Playground.
After that, you have to write a rule base on the value you received from the topic.
I hope it helps you.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 25 guests