NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
126 stars 10 forks source link

mqttmanager crash #124

Closed cablesandcoffee closed 5 months ago

cablesandcoffee commented 5 months ago

For testing I tried to remove a panel from the web interface. I pressed delete. Re-powered the panel, it showed up in web interface again as expected. But somewhere at this point the manager crashed. Seems a bit random how to get it up and running again right now. I will do a couple of tests and just copy paste to log efter the test:

Removed panel not powered. Restarting the manager: Works OK

Powering up the panel that was removed before: I shows up in the web interface accept/deny-button. Straight after webbrowser says "failed to connect to mqtt manager"

Log from power up of Panel: [2024-01-14 15:17:17.798] [debug] [entity_manager.cpp:362] [587] Got message on 'nspanel/mqttmanager/command'. Message: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:17:17.798] [debug] [entity_manager.cpp:382] [587] Received command payload: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:17:17.798] [info] [entity_manager.cpp:483] [587] Got register request from NSPanel with name NSPMPanel and MAC: 7C:87:CE:C8:36:80 [2024-01-14 15:17:17.798] [info] [entity_manager.cpp:496] [587] Panel is not registered to manager, adding panel but as 'pending accept' status. [2024-01-14 15:17:17.798] [debug] [nspanel.cpp:140] [587] Loaded NSPanel NSPMPanel with no ID. [2024-01-14 15:17:17.900] [error] [mqtt_manager.cpp:68] [587] Lost connection [2024-01-14 15:17:21.152] [info] [mqtt_manager.cpp:72] [587] Established connection to MQTT server. [2024-01-14 15:17:21.152] [debug] [mqtt_manager.cpp:106] [587] Subscribing to registered MQTT topics. [2024-01-14 15:17:21.153] [debug] [mqtt_manager.cpp:111] [587] Subscribing to topic nspanel/US Panel/status [2024-01-14 15:17:21.153] [debug] [mqtt_manager.cpp:114] [587] Subscribed to nspanel/US Panel/status. Got code: 0

Restart manager with new panel still connected: Does not work

Log:

