[REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Moderator: leecollings
-
- Posts: 2
- Joined: Wednesday 04 October 2017 12:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I succeeded in starting domoticz again by deleting the device in the domoticz.db.
I tried to add another switch with the green arrow from the devices table (another bulb) and when I change the status of the switch (dim or on/off), domoticz crashed again with seg fault.
I really don't understand ...
I tried to add another switch with the green arrow from the devices table (another bulb) and when I change the status of the switch (dim or on/off), domoticz crashed again with seg fault.
I really don't understand ...
-
- Posts: 50
- Joined: Wednesday 28 January 2015 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hi,
I'm running V3.8153 and I can't get the COAP-adaptor running as a service.
If I start it manually everything works fine:
/opt/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@domo1:~ $ sudo service ikea-tradfri status
ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-10-05 18:33:06 CEST; 9s ago
Process: 9342 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=${
Main PID: 9342 (code=exited, status=203/EXEC)
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Unit entered failed state.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
okt 05 18:33:06 domo1.selanders.local systemd[1]: Stopped IKEA Tradfri COAP-adapter.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Start request repeated too quickly.
okt 05 18:33:06 domo1.selanders.local systemd[1]: Failed to start IKEA Tradfri COAP-adapter.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Unit entered failed state.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
My IKEA-Tradfri.service file:
[Unit]
Description=IKEA Tradfri COAP-adapter
[Service]
Type=simple
Environment=IKEA_HOME=/home/pi/domoticz/plugins/IKEA-Tradfri
ExecStart=/usr/local/bin/twistd --nodaemon \
--rundir=${IKEA_HOME} \
--pidfile=${IKEA_HOME}/twistd.pid \
--python=${IKEA_HOME}/tradfri.tac
User=pi
Group=pi
Restart=always
[Install]
WantedBy=multi-user.target
any suggestions?
I'm running V3.8153 and I can't get the COAP-adaptor running as a service.
If I start it manually everything works fine:
/opt/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@domo1:~ $ sudo service ikea-tradfri status
ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-10-05 18:33:06 CEST; 9s ago
Process: 9342 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=${
Main PID: 9342 (code=exited, status=203/EXEC)
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Unit entered failed state.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
okt 05 18:33:06 domo1.selanders.local systemd[1]: Stopped IKEA Tradfri COAP-adapter.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Start request repeated too quickly.
okt 05 18:33:06 domo1.selanders.local systemd[1]: Failed to start IKEA Tradfri COAP-adapter.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Unit entered failed state.
okt 05 18:33:06 domo1.selanders.local systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
My IKEA-Tradfri.service file:
[Unit]
Description=IKEA Tradfri COAP-adapter
[Service]
Type=simple
Environment=IKEA_HOME=/home/pi/domoticz/plugins/IKEA-Tradfri
ExecStart=/usr/local/bin/twistd --nodaemon \
--rundir=${IKEA_HOME} \
--pidfile=${IKEA_HOME}/twistd.pid \
--python=${IKEA_HOME}/tradfri.tac
User=pi
Group=pi
Restart=always
[Install]
WantedBy=multi-user.target
any suggestions?
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I've noticed a few seg-faults when updating device status on the latest development-branch. At the moment I don't have any solution, but looking into it!globulus wrote: ↑Wednesday 04 October 2017 14:12 I succeeded in starting domoticz again by deleting the device in the domoticz.db.
I tried to add another switch with the green arrow from the devices table (another bulb) and when I change the status of the switch (dim or on/off), domoticz crashed again with seg fault.
I really don't understand ...
Regards,
M
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
First check that you don't have a stale pid-file in the IKEA-Tradfri directory, and then try:micksel wrote: ↑Thursday 05 October 2017 18:34 Hi,
I'm running V3.8153 and I can't get the COAP-adaptor running as a service.
If I start it manually everything works fine:
/opt/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@domo1:~ $ sudo service ikea-tradfri status
ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-10-05 18:33:06 CEST; 9s ago
Process: 9342 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=${
Main PID: 9342 (code=exited, status=203/EXEC)
...
any suggestions?
Code: Select all
$ twistd -n -y tradfri.tac
Regards,
M
-
- Posts: 50
- Joined: Wednesday 28 January 2015 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Command not found but it installed OK:
pip3 install twisted gives OK
pip3 install twisted gives OK
-
- Posts: 18
- Joined: Sunday 31 January 2016 1:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Will the plugin allow for listening to the controllers (dimmers, detectors etc) in the future?
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Yes, that's the plan. I'm currently struggling with reliable observations, using asyncio and aiocoap, but still no solution that works. It might not be doable using aicoap at the moment, but not giving up...Until observation is available, I don't think it's possible to monitor detectors etc... And hopefully, the rumored official API appears soon, it might be a "game changer"!
Regards,
M
-
- Posts: 50
- Joined: Wednesday 28 January 2015 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Got it working last night but this morning I start getting errors in my logg:
2017-10-07 09:10:02.013 PluginSystem: Starting I/O service thread.
2017-10-07 09:10:02.064 (Tradfri) Connected successfully to: 192.168.0.20
2017-10-07 09:10:02.064 Error: (Tradfri) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'Status' and 'Extra''.
And I no longer can Control my lights.
2017-10-07 09:10:02.013 PluginSystem: Starting I/O service thread.
2017-10-07 09:10:02.064 (Tradfri) Connected successfully to: 192.168.0.20
2017-10-07 09:10:02.064 Error: (Tradfri) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'Status' and 'Extra''.
And I no longer can Control my lights.
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
That error means there's mismatch between the plugin and domoticz versions, it appears you're using the master-version (latest stable) of domoticz and the development branch of the plugin. Try to match branches, use the master branch of the plugin with the master branch of domoticz, or the development-branch of both...micksel wrote: ↑Saturday 07 October 2017 9:11 Got it working last night but this morning I start getting errors in my logg:
2017-10-07 09:10:02.013 PluginSystem: Starting I/O service thread.
2017-10-07 09:10:02.064 (Tradfri) Connected successfully to: 192.168.0.20
2017-10-07 09:10:02.064 Error: (Tradfri) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'Status' and 'Extra''.
And I no longer can Control my lights.
Regards,
M
-
- Posts: 50
- Joined: Wednesday 28 January 2015 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
thanks, right you are I was having stabilty problems with the stable version but the beta diden't solve anything so I have now disable the IKEA-Plugin to see if that's the problem
-
- Posts: 2
- Joined: Tuesday 05 July 2016 11:49
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hello,
I have the same probleme than micksel.
If I start it manually everything works fine:
/home/pi/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@raspberrypi:~ $ sudo service ikea-tradfri status
● ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-10-07 20:09:54 CEST; 25min ago
Process: 467 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=
Main PID: 467 (code=exited, status=203/EXEC)
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
oct. 07 20:09:54 raspberrypi systemd[1]: Stopped IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Start request repeated too quickly.
oct. 07 20:09:54 raspberrypi systemd[1]: Failed to start IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Unit entered failed state.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
pls could you help me?
domoticz version : Version 3.8153
IKEA-tradfri COAP-adaptor version 0.4
Raf6410
I have the same probleme than micksel.
If I start it manually everything works fine:
/home/pi/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@raspberrypi:~ $ sudo service ikea-tradfri status
● ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-10-07 20:09:54 CEST; 25min ago
Process: 467 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=
Main PID: 467 (code=exited, status=203/EXEC)
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
oct. 07 20:09:54 raspberrypi systemd[1]: Stopped IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Start request repeated too quickly.
oct. 07 20:09:54 raspberrypi systemd[1]: Failed to start IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Unit entered failed state.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
pls could you help me?
domoticz version : Version 3.8153
IKEA-tradfri COAP-adaptor version 0.4
Raf6410
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Are you able to run tradfri.tac using twistd from the command line?Raf6410 wrote: ↑Saturday 07 October 2017 20:49 Hello,
I have the same probleme than micksel.
If I start it manually everything works fine:
/home/pi/domoticz/plugins/IKEA-Tradfri$ python3 tradfri.tac
But if I try with ikea-tradfri.service
pi@raspberrypi:~ $ sudo service ikea-tradfri status
● ikea-tradfri.service - IKEA Tradfri COAP-adapter
Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-10-07 20:09:54 CEST; 25min ago
Process: 467 ExecStart=/usr/local/bin/twistd --nodaemon --rundir=${IKEA_HOME} --pidfile=${IKEA_HOME}/twistd.pid --python=
Main PID: 467 (code=exited, status=203/EXEC)
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
oct. 07 20:09:54 raspberrypi systemd[1]: Stopped IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Start request repeated too quickly.
oct. 07 20:09:54 raspberrypi systemd[1]: Failed to start IKEA Tradfri COAP-adapter.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Unit entered failed state.
oct. 07 20:09:54 raspberrypi systemd[1]: ikea-tradfri.service: Failed with result 'exit-code'.
pls could you help me?
domoticz version : Version 3.8153
IKEA-tradfri COAP-adaptor version 0.4
Raf6410
Code: Select all
$ cd /path/to/domoticz/plugins/IKEA-Tradfri
$ /usr/local/bin/twistd -n -y tradfri.tac
Regards,
M
-
- Posts: 50
- Joined: Wednesday 28 January 2015 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
my problem was that I was missing twistd because I didn't run sudo pip3 install twisted (I don't think sudo was specified it the howto? maybe you missed that)?
-
- Posts: 408
- Joined: Sunday 15 January 2017 11:06
- Target OS: Linux
- Domoticz version: beta
- Location: Norway
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
The need for sudo for pip3 varies on how python is set up, but none the less a good point, and I'll try to remember to update the readme to include a note about sudo!
Regards,
M
-
- Posts: 2
- Joined: Tuesday 05 July 2016 11:49
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Thanks for your messages.
I have already install twisted but without "sudo".
I reinstall it with "sudo pip3 install twisted" and now the service run automaticly at startup.
Thanks for your help.
I have already install twisted but without "sudo".
I reinstall it with "sudo pip3 install twisted" and now the service run automaticly at startup.
Thanks for your help.
-
- Posts: 3
- Joined: Friday 22 September 2017 23:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Would you please help me?
Trying to run: python3 -i -m pytradfri IPKEY and getting following errors:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 128, in _get_module_details
spec = importlib.util.find_spec(mod_name)
File "/usr/lib/python3.5/importlib/util.py", line 88, in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
ImportError: No module named '192'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 134, in _get_module_details
raise error(msg.format(mod_name, type(ex).__name__, ex)) from ex
runpy._Error: Error while finding module specification for '192.168.1.65' (ImportError: No module named '192')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 188, in _run_module_as_main
sys.exit(msg)
SystemExit: /usr/bin/python3: Error while finding module specification for '192.168.1.65' (ImportError: No module named '192')
EDIT: fixed... i was not typing "pytradfri" during command execution.............
Trying to run: python3 -i -m pytradfri IPKEY and getting following errors:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 128, in _get_module_details
spec = importlib.util.find_spec(mod_name)
File "/usr/lib/python3.5/importlib/util.py", line 88, in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
ImportError: No module named '192'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 134, in _get_module_details
raise error(msg.format(mod_name, type(ex).__name__, ex)) from ex
runpy._Error: Error while finding module specification for '192.168.1.65' (ImportError: No module named '192')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 188, in _run_module_as_main
sys.exit(msg)
SystemExit: /usr/bin/python3: Error while finding module specification for '192.168.1.65' (ImportError: No module named '192')
EDIT: fixed... i was not typing "pytradfri" during command execution.............
Last edited by Yours3lf on Thursday 12 October 2017 12:40, edited 1 time in total.
-
- Posts: 9
- Joined: Monday 21 December 2015 11:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: netherlands
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
First of all, hats off to Moroen. I used your instruction to get this plugin running in domoticz. I was up and running within one hour
However, I seem to be having the same problem as andi216, regarding groups. I have bought 4 bulbs, a hub and a controller. I first connected the controller to the hub and next I connected all 4 bulbs to the controller. Both the controller and the app were able to control the lights.
After that I installed the ikea-tradfri plugin using the supplied instructions. I can control the individual lights using domoticz then, however the group does not show up. Tradfri.tac shows:
Code: Select all
2017-10-09T23:04:19+0200 [stdout#info] Unable to iterate groups
2017-10-09T23:04:19+0200 [stdout#info] Error in annouce: 'Group' object is not iterable
Domoticz shows:
Code: Select all
2017-10-09 23:09:43.398 PluginSystem: Starting I/O service thread.
2017-10-09 23:09:43.448 (IkeaTradfri1) Connected successfully to: 192.168.1.59
2017-10-09 23:09:43.449 (IkeaTradfri1) Received: b'{"action": "clientConnect", "version": "0.4", "status": "Ok"}'
2017-10-09 23:09:44.451 (IkeaTradfri1) Received: b'{"action": "setConfig", "status": "Ok"}'
2017-10-09 23:09:45.053 (IkeaTradfri1) Received: b'{"action": "getLights", "result": [{"Type": "Light", "HasWB": true, "Dimmable": true, "HasRGB": false, "DeviceID": 65537, "Name": "BuitenlampLinksVoor"}, {"Type": "Light", "HasWB": true, "Dimmable": true, "HasRGB": false, "DeviceID": 65538, "Name": "BuitenlampRechtsAchter"}, {"Type": "Light", "HasWB": true, "Dimmable": true, "HasRGB": false, "DeviceID": 65539, "Name": "BuitenlampRechtsVoor"}, {"Type": "Light", "HasWB": true, "Dimmable": true, "HasRGB": false, "DeviceID": 65540, "Name": "BuitenlampLinksAchter"}], "status": "Ok"}'
2017-10-09 23:09:45.055 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "result": [{"Level": 1, "Hex": null, "DeviceID": 65537, "Name": "BuitenlampLinksVoor", "State": false}], "status": "Ok"}'
2017-10-09 23:09:45.058 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "result": [{"Level": 1, "Hex": null, "DeviceID": 65538, "Name": "BuitenlampRechtsAchter", "State": false}], "status": "Ok"}'
2017-10-09 23:09:45.060 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "result": [{"Level": 1, "Hex": null, "DeviceID": 65539, "Name": "BuitenlampRechtsVoor", "State": false}], "status": "Ok"}'
2017-10-09 23:09:45.063 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "result": [{"Level": 1, "Hex": null, "DeviceID": 65540, "Name": "BuitenlampLinksAchter", "State": false}], "status": "Ok"}'
Code: Select all
v:1 t:CON c:GET i:c0fd {} [ ]
<//15001/65536>;ct=0;obs,<//15001/65537>;ct=0;obs,<//15001/65538>;ct=0;obs,<//15001/65539>;ct=0;obs,<//15001/65540>;ct=0;obs,<//15004/160628>;ct=0;obs,<//15005/160628>;ct=0;obs,<//15005/160628/218479>;ct=0;obs,<//15005/160628/228749>;ct=0;obs,<//15005/160628/211235>;ct=0;obs,<//15001>;ct=0;obs,<//15001/reset>;ct=0,<//status>;ct=0;obs,<//15005>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15006>;ct=0;obs,<//15011/15012>;ct=0;obs,<//15011/9034>;ct=0,<//15011/9030>;ct=0,<//15011/9031>;ct=0,<//15011/9063>;ct=0,<//15011/9033>;ct=0,<//15010>;ct=0;obs
Tradfri.tac does not show an error/warning about groups anymore, however another error pops up:
Code: Select all
2017-10-09T23:06:02+0200 [stdout#info] Connected from IPv4Address(TCP, '127.0.0.1', 44090)
2017-10-09T23:06:02+0200 [stdout#info] Error in annouce: 160628
Domoticz log does show the two groups now:
Code: Select all
2017-10-09 23:06:02.175 (IkeaTradfri1) Initialized version 1.0.3, author 'moroen'
2017-10-09 23:06:02.177 PluginSystem: Starting I/O service thread.
2017-10-09 23:06:02.228 (IkeaTradfri1) Connected successfully to: 192.168.1.59
2017-10-09 23:06:02.228 (IkeaTradfri1) Received: b'{"action": "clientConnect", "status": "Ok", "version": "0.4"}'
2017-10-09 23:06:03.381 (IkeaTradfri1) Received: b'{"action": "setConfig", "status": "Ok"}'
2017-10-09 23:06:04.082 (IkeaTradfri1) Received: b'{"action": "getLights", "status": "Ok", "result": [{"Type": "Light", "Name": "BuitenlampLinksVoor", "Dimmable": true, "HasWB": true, "DeviceID": 65537, "HasRGB": false}, {"Type": "Light", "Name": "BuitenlampRechtsAchter", "Dimmable": true, "HasWB": true, "DeviceID": 65538, "HasRGB": false}, {"Type": "Light", "Name": "BuitenlampRechtsVoor", "Dimmable": true, "HasWB": true, "DeviceID": 65539, "HasRGB": false}, {"Type": "Light", "Name": "BuitenlampLinksAchter", "Dimmable": true, "HasWB": true, "DeviceID": 65540, "HasRGB": false}, {"DeviceID": 193834, "Name": "Group - BuitenGroup", "Dimmable": true, "HasWB": false, "Type": "Group"}, {"DeviceID": 160628, "Name": "Group - Buitenverlichting", "Dimmable": true, "HasWB": false, "Type": "Group"}]}'
2017-10-09 23:06:04.103 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 65537, "State": false, "Name": "BuitenlampLinksVoor", "Level": 1, "Hex": null}]}'
2017-10-09 23:06:04.106 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 65538, "State": true, "Name": "BuitenlampRechtsAchter", "Level": 254, "Hex": null}]}'
2017-10-09 23:06:04.109 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 65539, "State": false, "Name": "BuitenlampRechtsVoor", "Level": 1, "Hex": null}]}'
2017-10-09 23:06:04.111 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 65540, "State": false, "Name": "BuitenlampLinksAchter", "Level": 1, "Hex": null}]}'
2017-10-09 23:06:04.114 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 193834, "State": true, "Name": "BuitenGroup", "Level": 0}]}'
2017-10-09 23:06:04.117 (IkeaTradfri1) Received: b'{"action": "deviceUpdate", "status": "Ok", "result": [{"DeviceID": 160628, "State": false, "Name": "Buitenverlichting", "Level": 0}]}'
Code: Select all
v:1 t:CON c:GET i:79c6 {} [ ]
<//15001/65536>;ct=0;obs,<//15001/65537>;ct=0;obs,<//15001/65538>;ct=0;obs,<//15001/65539>;ct=0;obs,<//15001/65540>;ct=0;obs,<//15004/160628>;ct=0;obs,<//15004/186448>;ct=0;obs,<//15005/160628>;ct=0;obs,<//15005/186448/209628>;ct=0;obs,<//15005/186448/228123>;ct=0;obs,<//15005/186448/207949>;ct=0;obs,<//15005/186448>;ct=0;obs,<//15005/160628/218479>;ct=0;obs,<//15005/160628/228749>;ct=0;obs,<//15005/160628/211235>;ct=0;obs,<//15001>;ct=0;obs,<//15001/reset>;ct=0,<//status>;ct=0;obs,<//15005>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15006>;ct=0;obs,<//15011/15012>;ct=0;obs,<//15011/9034>;ct=0,<//15011/9030>;ct=0,<//15011/9031>;ct=0,<//15011/9063>;ct=0,<//15011/9033>;ct=0,<//15010>;ct=0;obs
Moroen can you have a look at "Unable to iterate groups" error and the "Error in annouce: 160628"?
Who is online
Users browsing this forum: No registered users and 1 guest