Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Posted: Tuesday 21 August 2018 13:22
Sorry for the late reply! It would appear that you're using the latest beta of domoticz?Philos31 wrote: ↑Tuesday 21 August 2018 10:18 Hi, I am allready busy for 2 days to get this working.
Everything seems ok, but there is something strange going on.
In the domoticz log I see:When I try:Code: Select all
2018-08-21 10:04:21.915 Error: (Tradfri) ----> Line 280 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py, function onMessage 2018-08-21 10:04:21.915 Error: (Tradfri) ----> Line 190 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py, function onMessage 2018-08-21 10:04:22.567 Error: (Tradfri) ----> Line 280 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py, function onMessage 2018-08-21 10:04:22.567 Error: (Tradfri) ----> Line 190 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py, function onMessage
It is stuck when initializingCode: Select all
python3 tradfri.tac
And it stays initializing, doing nothing further...Code: Select all
IKEA-tradfri COAP-adaptor version 0.6 started (command line)! Connected from IPv4Address(type='TCP', host='127.0.0.1', port=52704) Data received: b'{"identity": "domoticz", "gateway": "192.168.1.136", "action": "setConfig", "pollinterval": "30", "groups": "False", "psk": "*****************", "observe": "True"}' Initializing gateway
Any idea?
I commited a small fix to the development-branch of the plugin a couple of days ago, that should address this issue. If it still fails, feel free to open a issue on github or let me know here in the forum.
Regards,
M