[2024-01-14 14:19:47.673] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/mqttmanager/command' to the list of topics to subscribe to. [2024-01-14 14:19:47.673] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/+/status' to the list of topics to subscribe to. [2024-01-14 14:19:47.673] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/+/status_report' to the list of topics to subscribe to. [2024-01-14 14:19:47.673] [info] [mqtt_manager_config.cpp:35] [598] Read timezone Europe/Stockholm from /etc/timezone. [2024-01-14 14:19:47.673] [info] [mqtt_manager_config.cpp:97] [598] Gathering config from web manager. [2024-01-14 14:19:47.674] [debug] [mqtt_manager_config.cpp:102] [598] Requesting config from: http://127.0.0.1:8000/api/get_mqtt_manager_config [pid: 584|app: 0|req: 5/21] 127.0.0.1 () {30 vars in 385 bytes} [Sun Jan 14 14:19:47 2024] GET /api/get_mqtt_manager_config => generated 12878 bytes in 14 msecs (HTTP/1.1 200) 6 headers in 201 bytes (1 switches on core 0) [2024-01-14 14:19:47.689] [debug] [mqtt_manager_config.cpp:115] [598] Got config data. Processing config. [2024-01-14 14:19:47.690] [info] [mqtt_manager_config.cpp:134] [598] Got config from web manager, will process and load values. [2024-01-14 14:19:47.690] [debug] [mqtt_manager_config.cpp:169] [598] Loading lights... [2024-01-14 14:19:47.690] [debug] [mqtt_manager_config.cpp:175] [598] Loading NSPanels... [2024-01-14 14:19:47.690] [debug] [mqtt_manager_config.cpp:181] [598] Loading Scenes... [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:193] [598] Checking for removed scenes. [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:209] [598] Loading Rooms... [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:221] [598] Checking for removed rooms. [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:237] [598] Loading relay groups... [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:249] [598] Checking for removed relay groups. [2024-01-14 14:19:47.691] [debug] [mqtt_manager_config.cpp:265] [598] Config loaded. Calling listeners. [2024-01-14 14:19:47.691] [info] [entity_manager.cpp:137] [598] New config loaded, processing changes. [2024-01-14 14:19:47.691] [info] [weather.cpp:28] [598] Initializing weather controller for OpenHAB. [2024-01-14 14:19:47.691] [debug] [weather.cpp:29] [598] Current weather item: Accu_Weather_weather [2024-01-14 14:19:47.691] [debug] [weather.cpp:30] [598] Forecast weather item: Accu_Forecast_forecast [2024-01-14 14:19:47.691] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Accu_Weather_weather'. [2024-01-14 14:19:47.694] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Accu_Forecast_forecast'. [2024-01-14 14:19:47.702] [debug] [weather.cpp:278] [598] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-14 07:00 to forecast list. [2024-01-14 14:19:47.703] [debug] [weather.cpp:278] [598] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-15 07:00 to forecast list. [2024-01-14 14:19:47.703] [debug] [weather.cpp:278] [598] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-16 07:00 to forecast list. [2024-01-14 14:19:47.703] [debug] [weather.cpp:278] [598] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-17 07:00 to forecast list. [2024-01-14 14:19:47.703] [debug] [weather.cpp:278] [598] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-18 07:00 to forecast list. [2024-01-14 14:19:47.704] [debug] [entity_manager.cpp:143] [598] Updating NSPanels. [2024-01-14 14:19:47.704] [debug] [nspanel.cpp:138] [598] Loaded NSPanel 29::Livingroom. [2024-01-14 14:19:47.704] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/Livingroom/r1_state' to the list of topics to subscribe to. [2024-01-14 14:19:47.704] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/Livingroom/r2_state' to the list of topics to subscribe to. [2024-01-14 14:19:47.704] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/Livingroom/log' to the list of topics to subscribe to. [2024-01-14 14:19:47.704] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/Livingroom/status' to the list of topics to subscribe to. [2024-01-14 14:19:47.704] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/Livingroom/status_report' to the list of topics to subscribe to. [2024-01-14 14:19:47.704] [debug] [nspanel.cpp:600] [598] Registring NSPanel 29::Livingroom entities to Home Assistant via MQTT AutoReg. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:627] [598] Registring temp sensor for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:644] [598] Registring relay1 as relay for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:665] [598] Registring relay2 as relay for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:683] [598] Registring screenstate switch for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:694] [598] Registring screen brightness for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:705] [598] Registring screensaver brightness for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:19:47.705] [debug] [nspanel.cpp:498] [598] Requesting NSPanel warnings from: http://127.0.0.1:8000/api/get_nspanels_warnings [pid: 585|app: 0|req: 5/22] 127.0.0.1 () {30 vars in 381 bytes} [Sun Jan 14 14:19:47 2024] GET /api/get_nspanels_warnings => generated 172 bytes in 22 msecs (HTTP/1.1 200) 6 headers in 199 bytes (1 switches on core 0) [2024-01-14 14:19:47.728] [debug] [nspanel.cpp:514] [598] Found warnings from manager matching MAC E0:E2:E6:0C:CA:00 [2024-01-14 14:19:47.729] [error] [websocket_server.cpp:69] [598] Trying to send data over WebSocket before websocket exists. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:138] [598] Loaded NSPanel 31::US Panel. [2024-01-14 14:19:47.729] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/US Panel/r1_state' to the list of topics to subscribe to. [2024-01-14 14:19:47.729] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/US Panel/r2_state' to the list of topics to subscribe to. [2024-01-14 14:19:47.729] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/US Panel/log' to the list of topics to subscribe to. [2024-01-14 14:19:47.729] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/US Panel/status' to the list of topics to subscribe to. [2024-01-14 14:19:47.729] [debug] [mqtt_manager.hpp:27] [598] Adding 'nspanel/US Panel/status_report' to the list of topics to subscribe to. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:600] [598] Registring NSPanel 31::US Panel entities to Home Assistant via MQTT AutoReg. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:627] [598] Registring temp sensor for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:644] [598] Registring relay1 as relay for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:665] [598] Registring relay2 as relay for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:683] [598] Registring screenstate switch for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:694] [598] Registring screen brightness for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:705] [598] Registring screensaver brightness for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:19:47.729] [debug] [nspanel.cpp:498] [598] Requesting NSPanel warnings from: http://127.0.0.1:8000/api/get_nspanels_warnings [pid: 585|app: 0|req: 6/23] 127.0.0.1 () {30 vars in 381 bytes} [Sun Jan 14 14:19:47 2024] GET /api/get_nspanels_warnings => generated 172 bytes in 21 msecs (HTTP/1.1 200) 6 headers in 199 bytes (1 switches on core 0) [2024-01-14 14:19:47.751] [debug] [nspanel.cpp:514] [598] Found warnings from manager matching MAC C0:49:EF:60:C2:2C [2024-01-14 14:19:47.751] [error] [websocket_server.cpp:69] [598] Trying to send data over WebSocket before websocket exists. [2024-01-14 14:19:47.751] [debug] [entity_manager.cpp:151] [598] Checking for removed NSPanels. [2024-01-14 14:19:47.751] [debug] [entity_manager.cpp:172] [598] Updating lights. [2024-01-14 14:19:47.751] [debug] [light.cpp:45] [598] Loading light 19::Spegel. [2024-01-14 14:19:47.751] [debug] [light.cpp:39] [598] Light 19::Spegel base loaded, can dim: yes, can color temp: yes, can_rgb: yes. [2024-01-14 14:19:47.751] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Brightness'. [2024-01-14 14:19:47.754] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_ColorTemperature'. [2024-01-14 14:19:47.755] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Color'. [2024-01-14 14:19:47.756] [debug] [openhab_light.cpp:62] [598] Loaded light 19::Spegel. [2024-01-14 14:19:47.757] [debug] [light.cpp:45] [598] Loading light 21::Köksbord. [2024-01-14 14:19:47.757] [debug] [light.cpp:39] [598] Light 21::Köksbord base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.757] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheMoon_Brightness'. [2024-01-14 14:19:47.758] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheMoon_ColorTemperature'. [2024-01-14 14:19:47.759] [debug] [openhab_light.cpp:62] [598] Loaded light 21::Köksbord. [2024-01-14 14:19:47.759] [debug] [light.cpp:45] [598] Loading light 22::Skrivbord. [2024-01-14 14:19:47.759] [debug] [light.cpp:39] [598] Light 22::Skrivbord base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.759] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'DesktopBlue_Brightness'. [2024-01-14 14:19:47.761] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'DesktopBlue_ColorTemperature'. [2024-01-14 14:19:47.762] [debug] [openhab_light.cpp:62] [598] Loaded light 22::Skrivbord. [2024-01-14 14:19:47.762] [debug] [light.cpp:45] [598] Loading light 23::Säng. [2024-01-14 14:19:47.762] [debug] [light.cpp:39] [598] Light 23::Säng base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.762] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheChinese_Brightness'. [2024-01-14 14:19:47.764] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheChinese_ColorTemperature'. [2024-01-14 14:19:47.765] [debug] [openhab_light.cpp:62] [598] Loaded light 23::Säng. [2024-01-14 14:19:47.765] [debug] [light.cpp:45] [598] Loading light 24::Gardin. [2024-01-14 14:19:47.765] [debug] [light.cpp:39] [598] Light 24::Gardin base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.765] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheBroken_Brightness'. [2024-01-14 14:19:47.766] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'TheBroken_ColorTemperature'. [2024-01-14 14:19:47.768] [debug] [openhab_light.cpp:62] [598] Loaded light 24::Gardin. [2024-01-14 14:19:47.768] [debug] [light.cpp:45] [598] Loading light 25::Tak. [2024-01-14 14:19:47.768] [debug] [light.cpp:39] [598] Light 25::Tak base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.768] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'RetroYellow_Brightness'. [2024-01-14 14:19:47.769] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'RetroYellow_ColorTemperature'. [2024-01-14 14:19:47.770] [debug] [openhab_light.cpp:62] [598] Loaded light 25::Tak. [2024-01-14 14:19:47.770] [debug] [light.cpp:45] [598] Loading light 27::Spegel. [2024-01-14 14:19:47.770] [debug] [light.cpp:39] [598] Light 27::Spegel base loaded, can dim: no, can color temp: no, can_rgb: no. [2024-01-14 14:19:47.770] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Outlet2LightsMirror_Brightness'. [2024-01-14 14:19:47.772] [debug] [openhab_light.cpp:62] [598] Loaded light 27::Spegel. [2024-01-14 14:19:47.772] [debug] [light.cpp:45] [598] Loading light 28::Stjärna. [2024-01-14 14:19:47.772] [debug] [light.cpp:39] [598] Light 28::Stjärna base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.772] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Star_Brightness'. [2024-01-14 14:19:47.773] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Star_ColorTemperature'. [2024-01-14 14:19:47.774] [debug] [openhab_light.cpp:62] [598] Loaded light 28::Stjärna. [2024-01-14 14:19:47.774] [debug] [light.cpp:45] [598] Loading light 30::Ljusstake. [2024-01-14 14:19:47.774] [debug] [light.cpp:39] [598] Light 30::Ljusstake base loaded, can dim: no, can color temp: no, can_rgb: no. [2024-01-14 14:19:47.774] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'OutletChristmasCandles_Brightness'. [2024-01-14 14:19:47.775] [debug] [openhab_light.cpp:62] [598] Loaded light 30::Ljusstake. [2024-01-14 14:19:47.775] [debug] [light.cpp:45] [598] Loading light 31::Damen. [2024-01-14 14:19:47.775] [debug] [light.cpp:39] [598] Light 31::Damen base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.775] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Lady_Brightness'. [2024-01-14 14:19:47.776] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Lady_ColorTemperature'. [2024-01-14 14:19:47.777] [debug] [openhab_light.cpp:62] [598] Loaded light 31::Damen. [2024-01-14 14:19:47.777] [debug] [light.cpp:45] [598] Loading light 32::Stove. [2024-01-14 14:19:47.777] [debug] [light.cpp:39] [598] Light 32::Stove base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:19:47.777] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Stove_Brightness'. [2024-01-14 14:19:47.778] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'Stove_ColorTemperature'. [2024-01-14 14:19:47.779] [debug] [openhab_light.cpp:62] [598] Loaded light 32::Stove. [2024-01-14 14:19:47.779] [debug] [light.cpp:45] [598] Loading light 33::Zink. [2024-01-14 14:19:47.779] [debug] [light.cpp:39] [598] Light 33::Zink base loaded, can dim: yes, can color temp: no, can_rgb: no. [2024-01-14 14:19:47.779] [debug] [openhab_manager.cpp:124] [598] Trying to fetch item state from OpenHAB for item 'LedDriversKitchen_Brightness'. [2024-01-14 14:19:47.780] [debug] [openhab_light.cpp:62] [598] Loaded light 33::Zink. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:184] [598] Existing lights updated. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:187] [598] Checking for removed lights. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:212] [598] Updating rooms. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:216] [598] Trying to get room by id. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:218] [598] Got result. Trying to get mutex. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:220] [598] Got mutex. [2024-01-14 14:19:47.780] [debug] [room.cpp:16] [598] Room 2::Kitchen initialized. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:216] [598] Trying to get room by id. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:218] [598] Got result. Trying to get mutex. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:220] [598] Got mutex. [2024-01-14 14:19:47.780] [debug] [room.cpp:16] [598] Room 4::Bedroom initialized. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:216] [598] Trying to get room by id. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:218] [598] Got result. Trying to get mutex. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:220] [598] Got mutex. [2024-01-14 14:19:47.780] [debug] [room.cpp:16] [598] Room 6::Entryway initialized. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:216] [598] Trying to get room by id. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:218] [598] Got result. Trying to get mutex. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:220] [598] Got mutex. [2024-01-14 14:19:47.780] [debug] [room.cpp:16] [598] Room 7::Bathroom initialized. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:216] [598] Trying to get room by id. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:218] [598] Got result. Trying to get mutex. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:220] [598] Got mutex. [2024-01-14 14:19:47.780] [debug] [room.cpp:16] [598] Room 8::Livingroom initialized. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:229] [598] Existing rooms updated. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:232] [598] Checking for removed rooms. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:262] [598] Updating NSPanel relay groups. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:268] [598] Existing relay groups updated. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:272] [598] Checking for removed relay groups. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:301] [598] Updating scenes. [2024-01-14 14:19:47.780] [debug] [nspm_scene.cpp:24] [598] Loading NSPM scene 6:: Livingroom 1. [2024-01-14 14:19:47.780] [debug] [nspm_scene.cpp:37] [598] Loaded scene 6:: Livingroom 1. [2024-01-14 14:19:47.780] [debug] [nspm_scene.cpp:24] [598] Loading NSPM scene 7::Filmscen. [2024-01-14 14:19:47.780] [debug] [nspm_scene.cpp:37] [598] Loaded scene 7::Filmscen. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:307] [598] Existing scenes updated. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:311] [598] Checking for removed scenes. [2024-01-14 14:19:47.780] [info] [entity_manager.cpp:338] [598] Performing post init on 7 entities. [2024-01-14 14:19:47.780] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 3 with id 2 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 3 with id 4 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 3 with id 6 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 3 with id 7 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 3 with id 8 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 1 with id 6 [2024-01-14 14:19:47.781] [debug] [entity_manager.cpp:340] [598] Performing PostInit on entity type 1 with id 7 [2024-01-14 14:19:47.781] [info] [entity_manager.cpp:344] [598] Total loaded lights: 12 [2024-01-14 14:19:47.781] [info] [entity_manager.cpp:345] [598] Total loaded NSPanels: 2 [2024-01-14 14:19:47.781] [info] [entity_manager.cpp:346] [598] Total loaded Entities: 7 [2024-01-14 14:19:47.781] [info] [main.cpp:98] [598] Starting Websocket Server on port 8002. [2024-01-14 14:19:47.781] [info] [main.cpp:112] [598] Config loaded. Starting components. [2024-01-14 14:19:47.781] [debug] [websocket_server.cpp:14] [599] Creating new ix::WebSocketServer. [2024-01-14 14:19:47.781] [info] [main.cpp:116] [598] Waiting for MQTT to connect before proceeding. [2024-01-14 14:19:47.781] [debug] [websocket_server.cpp:20] [599] Start listening for websocket connection on 0.0.0.0:8002. [2024-01-14 14:19:47.781] [debug] [websocket_server.cpp:24] [599] Successfully bound to 0.0.0.0:8002 [2024-01-14 14:19:47.781] [info] [mqtt_manager.cpp:45] [600] Connecting to the MQTT Server... [2024-01-14 14:19:47.882] [info] [mqtt_manager.cpp:47] [600] Connected to server. [2024-01-14 14:19:47.882] [debug] [mqtt_manager.cpp:106] [600] Subscribing to registered MQTT topics. [2024-01-14 14:19:47.883] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/US Panel/status [2024-01-14 14:19:47.884] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/US Panel/status. Got code: 0 [2024-01-14 14:19:47.984] [debug] [nspanel.cpp:286] [600] NSPanel 31::US Panel became ONLINE. [2024-01-14 15:19:48.085] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/US Panel/log [2024-01-14 15:19:48.085] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/US Panel/log. Got code: 0 [2024-01-14 15:19:48.186] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/US Panel/r1_state [2024-01-14 15:19:48.186] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/US Panel/r1_state. Got code: 0 [2024-01-14 15:19:48.286] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/Livingroom/status_report [2024-01-14 15:19:48.287] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/Livingroom/status_report. Got code: 0 [2024-01-14 15:19:48.488] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/Livingroom/status [2024-01-14 15:19:48.488] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/Livingroom/status. Got code: 0 [2024-01-14 15:19:48.589] [debug] [nspanel.cpp:286] [600] NSPanel 29::Livingroom became ONLINE. [2024-01-14 15:19:48.689] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/US Panel/status_report [2024-01-14 15:19:48.690] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/US Panel/status_report. Got code: 0 [2024-01-14 15:19:48.781] [warning] [main.cpp:125] [598] Home Assistant address and/or token missing. Won't start Home Assistant component. [2024-01-14 15:19:48.781] [info] [main.cpp:129] [598] Openhab address and access token configured. Starting Openhab component. [2024-01-14 15:19:48.781] [debug] [openhab_manager.cpp:19] [606] Initializing Openhab Manager component. [2024-01-14 15:19:48.781] [info] [openhab_manager.cpp:44] [606] Will connect to Openhab websocket at ws://192.168.32.202:8080/ws [2024-01-14 15:19:48.781] [debug] [openhab_manager.cpp:45] [606] Appending Openhab access token to url. [2024-01-14 15:19:48.782] [info] [openhab_manager.cpp:212] [608] Started Openhab keepalive thread. [2024-01-14 15:19:48.786] [info] [openhab_manager.cpp:68] [607] Connected to Openhab websocket. [2024-01-14 15:19:48.786] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Accu_Forecast_forecast'. [2024-01-14 15:19:48.792] [debug] [weather.cpp:278] [607] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-14 07:00 to forecast list. [2024-01-14 15:19:48.792] [debug] [weather.cpp:278] [607] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-15 07:00 to forecast list. [2024-01-14 15:19:48.792] [debug] [weather.cpp:278] [607] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-16 07:00 to forecast list. [2024-01-14 15:19:48.792] [debug] [weather.cpp:278] [607] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-17 07:00 to forecast list. [2024-01-14 15:19:48.792] [debug] [weather.cpp:278] [607] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-18 07:00 to forecast list. [2024-01-14 15:19:48.792] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Accu_Weather_weather'. [2024-01-14 15:19:48.796] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'DesktopBlue_Brightness'. [2024-01-14 15:19:48.797] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'DesktopBlue_ColorTemperature'. [2024-01-14 15:19:48.798] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Lady_Brightness'. [2024-01-14 15:19:48.800] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Lady_ColorTemperature'. [2024-01-14 15:19:48.801] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'LedDriversKitchen_Brightness'. [2024-01-14 15:19:48.802] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Brightness'. [2024-01-14 15:19:48.804] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Color'. [2024-01-14 15:19:48.805] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_ColorTemperature'. [2024-01-14 15:19:48.806] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Outlet2LightsMirror_Brightness'. [2024-01-14 15:19:48.807] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'OutletChristmasCandles_Brightness'. [2024-01-14 15:19:48.809] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'RetroYellow_Brightness'. [2024-01-14 15:19:48.810] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'RetroYellow_ColorTemperature'. [2024-01-14 15:19:48.811] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Star_Brightness'. [2024-01-14 15:19:48.812] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Star_ColorTemperature'. [2024-01-14 15:19:48.813] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Stove_Brightness'. [2024-01-14 15:19:48.814] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'Stove_ColorTemperature'. [2024-01-14 15:19:48.815] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheBroken_Brightness'. [2024-01-14 15:19:48.817] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheBroken_ColorTemperature'. [2024-01-14 15:19:48.818] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheChinese_Brightness'. [2024-01-14 15:19:48.819] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheChinese_ColorTemperature'. [2024-01-14 15:19:48.820] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheMoon_Brightness'. [2024-01-14 15:19:48.821] [debug] [openhab_manager.cpp:124] [607] Trying to fetch item state from OpenHAB for item 'TheMoon_ColorTemperature'. [2024-01-14 15:19:48.890] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/Livingroom/log [2024-01-14 15:19:48.891] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/Livingroom/log. Got code: 0 [2024-01-14 15:19:48.991] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/Livingroom/r2_state [2024-01-14 15:19:48.992] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/Livingroom/r2_state. Got code: 0 [2024-01-14 15:19:49.092] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/Livingroom/r1_state [2024-01-14 15:19:49.093] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/Livingroom/r1_state. Got code: 0 [2024-01-14 15:19:49.193] [debug] [mqtt_manager.cpp:111] [600] Subscribing to topic nspanel/+/status_report [2024-01-14 15:19:49.194] [debug] [mqtt_manager.cpp:114] [600] Subscribed to nspanel/+/status_report. Got code: 0 [2024-01-14 15:19:51.100] [debug] [entity_manager.cpp:362] [600] Got message on 'nspanel/mqttmanager/command'. Message: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:19:51.100] [debug] [entity_manager.cpp:382] [600] Received command payload: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:19:51.100] [info] [entity_manager.cpp:483] [600] Got register request from NSPanel with name NSPMPanel and MAC: 7C:87:CE:C8:36:80 [2024-01-14 15:19:51.100] [info] [entity_manager.cpp:496] [600] Panel is not registered to manager, adding panel but as 'pending accept' status. [2024-01-14 15:19:51.100] [debug] [nspanel.cpp:140] [600] Loaded NSPanel NSPMPanel with no ID. [pid: 583|app: 0|req: 4/24] 172.17.0.1 () {42 vars in 756 bytes} [Sun Jan 14 14:19:57 2024] GET / => generated 18165 bytes in 14 msecs (HTTP/1.1 200) 8 headers in 359 bytes (1 switches on core 0)

Try to restart again, not working.

Log:

Did not find a running MQTTManager, starting MQTTManager... [pid: 585|app: 0|req: 7/25] 172.17.0.1 () {48 vars in 836 bytes} [Sun Jan 14 14:21:34 2024] POST /api/restart_mqtt_manager => generated 16 bytes in 6 msecs (HTTP/1.1 200) 6 headers in 198 bytes (1 switches on core 0) [2024-01-14 14:21:34.113] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/mqttmanager/command' to the list of topics to subscribe to. [2024-01-14 14:21:34.113] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/+/status' to the list of topics to subscribe to. [2024-01-14 14:21:34.113] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/+/status_report' to the list of topics to subscribe to. [2024-01-14 14:21:34.113] [info] [mqtt_manager_config.cpp:35] [610] Read timezone Europe/Stockholm from /etc/timezone. [2024-01-14 14:21:34.113] [info] [mqtt_manager_config.cpp:97] [610] Gathering config from web manager. [2024-01-14 14:21:34.114] [debug] [mqtt_manager_config.cpp:102] [610] Requesting config from: http://127.0.0.1:8000/api/get_mqtt_manager_config [pid: 585|app: 0|req: 8/26] 127.0.0.1 () {30 vars in 385 bytes} [Sun Jan 14 14:21:34 2024] GET /api/get_mqtt_manager_config => generated 12878 bytes in 14 msecs (HTTP/1.1 200) 6 headers in 201 bytes (1 switches on core 0) [2024-01-14 14:21:34.129] [debug] [mqtt_manager_config.cpp:115] [610] Got config data. Processing config. [2024-01-14 14:21:34.130] [info] [mqtt_manager_config.cpp:134] [610] Got config from web manager, will process and load values. [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:169] [610] Loading lights... [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:175] [610] Loading NSPanels... [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:181] [610] Loading Scenes... [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:193] [610] Checking for removed scenes. [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:209] [610] Loading Rooms... [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:221] [610] Checking for removed rooms. [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:237] [610] Loading relay groups... [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:249] [610] Checking for removed relay groups. [2024-01-14 14:21:34.130] [debug] [mqtt_manager_config.cpp:265] [610] Config loaded. Calling listeners. [2024-01-14 14:21:34.130] [info] [entity_manager.cpp:137] [610] New config loaded, processing changes. [2024-01-14 14:21:34.130] [info] [weather.cpp:28] [610] Initializing weather controller for OpenHAB. [2024-01-14 14:21:34.130] [debug] [weather.cpp:29] [610] Current weather item: Accu_Weather_weather [2024-01-14 14:21:34.130] [debug] [weather.cpp:30] [610] Forecast weather item: Accu_Forecast_forecast [2024-01-14 14:21:34.131] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Accu_Weather_weather'. [2024-01-14 14:21:34.134] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Accu_Forecast_forecast'. [2024-01-14 14:21:34.138] [debug] [weather.cpp:278] [610] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-14 07:00 to forecast list. [2024-01-14 14:21:34.138] [debug] [weather.cpp:278] [610] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-15 07:00 to forecast list. [2024-01-14 14:21:34.138] [debug] [weather.cpp:278] [610] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-16 07:00 to forecast list. [2024-01-14 14:21:34.138] [debug] [weather.cpp:278] [610] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-17 07:00 to forecast list. [2024-01-14 14:21:34.138] [debug] [weather.cpp:278] [610] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-18 07:00 to forecast list. [2024-01-14 14:21:34.139] [debug] [entity_manager.cpp:143] [610] Updating NSPanels. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:138] [610] Loaded NSPanel 29::Livingroom. [2024-01-14 14:21:34.139] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/Livingroom/r1_state' to the list of topics to subscribe to. [2024-01-14 14:21:34.139] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/Livingroom/r2_state' to the list of topics to subscribe to. [2024-01-14 14:21:34.139] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/Livingroom/log' to the list of topics to subscribe to. [2024-01-14 14:21:34.139] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/Livingroom/status' to the list of topics to subscribe to. [2024-01-14 14:21:34.139] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/Livingroom/status_report' to the list of topics to subscribe to. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:600] [610] Registring NSPanel 29::Livingroom entities to Home Assistant via MQTT AutoReg. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:627] [610] Registring temp sensor for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:644] [610] Registring relay1 as relay for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:665] [610] Registring relay2 as relay for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:683] [610] Registring screenstate switch for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.139] [debug] [nspanel.cpp:694] [610] Registring screen brightness for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.140] [debug] [nspanel.cpp:705] [610] Registring screensaver brightness for NSPanel 29::Livingroom to Home Assistant. [2024-01-14 14:21:34.140] [debug] [nspanel.cpp:498] [610] Requesting NSPanel warnings from: http://127.0.0.1:8000/api/get_nspanels_warnings [pid: 584|app: 0|req: 6/27] 127.0.0.1 () {30 vars in 381 bytes} [Sun Jan 14 14:21:34 2024] GET /api/get_nspanels_warnings => generated 172 bytes in 22 msecs (HTTP/1.1 200) 6 headers in 199 bytes (1 switches on core 0) [2024-01-14 14:21:34.162] [debug] [nspanel.cpp:514] [610] Found warnings from manager matching MAC E0:E2:E6:0C:CA:00 [2024-01-14 14:21:34.163] [error] [websocket_server.cpp:69] [610] Trying to send data over WebSocket before websocket exists. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:138] [610] Loaded NSPanel 31::US Panel. [2024-01-14 14:21:34.163] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/US Panel/r1_state' to the list of topics to subscribe to. [2024-01-14 14:21:34.163] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/US Panel/r2_state' to the list of topics to subscribe to. [2024-01-14 14:21:34.163] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/US Panel/log' to the list of topics to subscribe to. [2024-01-14 14:21:34.163] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/US Panel/status' to the list of topics to subscribe to. [2024-01-14 14:21:34.163] [debug] [mqtt_manager.hpp:27] [610] Adding 'nspanel/US Panel/status_report' to the list of topics to subscribe to. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:600] [610] Registring NSPanel 31::US Panel entities to Home Assistant via MQTT AutoReg. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:627] [610] Registring temp sensor for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:644] [610] Registring relay1 as relay for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:665] [610] Registring relay2 as relay for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:683] [610] Registring screenstate switch for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.163] [debug] [nspanel.cpp:694] [610] Registring screen brightness for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.164] [debug] [nspanel.cpp:705] [610] Registring screensaver brightness for NSPanel 31::US Panel to Home Assistant. [2024-01-14 14:21:34.164] [debug] [nspanel.cpp:498] [610] Requesting NSPanel warnings from: http://127.0.0.1:8000/api/get_nspanels_warnings [pid: 584|app: 0|req: 7/28] 127.0.0.1 () {30 vars in 381 bytes} [Sun Jan 14 14:21:34 2024] GET /api/get_nspanels_warnings => generated 172 bytes in 21 msecs (HTTP/1.1 200) 6 headers in 199 bytes (1 switches on core 0) [2024-01-14 14:21:34.186] [debug] [nspanel.cpp:514] [610] Found warnings from manager matching MAC C0:49:EF:60:C2:2C [2024-01-14 14:21:34.186] [error] [websocket_server.cpp:69] [610] Trying to send data over WebSocket before websocket exists. [2024-01-14 14:21:34.186] [debug] [entity_manager.cpp:151] [610] Checking for removed NSPanels. [2024-01-14 14:21:34.186] [debug] [entity_manager.cpp:172] [610] Updating lights. [2024-01-14 14:21:34.186] [debug] [light.cpp:45] [610] Loading light 19::Spegel. [2024-01-14 14:21:34.186] [debug] [light.cpp:39] [610] Light 19::Spegel base loaded, can dim: yes, can color temp: yes, can_rgb: yes. [2024-01-14 14:21:34.186] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Brightness'. [2024-01-14 14:21:34.189] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_ColorTemperature'. [2024-01-14 14:21:34.190] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Color'. [2024-01-14 14:21:34.191] [debug] [openhab_light.cpp:62] [610] Loaded light 19::Spegel. [2024-01-14 14:21:34.191] [debug] [light.cpp:45] [610] Loading light 21::Köksbord. [2024-01-14 14:21:34.191] [debug] [light.cpp:39] [610] Light 21::Köksbord base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.191] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheMoon_Brightness'. [2024-01-14 14:21:34.192] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheMoon_ColorTemperature'. [2024-01-14 14:21:34.193] [debug] [openhab_light.cpp:62] [610] Loaded light 21::Köksbord. [2024-01-14 14:21:34.194] [debug] [light.cpp:45] [610] Loading light 22::Skrivbord. [2024-01-14 14:21:34.194] [debug] [light.cpp:39] [610] Light 22::Skrivbord base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.194] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'DesktopBlue_Brightness'. [2024-01-14 14:21:34.195] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'DesktopBlue_ColorTemperature'. [2024-01-14 14:21:34.196] [debug] [openhab_light.cpp:62] [610] Loaded light 22::Skrivbord. [2024-01-14 14:21:34.196] [debug] [light.cpp:45] [610] Loading light 23::Säng. [2024-01-14 14:21:34.196] [debug] [light.cpp:39] [610] Light 23::Säng base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.196] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheChinese_Brightness'. [2024-01-14 14:21:34.197] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheChinese_ColorTemperature'. [2024-01-14 14:21:34.199] [debug] [openhab_light.cpp:62] [610] Loaded light 23::Säng. [2024-01-14 14:21:34.199] [debug] [light.cpp:45] [610] Loading light 24::Gardin. [2024-01-14 14:21:34.199] [debug] [light.cpp:39] [610] Light 24::Gardin base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.199] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheBroken_Brightness'. [2024-01-14 14:21:34.200] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'TheBroken_ColorTemperature'. [2024-01-14 14:21:34.201] [debug] [openhab_light.cpp:62] [610] Loaded light 24::Gardin. [2024-01-14 14:21:34.201] [debug] [light.cpp:45] [610] Loading light 25::Tak. [2024-01-14 14:21:34.201] [debug] [light.cpp:39] [610] Light 25::Tak base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.201] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'RetroYellow_Brightness'. [2024-01-14 14:21:34.202] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'RetroYellow_ColorTemperature'. [2024-01-14 14:21:34.203] [debug] [openhab_light.cpp:62] [610] Loaded light 25::Tak. [2024-01-14 14:21:34.203] [debug] [light.cpp:45] [610] Loading light 27::Spegel. [2024-01-14 14:21:34.204] [debug] [light.cpp:39] [610] Light 27::Spegel base loaded, can dim: no, can color temp: no, can_rgb: no. [2024-01-14 14:21:34.204] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Outlet2LightsMirror_Brightness'. [2024-01-14 14:21:34.205] [debug] [openhab_light.cpp:62] [610] Loaded light 27::Spegel. [2024-01-14 14:21:34.205] [debug] [light.cpp:45] [610] Loading light 28::Stjärna. [2024-01-14 14:21:34.205] [debug] [light.cpp:39] [610] Light 28::Stjärna base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.205] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Star_Brightness'. [2024-01-14 14:21:34.206] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Star_ColorTemperature'. [2024-01-14 14:21:34.207] [debug] [openhab_light.cpp:62] [610] Loaded light 28::Stjärna. [2024-01-14 14:21:34.207] [debug] [light.cpp:45] [610] Loading light 30::Ljusstake. [2024-01-14 14:21:34.207] [debug] [light.cpp:39] [610] Light 30::Ljusstake base loaded, can dim: no, can color temp: no, can_rgb: no. [2024-01-14 14:21:34.207] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'OutletChristmasCandles_Brightness'. [2024-01-14 14:21:34.208] [debug] [openhab_light.cpp:62] [610] Loaded light 30::Ljusstake. [2024-01-14 14:21:34.208] [debug] [light.cpp:45] [610] Loading light 31::Damen. [2024-01-14 14:21:34.208] [debug] [light.cpp:39] [610] Light 31::Damen base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.208] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Lady_Brightness'. [2024-01-14 14:21:34.209] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Lady_ColorTemperature'. [2024-01-14 14:21:34.211] [debug] [openhab_light.cpp:62] [610] Loaded light 31::Damen. [2024-01-14 14:21:34.211] [debug] [light.cpp:45] [610] Loading light 32::Stove. [2024-01-14 14:21:34.211] [debug] [light.cpp:39] [610] Light 32::Stove base loaded, can dim: yes, can color temp: yes, can_rgb: no. [2024-01-14 14:21:34.211] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Stove_Brightness'. [2024-01-14 14:21:34.212] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'Stove_ColorTemperature'. [2024-01-14 14:21:34.213] [debug] [openhab_light.cpp:62] [610] Loaded light 32::Stove. [2024-01-14 14:21:34.213] [debug] [light.cpp:45] [610] Loading light 33::Zink. [2024-01-14 14:21:34.213] [debug] [light.cpp:39] [610] Light 33::Zink base loaded, can dim: yes, can color temp: no, can_rgb: no. [2024-01-14 14:21:34.213] [debug] [openhab_manager.cpp:124] [610] Trying to fetch item state from OpenHAB for item 'LedDriversKitchen_Brightness'. [2024-01-14 14:21:34.214] [debug] [openhab_light.cpp:62] [610] Loaded light 33::Zink. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:184] [610] Existing lights updated. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:187] [610] Checking for removed lights. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:212] [610] Updating rooms. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:216] [610] Trying to get room by id. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:218] [610] Got result. Trying to get mutex. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:220] [610] Got mutex. [2024-01-14 14:21:34.214] [debug] [room.cpp:16] [610] Room 2::Kitchen initialized. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:216] [610] Trying to get room by id. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:218] [610] Got result. Trying to get mutex. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:220] [610] Got mutex. [2024-01-14 14:21:34.214] [debug] [room.cpp:16] [610] Room 4::Bedroom initialized. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:216] [610] Trying to get room by id. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:218] [610] Got result. Trying to get mutex. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:220] [610] Got mutex. [2024-01-14 14:21:34.214] [debug] [room.cpp:16] [610] Room 6::Entryway initialized. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:216] [610] Trying to get room by id. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:218] [610] Got result. Trying to get mutex. [2024-01-14 14:21:34.214] [debug] [entity_manager.cpp:220] [610] Got mutex. [2024-01-14 14:21:34.214] [debug] [room.cpp:16] [610] Room 7::Bathroom initialized. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:216] [610] Trying to get room by id. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:218] [610] Got result. Trying to get mutex. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:220] [610] Got mutex. [2024-01-14 14:21:34.215] [debug] [room.cpp:16] [610] Room 8::Livingroom initialized. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:229] [610] Existing rooms updated. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:232] [610] Checking for removed rooms. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:262] [610] Updating NSPanel relay groups. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:268] [610] Existing relay groups updated. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:272] [610] Checking for removed relay groups. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:301] [610] Updating scenes. [2024-01-14 14:21:34.215] [debug] [nspm_scene.cpp:24] [610] Loading NSPM scene 6:: Livingroom 1. [2024-01-14 14:21:34.215] [debug] [nspm_scene.cpp:37] [610] Loaded scene 6:: Livingroom 1. [2024-01-14 14:21:34.215] [debug] [nspm_scene.cpp:24] [610] Loading NSPM scene 7::Filmscen. [2024-01-14 14:21:34.215] [debug] [nspm_scene.cpp:37] [610] Loaded scene 7::Filmscen. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:307] [610] Existing scenes updated. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:311] [610] Checking for removed scenes. [2024-01-14 14:21:34.215] [info] [entity_manager.cpp:338] [610] Performing post init on 7 entities. [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 3 with id 2 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 3 with id 4 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 3 with id 6 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 3 with id 7 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 3 with id 8 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 1 with id 6 [2024-01-14 14:21:34.215] [debug] [entity_manager.cpp:340] [610] Performing PostInit on entity type 1 with id 7 [2024-01-14 14:21:34.215] [info] [entity_manager.cpp:344] [610] Total loaded lights: 12 [2024-01-14 14:21:34.215] [info] [entity_manager.cpp:345] [610] Total loaded NSPanels: 2 [2024-01-14 14:21:34.215] [info] [entity_manager.cpp:346] [610] Total loaded Entities: 7 [2024-01-14 14:21:34.215] [info] [main.cpp:98] [610] Starting Websocket Server on port 8002. [2024-01-14 14:21:34.215] [info] [main.cpp:112] [610] Config loaded. Starting components. [2024-01-14 14:21:34.215] [info] [main.cpp:116] [610] Waiting for MQTT to connect before proceeding. [2024-01-14 14:21:34.216] [info] [mqtt_manager.cpp:45] [612] Connecting to the MQTT Server... [2024-01-14 14:21:34.216] [debug] [websocket_server.cpp:14] [611] Creating new ix::WebSocketServer. [2024-01-14 14:21:34.216] [debug] [websocket_server.cpp:20] [611] Start listening for websocket connection on 0.0.0.0:8002. [2024-01-14 14:21:34.216] [debug] [websocket_server.cpp:24] [611] Successfully bound to 0.0.0.0:8002 [2024-01-14 14:21:34.317] [info] [mqtt_manager.cpp:47] [612] Connected to server. [2024-01-14 14:21:34.317] [debug] [mqtt_manager.cpp:106] [612] Subscribing to registered MQTT topics. [2024-01-14 14:21:34.318] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/US Panel/status [2024-01-14 14:21:34.318] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/US Panel/status. Got code: 0 [2024-01-14 14:21:34.419] [debug] [nspanel.cpp:286] [612] NSPanel 31::US Panel became ONLINE. [2024-01-14 14:21:34.519] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/US Panel/log [2024-01-14 14:21:34.520] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/US Panel/log. Got code: 0 [2024-01-14 14:21:34.620] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/US Panel/r1_state [2024-01-14 14:21:34.621] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/US Panel/r1_state. Got code: 0 [2024-01-14 14:21:34.721] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/Livingroom/status_report [2024-01-14 14:21:34.722] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/Livingroom/status_report. Got code: 0 [2024-01-14 14:21:34.922] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/Livingroom/status [2024-01-14 14:21:34.923] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/Livingroom/status. Got code: 0 [2024-01-14 15:21:35.023] [debug] [nspanel.cpp:286] [612] NSPanel 29::Livingroom became ONLINE. [2024-01-14 15:21:35.124] [debug] [mqtt_manager.cpp:111] [612] Subscribing to topic nspanel/US Panel/status_report [2024-01-14 15:21:35.125] [debug] [mqtt_manager.cpp:114] [612] Subscribed to nspanel/US Panel/status_report. Got code: 0 [2024-01-14 15:21:35.215] [warning] [main.cpp:125] [610] Home Assistant address and/or token missing. Won't start Home Assistant component. [2024-01-14 15:21:35.215] [info] [main.cpp:129] [610] Openhab address and access token configured. Starting Openhab component. [2024-01-14 15:21:35.216] [debug] [openhab_manager.cpp:19] [618] Initializing Openhab Manager component. [2024-01-14 15:21:35.216] [info] [openhab_manager.cpp:44] [618] Will connect to Openhab websocket at ws://192.168.32.202:8080/ws [2024-01-14 15:21:35.216] [debug] [openhab_manager.cpp:45] [618] Appending Openhab access token to url. [2024-01-14 15:21:35.216] [info] [openhab_manager.cpp:212] [620] Started Openhab keepalive thread. [2024-01-14 15:21:35.220] [info] [openhab_manager.cpp:68] [619] Connected to Openhab websocket. [2024-01-14 15:21:35.220] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Accu_Forecast_forecast'. [2024-01-14 15:21:35.225] [debug] [weather.cpp:278] [619] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-14 07:00 to forecast list. [2024-01-14 15:21:35.225] [debug] [weather.cpp:278] [619] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-15 07:00 to forecast list. [2024-01-14 15:21:35.225] [debug] [weather.cpp:278] [619] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-16 07:00 to forecast list. [2024-01-14 15:21:35.225] [debug] [weather.cpp:278] [619] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-17 07:00 to forecast list. [2024-01-14 15:21:35.225] [debug] [weather.cpp:278] [619] Adding OpenHAB weather(OpenWeatherMap) for 2024-01-18 07:00 to forecast list. [2024-01-14 15:21:35.226] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Accu_Weather_weather'. [2024-01-14 15:21:35.228] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'DesktopBlue_Brightness'. [2024-01-14 15:21:35.229] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'DesktopBlue_ColorTemperature'. [2024-01-14 15:21:35.231] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Lady_Brightness'. [2024-01-14 15:21:35.232] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Lady_ColorTemperature'. [2024-01-14 15:21:35.233] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'LedDriversKitchen_Brightness'. [2024-01-14 15:21:35.234] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Brightness'. [2024-01-14 15:21:35.235] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_Color'. [2024-01-14 15:21:35.236] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'LedstripBathroom_ColorTemperature'. [2024-01-14 15:21:35.238] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Outlet2LightsMirror_Brightness'. [2024-01-14 15:21:35.239] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'OutletChristmasCandles_Brightness'. [2024-01-14 15:21:35.240] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'RetroYellow_Brightness'. [2024-01-14 15:21:35.241] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'RetroYellow_ColorTemperature'. [2024-01-14 15:21:35.241] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Star_Brightness'. [2024-01-14 15:21:35.242] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Star_ColorTemperature'. [2024-01-14 15:21:35.243] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Stove_Brightness'. [2024-01-14 15:21:35.244] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'Stove_ColorTemperature'. [2024-01-14 15:21:35.245] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheBroken_Brightness'. [2024-01-14 15:21:35.245] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheBroken_ColorTemperature'. [2024-01-14 15:21:35.246] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheChinese_Brightness'. [2024-01-14 15:21:35.247] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheChinese_ColorTemperature'. [2024-01-14 15:21:35.248] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheMoon_Brightness'. [2024-01-14 15:21:35.249] [debug] [openhab_manager.cpp:124] [619] Trying to fetch item state from OpenHAB for item 'TheMoon_ColorTemperature'. [2024-01-14 15:21:35.425] [debug] [entity_manager.cpp:362] [612] Got message on 'nspanel/mqttmanager/command'. Message: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:21:35.425] [debug] [entity_manager.cpp:382] [612] Received command payload: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:21:35.425] [info] [entity_manager.cpp:483] [612] Got register request from NSPanel with name NSPMPanel and MAC: 7C:87:CE:C8:36:80 [2024-01-14 15:21:35.425] [info] [entity_manager.cpp:496] [612] Panel is not registered to manager, adding panel but as 'pending accept' status. [2024-01-14 15:21:35.426] [debug] [nspanel.cpp:140] [612] Loaded NSPanel NSPMPanel with no ID.

Unpower new panel, restart manager: Works. Seems like the panel that we removed are causing issues when it is powered up during the start of the manager.

Powering up the panel again that seems to cause the crash. The manager stops working straight away:

Log:

[2024-01-14 15:25:54.681] [debug] [nspanel.cpp:514] [651] Found warnings from manager matching MAC E0:E2:E6:0C:CA:00 [2024-01-14 15:25:54.681] [debug] [entity_manager.cpp:550] [651] Requesting state from NSPanel 31::US Panel [2024-01-14 15:25:54.681] [debug] [nspanel.cpp:498] [651] Requesting NSPanel warnings from: http://127.0.0.1:8000/api/get_nspanels_warnings [pid: 583|app: 0|req: 8/57] 127.0.0.1 () {30 vars in 381 bytes} [Sun Jan 14 14:25:54 2024] GET /api/get_nspanels_warnings => generated 172 bytes in 23 msecs (HTTP/1.1 200) 6 headers in 199 bytes (1 switches on core 0) [2024-01-14 15:25:54.705] [debug] [nspanel.cpp:514] [651] Found warnings from manager matching MAC C0:49:EF:60:C2:2C [2024-01-14 15:26:09.815] [debug] [entity_manager.cpp:362] [636] Got message on 'nspanel/mqttmanager/command'. Message: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:26:09.815] [debug] [entity_manager.cpp:382] [636] Received command payload: {"command":"register_request","mac_origin":"7C:87:CE:C8:36:80","friendly_name":"NSPMPanel","version":"0.0.1564","md5_firmware":"194a1b592bd515a666718228cb1ead29","md5_data_file":"7e091411c7bead311aad63bddb4cbcfe","md5_tft_file":"3fd98563f1dbb250d3e9f8cc0e9779bc","address":"192.168.32.76"} [2024-01-14 15:26:09.815] [info] [entity_manager.cpp:483] [636] Got register request from NSPanel with name NSPMPanel and MAC: 7C:87:CE:C8:36:80 [2024-01-14 15:26:09.815] [info] [entity_manager.cpp:496] [636] Panel is not registered to manager, adding panel but as 'pending accept' status. [2024-01-14 15:26:09.815] [debug] [nspanel.cpp:140] [636] Loaded NSPanel NSPMPanel with no ID. [2024-01-14 15:26:13.926] [error] [mqtt_manager.cpp:68] [636] Lost connection [2024-01-14 15:26:14.176] [info] [mqtt_manager.cpp:72] [636] Established connection to MQTT server. [2024-01-14 15:26:14.176] [debug] [mqtt_manager.cpp:106] [636] Subscribing to registered MQTT topics. [2024-01-14 15:26:14.177] [debug] [mqtt_manager.cpp:111] [636] Subscribing to topic nspanel/US Panel/status [2024-01-14 15:26:14.177] [debug] [mqtt_manager.cpp:114] [636] Subscribed to nspanel/US Panel/status. Got code: 0

tpanajott commented 5 months ago

With the latest fixes I cannot reproduce. Please test again with latest release and report back.

cablesandcoffee commented 5 months ago

Nice, cant reproduce either!