ESP8266 MQTT "interface" library

Hello everyone,

First of all, thanks for existing! this community and this application is helping me a lot on my home automation project. The reason I am doing it is not only convenience but also saving costs on energy (by warming up each room independently and on the right time).

So I decided to use the ESP8266 modules which are available but over time i’ve found myself repeating a lot of code, so decided to develop an “interface” library.

With this I can program each sensor just by instantiating an object and assigning each topic. I’ve also implemented for a relay. Will keep expanding the library and hope that this can be handy and save some typing to some of you.

Cheers and happy automation!

PS: of course, thoughts and points of improvement are welcome

Thanks for sharing! Have you heard of ESPHome? It is a great platform that does a lot of what your library does and goes even further. Check it out before you invent more wheels :slight_smile:

https://esphome.io

1 Like