moroen / IKEA-Tradfri-plugin

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

No longer turning the lights on. #113

Closed Dutchy-79 closed 3 years ago

Dutchy-79 commented 4 years ago

When turning the lights on I get this error.

Tradfri/plugin.py', function onCommand
2020-09-02 12:10:47.198 Error: (Ikea Tradfri) ----> Line 615 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand

When checking the list like Readme says they are there. Also with ikea remote and app the lights work.

SBergers commented 4 years ago

I have the exact same thing with just one of the devices in my Ikea-environment. I have 3 lights: Buitenlamp Achter, Servieskast and TV-Verlichting. The TV-Verlichting is a aomplifier for spots on a closet, which is lead through the Servieskast. However, i can control everything from the ikea app, when trying from domoticz all lights work accept the Servieskast. I get these errors in log:

2020-09-15 13:14:24.752 Status: User: Sander initiated a switch command (123/Servieskast/On) 2020-09-15 13:14:24.768 Error: (IKEA Tradfri) 'onCommand' failed 'KeyError'. 2020-09-15 13:14:24.768 Error: (IKEA Tradfri) ----> Line 703 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand 2020-09-15 13:14:24.768 Error: (IKEA Tradfri) ----> Line 624 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py', function onCommand

Bolten88 commented 4 years ago

Since today the switches react very bad or not at all. But i do not see any errors in the log. When i click to turn on a light just nothing is happening. This morning i saw in the IKEA app that there were updates installed. Did this broke the plugin?

basrieter commented 4 years ago

Noticed the same after the update. But there are not errors in the logfile. So this seems to be a new and different issue.

moroen commented 4 years ago

The last issue is something different, related to the latest update of the firmware. Take a look at #114

bigus19 commented 4 years ago

Hello, I have also issue with lights, but some different. I have 4 bulbs from Ikea. When I turn on/off ONE of them - this ONE bulb works OK. But after that any other bulb don't work with Domoticz... but don't work only for ~45 seconds... After that time I can turn on/off another bulb and the error repeats. It looks like a delay is triggered and the gate doesn't accept any new commands for this time.

There aren't any issues in Domoticz log.

Device log: 2020-09-17 21:58:17 | On | admin 2020-09-17 21:57:32 | Off | admin

Domoticz log: 2020-09-17 21:57:32.319 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/Off) 2020-09-17 21:57:34.466 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:36.053 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:37.513 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:38.959 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:40.651 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:45.073 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:47.918 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:53.909 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:57:59.053 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:02.797 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:07.642 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:09.505 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:11.159 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:13.510 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:15.142 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On) 2020-09-17 21:58:17.370 Status: User: admin initiated a switch command (202/Lampa - Gabinet (Z1)/On)

Only bolds commands works correct.

basrieter commented 4 years ago

@bigus19 Check https://github.com/moroen/IKEA-Tradfri-plugin/issues/114

moroen commented 3 years ago

Handled in the latest master, closing issue.