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

Exception (28) after a config update through '$implementation/config/set' #712

Open elbowz opened 3 years ago

elbowz commented 3 years ago

Report this issue only as reminder, because after the exception the esp8266 restart and works :)

With an empty/bare code:

void setup() {
  Serial.begin(115200);
  Homie_setFirmware("awesome-relay", "1.0.0");
  Homie.setup();
}

void loop() {
  Homie.loop();
}

after publish on $implementation/config/set:

{
  "name": "Test"
}

on console I get:

✔ Configuration updated
Flagged for reboot
Device is idle
↻ Rebooting...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
✖ Wi-Fi disconnected, reason: 8
Triggering WIFI_DISCONNECTED event...
↕ Attempting to connect to Wi-Fi...

Exception (28):
epc1=0x4000df2f epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000033 depc=0x00000000

>>>stack>>>

ctx: sys
sp: 3fffea60 end: 3fffffb0 offset: 0190
3fffebf0:  40262d44 3ffeea1c 00000005 ffffff80  
3fffec00:  4025e365 40262f33 40278564 00000001  
3fffec10:  00000033 00000010 4025ec59 3ffee324  
3fffec20:  3ffed7e8 00000000 3ffe8e33 3ffed7e8  
3fffec30:  3ffe8e33 00000000 00000024 00000000  
[...]
3fffff80:  3fffdad0 00000000 3ffefd28 40201702  
3fffff90:  3fffdad0 00000000 3fff0708 40201348  
3fffffa0:  feefeffe 00000000 3fff0708 40211b3c  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3656, room 16 
tail 8
chksum 0x0c
csum 0x0c
v9c56ed1f
~ld

Thanks for this amazing project :)