Wizzard72 / Domoticz-Unifi-Presence

GNU General Public License v3.0
5 stars 7 forks source link

'onStart' failed 'JSONDecodeError'. #2

Closed 5bomen closed 3 years ago

5bomen commented 3 years ago

The plugin generates these error messages. Running on Dream Machine Pro. Did a git pull today.

2021-01-10 23:42:00.382 Error: (Unifi Presence) 'onStart' failed 'JSONDecodeError'. 2021-01-10 23:42:00.382 Error: (Unifi Presence) ----> Line 872 in '/home/pi/domoticz/plugins/Domoticz-Unifi-Presence/plugin.py', function onStart 2021-01-10 23:42:00.382 Error: (Unifi Presence) ----> Line 215 in '/home/pi/domoticz/plugins/Domoticz-Unifi-Presence/plugin.py', function onStart 2021-01-10 23:42:00.382 Error: (Unifi Presence) ----> Line 706 in '/home/pi/domoticz/plugins/Domoticz-Unifi-Presence/plugin.py', function detectUnifiDevices 2021-01-10 23:42:00.382 Error: (Unifi Presence) ----> Line 900 in '/usr/local/lib/python3.7/dist-packages/requests/models.py', function json 2021-01-10 23:42:00.382 Error: (Unifi Presence) ----> Line 518 in '/usr/lib/python3/dist-packages/simplejson/__init__.py', function loads 2021-01-10 23:42:00.383 Error: (Unifi Presence) ----> Line 370 in '/usr/lib/python3/dist-packages/simplejson/decoder.py', function decode 2021-01-10 23:42:00.383 Error: (Unifi Presence) ----> Line 400 in '/usr/lib/python3/dist-packages/simplejson/decoder.py', function raw_decode

Wizzard72 commented 3 years ago

Plugin is updated. Can you check if it's working now. Also delete all the devices this plugin has created before stopping and starting the plugin.

Wizzard72 commented 3 years ago

No new comment. Closing this issue.