Raspberry and two ESP8266

#1

Hello every one, in my project i have to collect data from two motion sensors that are connected to 2 ESP8266, in my advanced version of my project I will add a raspberry pi to identify the nature of movement, and turn on the light only if it’s a human’s motion, so I have to create a dashboard for monitoring, to connect only rasp to cayenne i choose to make it as a MQTT broker, and 2 ESP8266 as mqtt clients , the question is how to read data from sensors on cayenne dashboards that are not directly connected two my raspberry rather they will send data through MQTT protocol.

#2

are you familiar with node-red?

#3

My post here goes over how to make an mqtt gateway with node-red.

1 Like