Repository: Blueforcer/awtrix3

Issue #165: MQTT Boot Loop
Created: 2023-06-05T15:16:42Z
version: 0.67
MQTT via IOBroker
If I connect the clock via MQTT, it is in a boot loop.
with home assistant there are no problems.

Duplicate issue #201: [BUG] Endless Reboot Session after MQTT initialisation
Created: 2023-06-20T21:18:43Z
Die Pixel Uhr startet dauerhaft neu.
Nach dem ich über den Webbrowser MQTT eingeschaltet habe, startet die Uhr ständig neu.
Angeblich wurde ein Reboot Kommando empfangen, es wurde aber keines gesendet.
Die MQTT Topic werden erstellt sind allerdings alle leer ( NULL).
Sobald MQTT ausgeschaltet wird (IP vom MQTT Server entfernen per Webbrowser) läuft die Uhr normal weiter ohne reboot.
Model:

Ulanzi TC001
Awtrix-Light Version 0.70
ioBroker


MQTT Adapter




[6683] [setup]: Webserver loaded
Homeassistant discovery disabled
[7107] [connect]: Connecting to MQTT with login
[ 11365][E][vfs_api.cpp:105] open(): /littlefs/index.htm does not exist, no permits for creation
[ 11368][E][vfs_api.cpp:105] open(): /littlefs/index.html does not exist, no permits for creation
[ 11432][E][vfs_api.cpp:105] open(): /littlefs/alarms.json does not exist, no permits for creation
[11479] [onMqttConnected]: MQTT Connected
[11479] [onMqttConnected]: Subscribe to topic /brightness
[11513] [onMqttConnected]: Subscribe to topic /notify/dismiss
[11546] [onMqttConnected]: Subscribe to topic /notify
[11580] [onMqttConnected]: Subscribe to topic /timer
[11613] [onMqttConnected]: Subscribe to topic /custom/#
[11647] [onMqttConnected]: Subscribe to topic /switch
[11680] [onMqttConnected]: Subscribe to topic /settings
[11714] [onMqttConnected]: Subscribe to topic /previousapp
[11747] [onMqttConnected]: Subscribe to topic /nextapp
[11781] [onMqttConnected]: Subscribe to topic /doupdate
[11813] [onMqttConnected]: Subscribe to topic /nextapp
[11845] [onMqttConnected]: Subscribe to topic /apps
[11877] [onMqttConnected]: Subscribe to topic /power
[11908] [onMqttConnected]: Subscribe to topic /indicator1
[11939] [onMqttConnected]: Subscribe to topic /indicator2
[11970] [onMqttConnected]: Subscribe to topic /indicator3
[12002] [onMqttConnected]: Subscribe to topic /timeformat
[12033] [onMqttConnected]: Subscribe to topic /dateformat
[12064] [onMqttConnected]: Subscribe to topic /reboot
[12096] [onMqttConnected]: Subscribe to topic /moodlight
[12128] [onMqttConnected]: Subscribe to topic /sound
[ 12677][E][WebServer.cpp:649] _handleRequest(): request handler not found
[ 12681][E][vfs_api.cpp:105] open(): /littlefs/save.gz does not exist, no permits for creation
[ 12684][E][vfs_api.cpp:105] open(): /littlefs/save does not exist, no permits for creation
[ 12923][E][WebServer.cpp:649] _handleRequest(): request handler not found
[ 12927][E][vfs_api.cpp:105] open(): /littlefs/config.json.gz does not exist, no permits for creation
[ 12943][E][vfs_api.cpp:105] open(): /littlefs/config.json.gz does not exist, no permits for creation
[13030] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/brightness
[13031] [onMqttMessage]: Payload:  
[13031] [onMqttMessage]: Unknown MQTT command!
[13495] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify/dismiss
[13496] [onMqttMessage]: Payload:  
[13675] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify
[13676] [onMqttMessage]: Payload:  
[13678] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timer
[13689] [onMqttMessage]: Payload:  
[13700] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/switch
[13701] [onMqttMessage]: Payload:  
[13703] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/settings
[13714] [onMqttMessage]: Payload:  
[13714] [setNewSettings]: Got new settings:
[13714] [setNewSettings]: 
[13738] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/previousapp
[13738] [onMqttMessage]: Payload:  
[13739] [previousApp]: Switching to previous app
[13761] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[13761] [onMqttMessage]: Payload:  
[13762] [nextApp]: Switching to next app
[13824] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/doupdate
[13824] [onMqttMessage]: Payload:  
[13833] [checkUpdate]: Check firmwareversion
[14699] [checkUpdate]: 
Device already on latest firmware version: 0.70

