MQTT Control of ESP8266 GPIO via ESPEasy: A DIY Approach Without Home Automation Assistants
Morning everyone
I am trying to control a set of relays with the GPIO of an esp8266. I have installed espeasy, and I can control the GPIO with an HTTP command. I would like to be able to do this with MQTT. My broker is a Raspberry Pi, and the test signals are passing well with the protocol. Now, I would like to achieve this with espeasy without using Jeedom or other home automation assistants.
Has anyone tried this before????Because I canβt find any tuto similar to my project.
Has anyone tried this before????Because I canβt find any tuto similar to my project.
Solution
Yes, I agree with @boualleg sabrina. If RPi is running MQTT broker s/w and acting as an IoT Server. Then connect your home devices as a client and control them. This way you can avoid all third-party services. The only limitation is you won't have access from outside of your home network. There is a way out but I'd not recommend RPi to make it public access for security reasons.