DHT11 and Node-red with mqtt

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
smartie
New user
Posts: 9
Joined: 10 Feb 2017, 23:09

DHT11 and Node-red with mqtt

#1 Post by smartie » 10 Feb 2017, 23:19

Hi ALL

this is my first post so sorry if its in the wrong place

i am new to this and spent 2 full days installing Jessie/mqtt/node-red which is working

I am now trying Espeasy and have flashed R147 and it works :D

i have connected a DHT11 to my esp8266mod on pin D4 and set up Espeasy and can read temp and humidity fine

but i have spent a day trying to connect node-red to read the temp or humidity with mqtt

please has anybody got any surgestion how to help

regards

nigel

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

Re: DHT11 and Node-red with mqtt

#2 Post by StefanD » 15 Feb 2017, 12:50

Hi Nigel,
it is relatively simple to do this. Just select domoticz mqtt protocol in espeasy and create a dht device with an idx...
In nodered create a flow with mqtt input with topic domoticz/in connected to a debug output in order to check the data flows to nodered.
Check attached picture.
I hope it helps. ;)
Attachments
dht_nodered.jpg
dht_nodered.jpg (41.94 KiB) Viewed 3367 times

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests