Closed Sarcas666 closed 3 years ago
The plugin spends to much time when processing the onHeartbeat event. This is more likely to occur on slower hardware (i.e Raspberry), slow networks and the more devices you have. Rebooting the gateway from time to time might help as a stopgap measure, using py3coap is somewhat better than coapcmd, and disabling polling for changes should certainly help...
I'm working on a rewrite that should mitigate this, but it's far from done...
I understand. In the meantime I'll try to automate this remote reboot script I found somewhere. I'm an amateur with python so we'll see :)
https://antoinealb.net/2019/08/10/automatically-rebooting-tradfri-gateway.html
Thanks for the reply and the plugin!
S.
You can also schedule a reboot from domoticz. The latest version of the plugin introduced a reboot-button, search for reboot in the device-list, and you should find it. This button can be added and scheduled just like any other device...
The reboot button saved me a lot of time 👍 It is rebooting now every two hours but I still get the errors after only a couple of minutes already. I confirmed using py3coap, I disabled polling. Network speed is fine (rpi3 is cabled, router logs show no problems. rpi3 cpu utilization rarely gets over 5%. I am running low on memory though. I guess I need to get a new rpi.
I'm constantly trying to optimize the plugin, but I think a RPI is getting more and more underpowered for a domoticz system, this might change with the newest version of the Pi though, I haven't been using a PI for domoticz for ages...
I would recommed getting a cheap NUC, running linux if you consider domoticz to be a critical system in your house...
Thanks for your replies. My rpi hardly seems impressed by the thing I run on it. CPU% rarely >6%. The plugin can run fine for hours, and then suddenly get into troubles. The hub doesn’t listen to the reboot command anymore when this happens. I’ve been checking the Domoticz community and a lot of ppl are running more on their rpi then I am doing. I do not mean to criticize your plugin, I just want to share my little experiences since you do not run on a rpi yourself. Perhaps I can give some feedback which can help you in any way.
I enabled debug mode and searched the log for problems. This seems to happen when things go wrong, this is one second of the domoticz log:
2020-11-16 04:12:23.541 (IKEA plugin) Finnished command
2020-11-16 04:12:23.542 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.542 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.542 (IKEA plugin) onCommand called for Unit 6: Parameter 'On', Level: 9
2020-11-16 04:12:23.562 (IKEA plugin) Finnished command
2020-11-16 04:12:23.562 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.562 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.563 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.563 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.584 (IKEA plugin) Ikea Level: 254
2020-11-16 04:12:23.585 (IKEA plugin) Finnished command
2020-11-16 04:12:23.585 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.585 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.586 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.586 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.608 (IKEA plugin) Ikea Level: 254
2020-11-16 04:12:23.608 (IKEA plugin) Finnished command
2020-11-16 04:12:23.609 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.609 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.609 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.609 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.632 (IKEA plugin) Ikea Level: 254
2020-11-16 04:12:23.632 (IKEA plugin) Finnished command
2020-11-16 04:12:23.633 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.633 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.633 (IKEA plugin) onCommand called for Unit 4: Parameter 'On', Level: 24
2020-11-16 04:12:23.655 (IKEA plugin) Finnished command
2020-11-16 04:12:23.655 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.655 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.656 (IKEA plugin) onCommand called for Unit 2: Parameter 'On', Level: 24
2020-11-16 04:12:23.678 (IKEA plugin) Finnished command
2020-11-16 04:12:23.678 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.678 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.679 (IKEA plugin) onCommand called for Unit 6: Parameter 'On', Level: 9
2020-11-16 04:12:23.716 (IKEA plugin) Finnished command
2020-11-16 04:12:23.717 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.717 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.717 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.718 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.740 (IKEA plugin) Ikea Level: 254
2020-11-16 04:12:23.741 (IKEA plugin) Finnished command
2020-11-16 04:12:23.741 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.741 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.741 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.742 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.764 (IKEA plugin) Ikea Level: 254
2020-11-16 04:12:23.764 (IKEA plugin) Finnished command
2020-11-16 04:12:23.764 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.764 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.765 (IKEA plugin) onCommand called for Unit 16: Parameter 'On', Level: 0
2020-11-16 04:12:23.765 (IKEA plugin) Reboot IKEA Gateway called
2020-11-16 04:12:23.779 (IKEA plugin) Finnished command
2020-11-16 04:12:23.779 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.780 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.780 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.781 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.802 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.802 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.803 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.803 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.803 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.803 (IKEA plugin) onCommand called for Unit 4: Parameter 'On', Level: 24
2020-11-16 04:12:23.807 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.808 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.808 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.808 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.809 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.809 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.809 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.809 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.811 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.811 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.812 (IKEA plugin) onCommand called for Unit 2: Parameter 'On', Level: 24
2020-11-16 04:12:23.817 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.817 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.817 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.817 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.818 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.818 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.818 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.818 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.819 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.819 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.819 (IKEA plugin) onCommand called for Unit 6: Parameter 'On', Level: 9
2020-11-16 04:12:23.824 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.824 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.824 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.825 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.825 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.825 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.825 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.826 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.826 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.826 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.827 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.827 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.831 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.832 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.832 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.832 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.832 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.832 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.833 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.833 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.833 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.833 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.834 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.835 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.848 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.849 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.849 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.849 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.849 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.849 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.850 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.850 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.850 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.850 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.850 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.850 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.855 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.856 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.856 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.857 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.857 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.858 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.858 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.858 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.859 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.860 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.860 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.860 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.866 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.867 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.867 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.867 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.868 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.868 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.868 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.868 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.868 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.869 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.869 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.869 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.873 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.873 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.874 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.874 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.874 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.874 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.874 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.875 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.875 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.875 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.876 (IKEA plugin) onCommand called for Unit 4: Parameter 'On', Level: 24
2020-11-16 04:12:23.880 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.880 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.880 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.881 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.881 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.881 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.881 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.881 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.882 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.882 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.882 (IKEA plugin) onCommand called for Unit 2: Parameter 'On', Level: 24
2020-11-16 04:12:23.887 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.887 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.887 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.888 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.888 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.888 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.888 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.888 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.889 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.889 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.889 (IKEA plugin) onCommand called for Unit 6: Parameter 'On', Level: 9
2020-11-16 04:12:23.893 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.894 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.894 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.894 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.894 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.895 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.895 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.895 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.895 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.895 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.896 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.896 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.900 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.901 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.901 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.901 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.901 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.901 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.902 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.902 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.902 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.902 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.903 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.903 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.907 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.908 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.909 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.909 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.909 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.909 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.910 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.914 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.914 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.914 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.915 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.915 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.915 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.915 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.915 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.916 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.916 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.916 (IKEA plugin) onCommand called for Unit 4: Parameter 'On', Level: 24
2020-11-16 04:12:23.921 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.921 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.921 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.921 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.922 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.922 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.922 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.922 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.922 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.923 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.923 (IKEA plugin) onCommand called for Unit 2: Parameter 'On', Level: 24
2020-11-16 04:12:23.927 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.927 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.928 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.929 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.929 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.929 (IKEA plugin) onCommand called for Unit 6: Parameter 'On', Level: 9
2020-11-16 04:12:23.933 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.934 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.934 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.934 Error: (IKEA plugin) ----> Line 167 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function State
2020-11-16 04:12:23.934 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.935 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.935 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.935 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.935 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.935 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.936 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.936 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.941 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.941 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.941 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.941 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.941 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.942 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.942 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.942 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.942 (IKEA plugin) Processing 'onCommandCallback' message
2020-11-16 04:12:23.942 (IKEA plugin) Calling message handler 'onCommand'.
2020-11-16 04:12:23.943 (IKEA plugin) onCommand called for Unit 6: Parameter 'Set Level', Level: 100
2020-11-16 04:12:23.943 (IKEA plugin) Command Level: 100
2020-11-16 04:12:23.947 Error: (IKEA plugin) 'onCommand' failed 'JSONDecodeError'.
2020-11-16 04:12:23.948 Error: (IKEA plugin) ----> Line 764 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.948 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.948 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.948 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.948 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.949 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.949 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2020-11-16 04:12:23.949 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-16 04:12:23.949 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-16 04:12:23.950 (IKEA plugin) Command in queue
2020-11-16 04:12:23.950 (IKEA plugin) Trying to execute {'Unit': 19, 'Command': 'Set Level', 'Level': 18} from commandQueue
2020-11-16 04:12:23.950 (IKEA plugin) onCommand called for Unit 19: Parameter 'Set Level', Level: 18
2020-11-16 04:12:23.951 (IKEA plugin) Command Level: 18
2020-11-16 04:12:23.956 (IKEA plugin) Ikea Level: 60
2020-11-16 04:12:23.957 (IKEA plugin) Finnished command
2020-11-16 04:12:23.957 (IKEA plugin) Command in queue
2020-11-16 04:12:23.957 (IKEA plugin) Trying to execute {'Unit': 15, 'Command': 'Set Level', 'Level': 12} from commandQueue
2020-11-16 04:12:23.958 (IKEA plugin) onCommand called for Unit 15: Parameter 'Set Level', Level: 12
2020-11-16 04:12:23.958 (IKEA plugin) Command Level: 12
2020-11-16 04:12:23.964 (IKEA plugin) Ikea Level: 99
2020-11-16 04:12:23.964 (IKEA plugin) Finnished command
2020-11-16 04:12:23.965 (IKEA plugin) Command in queue
2020-11-16 04:12:23.965 (IKEA plugin) Trying to execute {'Unit': 8, 'Command': 'Set Level', 'Level': 6} from commandQueue
2020-11-16 04:12:23.965 (IKEA plugin) onCommand called for Unit 8: Parameter 'Set Level', Level: 6
2020-11-16 04:12:23.966 (IKEA plugin) Command Level: 6
2020-11-16 04:12:23.972 (IKEA plugin) Ikea Level: 48
2020-11-16 04:12:23.972 (IKEA plugin) Finnished command
2020-11-16 04:12:23.972 (IKEA plugin) Command in queue
2020-11-16 04:12:23.973 (IKEA plugin) Trying to execute {'Unit': 13, 'Command': 'Set Level', 'Level': 3} from commandQueue
2020-11-16 04:12:23.973 (IKEA plugin) onCommand called for Unit 13: Parameter 'Set Level', Level: 3
2020-11-16 04:12:23.973 (IKEA plugin) Command Level: 3
2020-11-16 04:12:23.979 (IKEA plugin) Ikea Level: 86
2020-11-16 04:12:23.980 (IKEA plugin) Finnished command
2020-11-16 04:12:23.980 (IKEA plugin) Command in queue
2020-11-16 04:12:23.980 (IKEA plugin) Trying to execute {'Unit': 10, 'Command': 'Set Level', 'Level': 14} from commandQueue
2020-11-16 04:12:23.981 (IKEA plugin) onCommand called for Unit 10: Parameter 'Set Level', Level: 14
2020-11-16 04:12:23.981 (IKEA plugin) Command Level: 14
2020-11-16 04:12:23.985 Error: (IKEA plugin) 'onHeartbeat' failed 'JSONDecodeError'.
2020-11-16 04:12:23.986 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-16 04:12:23.986 Error: (IKEA plugin) ----> Line 719 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-16 04:12:23.986 Error: (IKEA plugin) ----> Line 681 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand
2020-11-16 04:12:23.986 Error: (IKEA plugin) ----> Line 232 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function Level
2020-11-16 04:12:23.986 Error: (IKEA plugin) ----> Line 66 in '/usr/local/lib/python3.7/dist-packages/tradfricoap/device.py', function process_result
2020-11-16 04:12:23.987 Error: (IKEA plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2020-11-16 04:12:23.987 Error: (IKEA plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2020-11-16 04:12:23.987 Error: (IKEA plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
Thanks for your time :)
Those are probably timeouts (#120). I'll improve the handling a bit, and provide better a better error message to confirm that it actually are timeouts. If you have a lot of timeouts, the pending tasks queue will be rather long, and since the queue is processed in OnHearbeat, this might lead to the hardware thread thread seems to have ended unexpectedly error. Such timeouts will also explain why the reboot command doesn't work...
@Sarcas666
I've been unable to reproduce your error, but if you would be as kind as to try updating to the latest version of tradfricoap (0.0.12). I don't think it will solve the error, but hopefully put out a more useful error description. And just to make sure, you're using py3coap?
@Sarcas666
Any changes?
Sorry, I missed your reply. Busy days. I'll update this weekend and report back!
Verstuurd vanaf mijn iPhone
Op 26 nov. 2020 om 11:38 heeft moroen notifications@github.com het volgende geschreven:
@Sarcas666
Any changes?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Updated. I have restarted the rpi and the hub after the update.
Domoticz version 2020.2 build 12705
2020-11-27 10:32:50.801 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:32:50.801 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:32:50.801 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:00.789 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:33:00.789 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:00.789 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:10.808 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:33:10.808 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:10.808 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:20.794 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:33:20.794 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:20.794 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:30.815 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:33:30.815 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:30.815 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:40.834 Error: (IKEA plugin) 'onHeartbeat' failed 'NameError':'name 'close_connection' is not defined'.
2020-11-27 10:33:40.834 Error: (IKEA plugin) ----> Line 779 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
2020-11-27 10:33:40.834 Error: (IKEA plugin) ----> Line 736 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onHeartbeat
What's the output of the version command?
$ pyhon3 plugin.py version
pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ python3 plugin.py version
python3: can't open file 'plugin.py': [Errno 13] Permission denied
pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ sudo python3 plugin.py version
IKEA Tradfri Plugin: 0.10.2
Tradfricoap: 0.0.11
Py3coap: 0.9.1
coapcmd: (/home/pi/domoticz/plugins/IKEA-Tradfri/bin/coapcmd) 0.1.6
Try updating to the latest version of tradfricoap (0.0.14)...
So far so good after updating tradfricoap to 0.0.14
2020-11-27 12:02:13.291 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:02:13.334 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:02:13.334 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:02:23.293 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:02:23.306 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:02:23.306 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:02:33.295 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:02:33.325 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:02:33.325 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:02:43.297 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:02:43.330 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:02:43.330 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:02:53.299 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:02:53.310 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:02:53.310 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:03:05.062 (IKEA plugin - Verlichting aanrecht) Updating device from 1:'49' to have values 1:'24'.
2020-11-27 12:03:05.080 (IKEA plugin) Ikea Level: 63
2020-11-27 12:03:05.080 (IKEA plugin) Finnished command
2020-11-27 12:03:05.081 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:03:05.081 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:03:15.084 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:03:15.106 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:03:15.106 (IKEA plugin) Calling message handler 'onHeartbeat'.
2020-11-27 12:03:25.086 (IKEA plugin) Pushing 'onHeartbeatCallback' on to queue
2020-11-27 12:03:25.124 (IKEA plugin) Processing 'onHeartbeatCallback' message
2020-11-27 12:03:25.124 (IKEA plugin) Calling message handler 'onHeartbeat'.
I think things are as stable as possible now. I noticed problems occur at the same time with another python error so that might be a thing beyond your control.
2020-12-11 21:51:11.613 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:51:11.613 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:51:25.617 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:51:25.618 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:51:39.627 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:51:39.627 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:51:53.630 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:52:49.641 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:53:03.645 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:53:03.645 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:53:17.648 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:53:17.648 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:53:31.651 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:53:31.651 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:53:45.654 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:53:45.655 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:53:59.658 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:53:59.658 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:54:13.662 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:54:13.662 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:54:27.665 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
2020-12-11 21:54:27.665 Error: Python Plugins Manager hardware (21) thread seems to have ended unexpectedly
2020-12-11 21:54:41.668 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly
This happens once or twice a day both errors happening at the same time. It seems to recover by itself. So I am closing my issue here.
Hi there,
I am getting a lot of these errors. The various bulbs are responding sometimes, not always. After a while they don’t respond anymore. they do respond to the ikea app. disabling/enabling the plugin makes domoticz crash.
rpi3 - buster - plugin version 0.10.01 - domoticz 2020.2 (build 12554)
2020-11-09 15:02:19.718 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:02:33.722 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:02:47.729 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:03:01.734 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:03:15.738 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:03:29.741 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:03:43.745 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:03:57.748 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:04:11.752 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:04:25.758 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:04:39.762 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:04:53.780 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:05:09.219 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:05:23.223 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:05:37.226 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:05:51.255 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:06:05.280 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:06:19.301 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:06:33.321 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:07:43.461 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:07:57.481 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:08:11.515 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:08:25.518 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:08:39.535 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:08:53.547 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:09:07.551 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:09:21.554 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:09:35.557 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:09:49.565 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:10:04.983 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:10:18.987 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:10:33.010 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:10:47.041 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:11:01.067 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:11:15.100 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:11:29.128 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:11:43.160 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:11:57.179 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:12:11.187 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:12:25.191 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:12:39.195 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:12:53.199 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:13:07.205 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:13:21.209 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:13:35.212 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:13:49.216 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:14:03.220 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:14:17.224 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:14:31.228 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:14:45.234 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:14:59.243 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:15:14.736 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:15:28.740 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:15:42.743 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:15:56.747 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:16:10.751 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:16:24.755 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:16:38.758 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:16:52.763 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:17:06.769 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:17:20.772 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:17:34.780 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:17:48.783 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:18:02.790 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:18:16.793 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:18:30.797 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:18:44.801 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:18:58.804 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:19:12.809 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:19:26.817 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:19:40.821 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:19:54.824 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:20:10.213 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:20:24.217 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:20:38.220 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:20:52.223 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:21:06.227 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:21:20.233 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:21:34.260 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:21:48.287 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:22:02.330 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:22:16.336 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:22:30.347 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:22:44.350 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:22:58.354 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:23:12.367 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly 2020-11-09 15:23:26.400 Error: IKEA plugin hardware (20) thread seems to have ended unexpectedly