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 307 forks source link

Reset configuration not working #666

Open Ubus99 opened 4 years ago

Ubus99 commented 4 years ago

i need to change the network configuration of my esp8266, but neither holding reset for 5S, nor

#include <Homie.h>
void setup() {
  // put your setup code here, to run once:
  Homie.reset();
  Homie.setup();
}

void loop() {
  // put your main code here, to run repeatedly:

}

work. the esp8266 will enter a state in which it will remain in "normal" mode forever, but with a greatly reduced log.

mkfrey commented 4 years ago

Can you paste the log output?

labodj commented 4 years ago

Try

#include <Homie.h>
void setup() {
  Homie.setup();
  Homie.reset();
  Homie.setIdle(true);
}

void loop() {
}
coal2001 commented 4 years ago

Also doesnt' work reset through mqtt on topic $implementation/reset

https://homieiot.github.io/homie-esp8266/docs/stable/others/homie-implementation-specifics/

Output log:

Flagged for reset by network Node $implementation not registered

I don't know if that is the same bug

P.S. Homie.setIdle(true); is setted and doesn't concern