-
Notifications
You must be signed in to change notification settings - Fork 289
Brightness change causes reboot #224
Comments
HI @tnkaiser, I think this wasn't reported before. Does this happen also when you set the brightness via web UI? Oder directly via REST call? Or only via MQTT call from homeassist? Regards |
AMQTT ---> reboot (via the popup slider when the light is turned on) |
OK, then this seems to be related to MQTT. Strange that it happens fot both MQTT and AMQTT. Regards |
Hi all, As you are waiting for an answer for about a month and I am having the same issue this is what I can provide for an analysis: Maybe on thing more:
There is no reboot. It looks like it is always if you are using the Topics for "Home Assistant". Best |
Hi Tobias, feel free to contact me if you need further investigations/tests with my system. Without a deeper look into the source code I can identify some differences between MQTT for Home Assistant and the "normal" MQTT. What else can i provide.. Regards |
I'll add that I just installed this on a D1 Mini and I'm having the same issue with the AMQTT library. Even sending a message with only the brightness causes core dump. { Below is my esp_status if it's useful. {"HOSTNAME":"McLighting01","version":"2.1.4","heap":26224,"sketch_size":444400,"free_sketch_space":2699264,"flash_chip_size":4194304,"flash_chip_real_size":4194304,"flash_chip_speed":40000000,"sdk_version":"2.2.1(cfd48f3)","core_version":"2_4_2","cpu_freq":80,"chip_id":1458415,"animation_lib":"WS2812FX","pin":2,"number_leds":50,"button_mode":"ON","amqtt":"ON","home_assistant":"ON","legacy_animations":"ON","esp8266_http_updateserver":"ON","arduino_ota":"ON","state_save":"SPIFFS"} |
Don't have any idea why there is a issue with JSON parsing. I'll investigate! |
Shame issue with AMQTT and HA {"HOSTNAME":"McLighting01","version":"2.1.4","heap":26432,"sketch_size":438064,"free_sketch_space":2707456,"flash_chip_size":4194304,"flash_chip_real_size":4194304,"flash_chip_speed":40000000,"sdk_version":"2.2.1(cfd48f3)","core_version":"2_4_2","cpu_freq":80,"chip_id":1458376,"animation_lib":"WS2812FX","pin":14,"number_leds":136,"button_mode":"ON","amqtt":"ON","home_assistant":"ON","legacy_animations":"ON","esp8266_http_updateserver":"ON","state_save":"SPIFFS"} |
I am on a trip with my family starting tomorrow. If I could not manage to test it tonight i'll test it in a week. btw.: I already had Arduinojson installed in 6.4.0-beta |
same here, already had Arduinojson installed in 6.4.0-beta |
just downgrade the Arduinojson to 6.1.0-beta and no issue, all working as it should. Tnx |
Same here, downgraded to 6.1.0-beta and it's all working fine. Thanks for figuring out |
Just tested the development version with 6.4.0-beta and YES everything is working very well. Thank you! |
If this has been discussed previously, please point me in the direction.
//#define USE_NEOANIMATIONFX // Uses NeoAnimationFX, PIN is ignored & set to RX/GPIO3 or UART method: D4/GPIO2, see: https://github.com/debsahu/NeoAnimationFX
#define USE_WS2812FX // Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX
// Neopixel
#define PIN D1 // PIN (14 / D5) where neopixel / WS2811 strip is attached
#define NUMLEDS 300 // Number of leds in the strip
#define BUILTIN_LED 2 // ESP-12F has the built in LED on GPIO2, see esp8266/Arduino#2192
#define BUTTON 4 // Input pin (4 / D2) for switching the LED strip on / off, connect this PIN to ground to trigger button.
const char HOSTNAME[] = "McLighting01"; // Friedly hostname
#define HTTP_OTA // If defined, enable ESP8266HTTPUpdateServer OTA code.
//#define ENABLE_OTA // If defined, enable Arduino OTA code.
#define ENABLE_AMQTT // If defined, enable Async MQTT code, see: https://github.com/marvinroger/async-mqtt-client
//#define ENABLE_MQTT // If defined, enable MQTT client code, see: https://github.com/toblum/McLighting/wiki/MQTT-API
#define ENABLE_HOMEASSISTANT // If defined, enable Homeassistant integration, ENABLE_MQTT must be active
#define ENABLE_BUTTON // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control
#define MQTT_HOME_ASSISTANT_SUPPORT // If defined, use AMQTT and select Tools -> IwIP Variant -> Higher Bandwidth
//#define ENABLE_LEGACY_ANIMATIONS
MQTT: Recieved [home/McLighting01_ha/state/in]: {"state": "ON", "brightness": 132}
Exception (28):
epc1=0x40227e7e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3fffea70 end: 3fffffb0 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
The text was updated successfully, but these errors were encountered: