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:
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.
Jump to solution
6 Replies
wafa_athmani
wafa_athmani•9mo ago
Morning camila ,as much i understand maybe using firebase for hosting the data and with this u can use mqtt
boualleg sabrina
boualleg sabrina•9mo ago
I think you can do it without home automation assistants
Solution
Umesh Lokhande
Umesh Lokhande•9mo ago
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.
Camila_99$$
Camila_99$$•9mo ago
But what do you think about Tosmota ?
Umesh Lokhande
Umesh Lokhande•9mo ago
Maybe it's good. I haven't tried any pre-built home assistant
boualleg sabrina
boualleg sabrina•9mo ago
I don't have a clear idea about it but I'll look for more informations.
Want results from more Discord servers?
Add your server