Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By grhhm
#78509
rudy wrote:Have you looked at https://github.com/philbowles/esparto and https://github.com/marvinroger/homie-esp8266?


Not heard about these. Thanks for the pointers. I checked them out.

Esparto seems to use "own language" to make the ESP functional. This looks kind of easyEsp.

Homie looks pretty versatile framework which implements all I wanted. I managed to install the lib, compile sample project, upload it and check it. Now I am carefully checking all the implemented features for stability and performance.

Thank you for the hint again.
User avatar
By grhhm
#78560 Hi rudy,

This looks like your instructables :)
It looks you managed well with Homie. I have troubles with everything related to MQTT:
The messages from Homie to Broker go well. However from broker to Homie nothing arrives. This makes impossible control and OTA via MQTT.

I posted question and debug info in github issues: https://github.com/marvinroger/homie-es ... -428110033
No response yet.

Maybe could you share your Homie sketch which is able to OTA and control GPIO via MQTT?

Thank you.
User avatar
By rudy
#78563 That instructable isn't from me. I have never used Homie. I looked at it and it looks promising. It has lots of stars. I have used async-mqtt-client https://github.com/marvinroger/async-mqtt-client produced by the same individual and it seemed to work well. Homie is a lot more, a framework.

It seemed to have the things you asked for so I suggested it.
User avatar
By grhhm
#78568 Thank you rudy.

A part of my problem solved: I was defining in configuration an own base name. When I reset the configuration and leave the base name empty it becomes 'homie' and OTA works. Now I just need to understand how to make homie accepting messages for variable setting (e.g. light on/off).