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.
Solution:Jump to 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.
6 Replies
Morning camila ,as much i understand maybe using firebase for hosting the data and with this u can use mqtt
I think you can do it without home automation assistants
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.
But what do you think about Tosmota ?
Maybe it's good. I haven't tried any pre-built home assistant
I don't have a clear idea about it but I'll look for more informations.