[15737] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[15738] [onMqttMessage]: Payload:  
[15739] [nextApp]: Switching to next app
[15763] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/apps
[15763] [onMqttMessage]: Payload:  
[15764] [updateAppVector]: New apps vector received
[15774] [updateAppVector]: 
[15774] [updateAppVector]: Failed to parse json
[15785] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/power
[15786] [onMqttMessage]: Payload:  
[15787] [onMqttMessage]: Failed to parse json
[15809] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator1
[15809] [onMqttMessage]: Payload:  
[15812] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator2
[15823] [onMqttMessage]: Payload:  
[15836] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator3
[15836] [onMqttMessage]: Payload:  
[15840] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timeformat
[15850] [onMqttMessage]: Payload:  
[15851] [onMqttMessage]: Unknown MQTT command!
[15863] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/dateformat
[15863] [onMqttMessage]: Payload:  
[15864] [onMqttMessage]: Unknown MQTT command!
[15885] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/reboot
[15886] [onMqttMessage]: Payload:  
[15887] [onMqttMessage]: REBOOT COMMAND RECEIVED
E (525) esp_core_dump_flash: No core d�枀�partition found!
E (525) esp_core_dump_flash: No core dump partition found!
[  2099][E][vfs_[2101] [setup]: Setup periphery
[2274] [loadSettings]: Webserver configuration loaded
[2275] [setMatrixLayout]: Set matrix layout to 0
Framebuffer_GFX::begin Width: 32 Height: 8 Num Pixels: 256
Connecting to SmartCityOG
.[3223] [setup]: My IP: 172.20.2.17
[6739] [setup]: Webserver loaded
[6909] [setup]: Starting Homeassistant discovery
[6913] [connect]: Connecting to MQTT with login
[ 11189][E][vfs_api.cpp:105] open(): /littlefs/alarms.json does not exist, no permits for creation
[11225] [onMqttConnected]: MQTT Connected
[11225] [onMqttConnected]: Subscribe to topic /brightness
[11260] [onMqttConnected]: Subscribe to topic /notify/dismiss
[11293] [onMqttConnected]: Subscribe to topic /notify
[11326] [onMqttConnected]: Subscribe to topic /timer
[11360] [onMqttConnected]: Subscribe to topic /custom/#
[11393] [onMqttConnected]: Subscribe to topic /switch
[11426] [onMqttConnected]: Subscribe to topic /settings
[11460] [onMqttConnected]: Subscribe to topic /previousapp
[11493] [onMqttConnected]: Subscribe to topic /nextapp
[11525] [onMqttConnected]: Subscribe to topic /doupdate
[11557] [onMqttConnected]: Subscribe to topic /nextapp
[11588] [onMqttConnected]: Subscribe to topic /apps
[11619] [onMqttConnected]: Subscribe to topic /power
[11652] [onMqttConnected]: Subscribe to topic /indicator1
[11683] [onMqttConnected]: Subscribe to topic /indicator2
[11714] [onMqttConnected]: Subscribe to topic /indicator3
[11745] [onMqttConnected]: Subscribe to topic /timeformat
[11777] [onMqttConnected]: Subscribe to topic /dateformat
[11808] [onMqttConnected]: Subscribe to topic /reboot
[11839] [onMqttConnected]: Subscribe to topic /moodlight
[11871] [onMqttConnected]: Subscribe to topic /sound
[14263] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/brightness
[14263] [onMqttMessage]: Payload:  
[14264] [onMqttMessage]: Unknown MQTT command!
[18796] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify/dismiss
[18796] [onMqttMessage]: Payload:  
[18809] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify
[18809] [onMqttMessage]: Payload:  
[18812] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timer
[18823] [onMqttMessage]: Payload:  
[18834] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/switch
[18835] [onMqttMessage]: Payload:  
[18839] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/settings
[18849] [onMqttMessage]: Payload:  
[18850] [setNewSettings]: Got new settings:
[18850] [setNewSettings]: 
[18863] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/previousapp
[18863] [onMqttMessage]: Payload:  
[18864] [previousApp]: Switching to previous app
[18933] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[18934] [onMqttMessage]: Payload:  
[18934] [nextApp]: Switching to next app
[18958] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/doupdate
[18958] [onMqttMessage]: Payload:  
[18967] [checkUpdate]: Check firmwareversion
[19865] [checkUpdate]: 
Device already on latest firmware version: 0.70

[20894] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[20894] [onMqttMessage]: Payload:  
[20895] [nextApp]: Switching to next app
[20919] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/apps
[20919] [onMqttMessage]: Payload:  
[20920] [updateAppVector]: New apps vector received
[20930] [updateAppVector]: 
[20930] [updateAppVector]: Failed to parse json
[20942] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/power
[20943] [onMqttMessage]: Payload:  
[20944] [onMqttMessage]: Failed to parse json
[20966] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator1
[20966] [onMqttMessage]: Payload:  
[20975] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator2
[20975] [onMqttMessage]: Payload:  
[21001] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator3
[21002] [onMqttMessage]: Payload:  
[21007] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timeformat
[21017] [onMqttMessage]: Payload:  
[21018] [onMqttMessage]: Unknown MQTT command!
[21030] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/dateformat
[21030] [onMqttMessage]: Payload:  
[21031] [onMqttMessage]: Unknown MQTT command!
[21054] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/reboot
[21054] [onMqttMessage]: Payload:  
[21055] [onMqttMessage]: REBOOT COMMAND RECEIVED
E (525) esp_core_dump_flash: No core d�枀�partition found!
E (525) esp_core_dump_flash: No core dump partition found!
[  2099][E][vfs_[2101] [setup]: Setup periphery
[2274] [loadSettings]: Webserver configuration loaded
[2275] [setMatrixLayout]: Set matrix layout to 0
Framebuffer_GFX::begin Width: 32 Height: 8 Num Pixels: 256
Connecting to SmartCityOG
.[3223] [setup]: My IP: 172.20.2.17
[6739] [setup]: Webserver loaded
[6909] [setup]: Starting Homeassistant discovery
[6912] [connect]: Connecting to MQTT with login
[ 11193][E][vfs_api.cpp:105] open(): /littlefs/alarms.json does not exist, no permits for creation
[11227] [onMqttConnected]: MQTT Connected
[11227] [onMqttConnected]: Subscribe to topic /brightness
[11261] [onMqttConnected]: Subscribe to topic /notify/dismiss
[11295] [onMqttConnected]: Subscribe to topic /notify
[11329] [onMqttConnected]: Subscribe to topic /timer
[11362] [onMqttConnected]: Subscribe to topic /custom/#
[11396] [onMqttConnected]: Subscribe to topic /switch
[11430] [onMqttConnected]: Subscribe to topic /settings
[11463] [onMqttConnected]: Subscribe to topic /previousapp
[11499] [onMqttConnected]: Subscribe to topic /nextapp
[11531] [onMqttConnected]: Subscribe to topic /doupdate
[11563] [onMqttConnected]: Subscribe to topic /nextapp
[11594] [onMqttConnected]: Subscribe to topic /apps
[11626] [onMqttConnected]: Subscribe to topic /power
[11657] [onMqttConnected]: Subscribe to topic /indicator1
[11688] [onMqttConnected]: Subscribe to topic /indicator2
[11719] [onMqttConnected]: Subscribe to topic /indicator3
[11750] [onMqttConnected]: Subscribe to topic /timeformat
[11781] [onMqttConnected]: Subscribe to topic /dateformat
[11813] [onMqttConnected]: Subscribe to topic /reboot
[11844] [onMqttConnected]: Subscribe to topic /moodlight
[11875] [onMqttConnected]: Subscribe to topic /sound
[14178] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/brightness
[14179] [onMqttMessage]: Payload:  
[14180] [onMqttMessage]: Unknown MQTT command!
[15041] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify/dismiss
[15042] [onMqttMessage]: Payload:  
[15046] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify
[15057] [onMqttMessage]: Payload:  
[15217] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timer
[15218] [onMqttMessage]: Payload:  
[15230] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/switch
[15231] [onMqttMessage]: Payload:  
[15233] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/settings
[15244] [onMqttMessage]: Payload:  
[15244] [setNewSettings]: Got new settings:
[15245] [setNewSettings]: 
[15266] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/previousapp
[15267] [onMqttMessage]: Payload:  
[15267] [previousApp]: Switching to previous app
[15291] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[15291] [onMqttMessage]: Payload:  
[15292] [nextApp]: Switching to next app
[15363] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/doupdate
[15364] [onMqttMessage]: Payload:  
[15373] [checkUpdate]: Check firmwareversion
[16262] [checkUpdate]: 
Device already on latest firmware version: 0.70

[17292] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[17293] [onMqttMessage]: Payload:  
[17293] [nextApp]: Switching to next app
[17316] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/apps
[17317] [onMqttMessage]: Payload:  
[17317] [updateAppVector]: New apps vector received
[17328] [updateAppVector]: 
[17328] [updateAppVector]: Failed to parse json
[17339] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/power
[17340] [onMqttMessage]: Payload:  
[17341] [onMqttMessage]: Failed to parse json
[17363] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator1
[17363] [onMqttMessage]: Payload:  
[17371] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator2
[17371] [onMqttMessage]: Payload:  
[17397] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/indicator3
[17398] [onMqttMessage]: Payload:  
[17405] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timeformat
[17406] [onMqttMessage]: Payload:  
[17417] [onMqttMessage]: Unknown MQTT command!
[17429] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/dateformat
[17430] [onMqttMessage]: Payload:  
[17430] [onMqttMessage]: Unknown MQTT command!
[17453] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/reboot
[17453] [onMqttMessage]: Payload:  
[17454] [onMqttMessage]: REBOOT COMMAND RECEIVED
E (525) esp_core_dump_flash: No core d�枀�partition found!
E (525) esp_core_dump_flash: No core dump partition found!
[  2099][E][vfs_[2101] [setup]: Setup periphery
[2274] [loadSettings]: Webserver configuration loaded
[2275] [setMatrixLayout]: Set matrix layout to 0
Framebuffer_GFX::begin Width: 32 Height: 8 Num Pixels: 256
Connecting to SmartCityOG
......[4723] [setup]: My IP: 172.20.2.17
[8238] [setup]: Webserver loaded
[8406] [setup]: Starting Homeassistant discovery
[8410] [connect]: Connecting to MQTT with login
[ 12701][E][vfs_api.cpp:105] open(): /littlefs/alarms.json does not exist, no permits for creation
[12730] [onMqttConnected]: MQTT Connected
[12730] [onMqttConnected]: Subscribe to topic /brightness
[12765] [onMqttConnected]: Subscribe to topic /notify/dismiss
[12798] [onMqttConnected]: Subscribe to topic /notify
[12832] [onMqttConnected]: Subscribe to topic /timer
[12866] [onMqttConnected]: Subscribe to topic /custom/#
[12899] [onMqttConnected]: Subscribe to topic /switch
[12933] [onMqttConnected]: Subscribe to topic /settings
[12966] [onMqttConnected]: Subscribe to topic /previousapp
[12999] [onMqttConnected]: Subscribe to topic /nextapp
[13031] [onMqttConnected]: Subscribe to topic /doupdate
[13063] [onMqttConnected]: Subscribe to topic /nextapp
[13094] [onMqttConnected]: Subscribe to topic /apps
[13126] [onMqttConnected]: Subscribe to topic /power
[13157] [onMqttConnected]: Subscribe to topic /indicator1
[13188] [onMqttConnected]: Subscribe to topic /indicator2
[13219] [onMqttConnected]: Subscribe to topic /indicator3
[13250] [onMqttConnected]: Subscribe to topic /timeformat
[13281] [onMqttConnected]: Subscribe to topic /dateformat
[13312] [onMqttConnected]: Subscribe to topic /reboot
[13344] [onMqttConnected]: Subscribe to topic /moodlight
[13375] [onMqttConnected]: Subscribe to topic /sound
[15442] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/brightness
[15442] [onMqttMessage]: Payload:  
[15443] [onMqttMessage]: Unknown MQTT command!
[16733] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify/dismiss
[16734] [onMqttMessage]: Payload:  
[16737] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/notify
[16747] [onMqttMessage]: Payload:  
[16758] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/timer
[16759] [onMqttMessage]: Payload:  
[16761] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/switch
[16772] [onMqttMessage]: Payload:  
[16783] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/settings
[16784] [onMqttMessage]: Payload:  
[16784] [setNewSettings]: Got new settings:
[16795] [setNewSettings]: 
[16806] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/previousapp
[16807] [onMqttMessage]: Payload:  
[16807] [previousApp]: Switching to previous app
[16894] [onMqttMessage]: MQTT message received at topic awtrix_c1c734/nextapp
[16895] [onMqttMessage]: Payload:

Closing comment (2023-06-20T21:20:21Z): Duplicate of #165