homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Changing Config After Setup #210

Closed boilermanc closed 7 years ago

boilermanc commented 7 years ago

Hey Marvin, i think i am just missing it in your documentation, but how do you update the config once you have it setup? i have the wifi working and it creates an ip on my network - that was cool. but now i need to add the mqtt information.

thanks!

keesma commented 7 years ago

You can send an MQTT $reset message with true to the device. I can see the device goes back to AP mode and can connect it (Homie-xxxx). I prefer to use a copy of the webapp to configure it that runs locally. Note am I am running v1.5 of Homie.

marvinroger commented 7 years ago

@boilermanc with the v2 you can update the configuration over MQTT : https://homie-esp8266.readme.io/docs/ota-configuration-updates#section-configuration-updates 😉

marvinroger commented 7 years ago

Feel free to reopen if needed.