ESP easy ->MQTT -> Node Red (for beginners)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
5ko
Normal user
Posts: 33
Joined: 03 Jan 2016, 17:58
Contact:

ESP easy ->MQTT -> Node Red (for beginners)

#1 Post by 5ko » 15 Jun 2016, 02:22

Hi to all,
ESP easy I loved from the beginning,offers many unimagined solutions,customizable for everyone.
Many experiments I have done many times was pleased with the wide possibilities of this project.
However, back and forth everywhere appears as almost the best solution MQTT ...Here I'm a bit stuck ...
MQTT is accompanied with the Node Red...Final with the ultimate solution named 'heartbeat' function and the " last-will-testament "...
However, I would like to people of good will who have the time, on this place propose solutions for beginners how to link ESP easy with these good solutions...Links, images, settings, everything is welcome which can improve ESP easy to a new higher level.
Let it be a basic management of light, thermostat or garage door ... Later everyone can from it to adjust its own ideas ...
Regards
Petko

JR01
Normal user
Posts: 260
Joined: 14 Feb 2016, 21:04
Location: South Africa

Re: ESP easy ->MQTT -> Node Red (for beginners)

#2 Post by JR01 » 15 Jun 2016, 07:24

Hello 5Ko,

EspEasy, MQTT and NodeRed works very well together. I run Mosquitto, NideRed and MySQL on a RPi IIB+, with EspEasy sensors publishing info to Mosquitto via mqtt, where NodeRed consumes this sensor data, and sending this info to ThingSpeak, MySQL, a frontend in NodeRed for house users, and back to EspEasy via mqtt to for instance swith a geaser on and off.

I am busy with a blog on this, link below:

http://iotplay.blogspot.co.za/2016/05/t ... s.html?m=1
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

5ko
Normal user
Posts: 33
Joined: 03 Jan 2016, 17:58
Contact:

Re: ESP easy ->MQTT -> Node Red (for beginners)

#3 Post by 5ko » 15 Jun 2016, 09:50

Hi JR01,
Excellent blog, very accurate description of what you've been through, and exactly what I'm going through what I believe everyone else. (Who are just entering the world of M2M protocol) ...
So after a few months of reading I came to the same conclusion and see that the image is formed as it how should look like a winning configuration. Of course, this is also the opinion of those who have written answers on your blog and asked you to continue with your work on the blog...
Please continue ...
Thank you.
I hope that others add their opinion and/or its solution/setup ...

Regards
Petko

User avatar
jsilver
Normal user
Posts: 23
Joined: 24 May 2016, 14:45
Location: Lewes, UK
Contact:

Re: ESP easy ->MQTT -> Node Red (for beginners)

#4 Post by jsilver » 16 Jun 2016, 09:40

Hi Petko,

I've been developing systems in much the same way as Jéan, and have Node-Red running on a Raspberry Pi 3, Mosquitto on another, and MongoDB on yet another. My sensor data is largely generated by ESPEasy sensors, and I'm starting to experiment with real-world ways of implementing actuators via ESPEasy too.

I have best-practice guides for installing all this stuff - not published yet, but if you need anything just ask... It's all borne of my mistakes and found solutions, and could probably save someone else lots of time too.

There's just one significant ESP8266 bit that's not ESPEasy based... My RF-MQTT bridge, described here https://github.com/JonSilver/ESP8266-RFRXTX-MQTT.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 28 guests