moroen / IKEA-Tradfri-plugin

A Python plugin for Domoticz to controll IKEA Gateway
68 stars 23 forks source link

Plugin not initializing #95

Closed AvdWerfhorst closed 4 years ago

AvdWerfhorst commented 4 years ago

As I bought blinds this week, I tried to replace the plugin with the latest version, to get support for them. For some reason it does not start for me. When I do the command 'python3 tradfricoap.py list', I do get a nice list of devices, including my blinds.

When I start Domoticz (or disable and enable the plugin) I get this in my log file.

2020-01-16 14:59:03.660 Status: (Tradfri) Started. 2020-01-16 14:59:03.926 Status: (Tradfri) Entering work loop. 2020-01-16 14:59:03.926 Status: (Tradfri) Initialized version 0.7.2, author 'moroen' 2020-01-16 14:59:03.932 Error: (Tradfri) 'onStart' failed 'ValueError'. 2020-01-16 14:59:03.932 Error: (Tradfri) ----> Line 413 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py' 2020-01-16 14:59:03.932 Error: (Tradfri) ----> Line 297 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py

moroen commented 4 years ago

You probaby have some stale values in the configuration for the plugin in Domoticz. Select the plugin in the hardware page, and make sure that the values looks sane, and press "Update".

AvdWerfhorst commented 4 years ago

Thank you. I did get it working. Polling interval did have False as value instead of a number.