[REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Moderator: leecollings
-
- Posts: 70
- Joined: Monday 14 December 2015 22:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Mierlo
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hi,
@dressie When you enable Accept new Hardware Devices and go to the Hardware page, klik the Ikea Tradfri Hardware en klik update ?
@moroen, yust moved from the "old" plugin with the service to the new pycoap version.
Installed perfect (after installing the go compiler) only had to recreate my devices in domoticz (as suggested to dressie).
Nice work
Regards,
Peer
@dressie When you enable Accept new Hardware Devices and go to the Hardware page, klik the Ikea Tradfri Hardware en klik update ?
@moroen, yust moved from the "old" plugin with the service to the new pycoap version.
Installed perfect (after installing the go compiler) only had to recreate my devices in domoticz (as suggested to dressie).
Nice work
Regards,
Peer
-
- Posts: 156
- Joined: Monday 25 May 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2020.2
- Location: Netherlands
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I tried that, but nothing works. So, to make sure my domoticz isn't broken, I added Hue as hardware. And devices are being created.peerkersezuuker wrote: ↑Friday 13 December 2019 16:13 Hi,
@dressie When you enable Accept new Hardware Devices and go to the Hardware page, klik the Ikea Tradfri Hardware en klik update ?
@moroen, yust moved from the "old" plugin with the service to the new pycoap version.
Installed perfect (after installing the go compiler) only had to recreate my devices in domoticz (as suggested to dressie).
Nice work
Regards,
Peer
I do not see antyhing in the logs, so I'll go and check that out.
-
- Posts: 156
- Joined: Monday 25 May 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2020.2
- Location: Netherlands
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Had to fix my logging, no idea why that messed up. But here is the log when I enable the hardware:
2019-12-13 21:40:21.356 Status: (IKEA) Started.
2019-12-13 21:40:21.632 Error: (IKEA-Tradfri) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/IKEA-Tradfri/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-12-13 21:40:21.632 Error: (IKEA) Module Import failed, exception: 'ImportError'
2019-12-13 21:40:21.632 Error: (IKEA) Module Import failed: ' Name: appdirs'
2019-12-13 21:40:21.632 Error: (IKEA) Error Line details not available
2019-12-13 21:40:21.356 Status: (IKEA) Started.
2019-12-13 21:40:21.632 Error: (IKEA-Tradfri) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/IKEA-Tradfri/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-12-13 21:40:21.632 Error: (IKEA) Module Import failed, exception: 'ImportError'
2019-12-13 21:40:21.632 Error: (IKEA) Module Import failed: ' Name: appdirs'
2019-12-13 21:40:21.632 Error: (IKEA) Error Line details not available
-
- Posts: 2
- Joined: Tuesday 17 December 2019 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hey guys,
I'm trying to make the plugin work for my install but I think I'm missing something. I'm really... really... not into linux, so I'm trying the best I can, but I can't get it to work. I've managed to make domoticz work and I have a readout of my smart-meter, but I want to expand the functionalities to Tradfri as well.
I've followed your manual which is it pretty clear I think, and I think I have a working connection with my Tradfri hub as you can see here:
What am I missing here?
I'm trying to make the plugin work for my install but I think I'm missing something. I'm really... really... not into linux, so I'm trying the best I can, but I can't get it to work. I've managed to make domoticz work and I have a readout of my smart-meter, but I want to expand the functionalities to Tradfri as well.
I've followed your manual which is it pretty clear I think, and I think I have a working connection with my Tradfri hub as you can see here:
The only thing is, I can't find the new type of hardware in the hardware page of Domoticz. I can see a large list of all hardware I can add, but not the IKEA-tradfri type.(env) pi@raspberrypi:~ $ tradfri list
Lights:
Sockets:
65537: TRADFRI outlet (TRADFRI control outlet) - True
Devices:
65536: TRADFRI on/off switch (TRADFRI on/off switch) - 100
Groups:
131073: TRADFRI group - False:0 - None
What am I missing here?
-
- 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?
It would appear that you haven't installed the plugin? The tradfri command line utility is one part of the (old) solution, you also need to install thekvessen wrote: ↑Tuesday 17 December 2019 13:59 Hey guys,
I'm trying to make the plugin work for my install but I think I'm missing something. I'm really... really... not into linux, so I'm trying the best I can, but I can't get it to work. I've managed to make domoticz work and I have a readout of my smart-meter, but I want to expand the functionalities to Tradfri as well.
I've followed your manual which is it pretty clear I think, and I think I have a working connection with my Tradfri hub as you can see here:The only thing is, I can't find the new type of hardware in the hardware page of Domoticz. I can see a large list of all hardware I can add, but not the IKEA-tradfri type.(env) pi@raspberrypi:~ $ tradfri list
Lights:
Sockets:
65537: TRADFRI outlet (TRADFRI control outlet) - True
Devices:
65536: TRADFRI on/off switch (TRADFRI on/off switch) - 100
Groups:
131073: TRADFRI group - False:0 - None
What am I missing here?
plugin (https://github.com/moroen/IKEA-Tradfri-plugin). If you're starting from scratch, I would recommed the new solution (https://github.com/moroen/IKEA-Tradfri- ... ree/pycoap) as the new solution doesn't require running tradfri as a service. Might I ask what kind of hardware you're running this on and if it's not a raspberry pi, which linux distro you're using?
Regards,
M
-
- Posts: 2
- Joined: Tuesday 17 December 2019 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
That's it... I was looking at the old instructions, sorry about that. It worked like a charm with the instructions you posted. Thanks a lot for your effort!moroen wrote: ↑Tuesday 17 December 2019 14:08It would appear that you haven't installed the plugin? The tradfri command line utility is one part of the (old) solution, you also need to install thekvessen wrote: ↑Tuesday 17 December 2019 13:59 Hey guys,
I'm trying to make the plugin work for my install but I think I'm missing something. I'm really... really... not into linux, so I'm trying the best I can, but I can't get it to work. I've managed to make domoticz work and I have a readout of my smart-meter, but I want to expand the functionalities to Tradfri as well.
I've followed your manual which is it pretty clear I think, and I think I have a working connection with my Tradfri hub as you can see here:The only thing is, I can't find the new type of hardware in the hardware page of Domoticz. I can see a large list of all hardware I can add, but not the IKEA-tradfri type.(env) pi@raspberrypi:~ $ tradfri list
Lights:
Sockets:
65537: TRADFRI outlet (TRADFRI control outlet) - True
Devices:
65536: TRADFRI on/off switch (TRADFRI on/off switch) - 100
Groups:
131073: TRADFRI group - False:0 - None
What am I missing here?
plugin (https://github.com/moroen/IKEA-Tradfri-plugin). If you're starting from scratch, I would recommed the new solution (https://github.com/moroen/IKEA-Tradfri- ... ree/pycoap) as the new solution doesn't require running tradfri as a service. Might I ask what kind of hardware you're running this on and if it's not a raspberry pi, which linux distro you're using?
Regards,
M
-
- Posts: 1
- Joined: Wednesday 18 December 2019 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hi Moroen,
I keep getting stuck at the same point as dressie:
I keep getting stuck at the same point as dressie:
I did al the updates and reinstalling off pycoap as you recommended to him but i can't seem to get past this error. Any idea's what the next step shouold be?..... i'm running this on a pi3 - and i followed your latest instruction for the an install on a pi. Thankspython3 tradfricoap.py list
Traceback (most recent call last):
File "tradfricoap.py", line 11, in <module>
import pycoap
File "/usr/local/lib/python3.7/dist-packages/pycoap/__init__.py", line 1, in <module>
from .pycoap import Request, setDebugLevel, GET, PUT, POST
File "/usr/local/lib/python3.7/dist-packages/pycoap/pycoap.py", line 1, in <module>
import _pycoap
ImportError: dynamic module does not define module export function (PyInit__pycoap)
-
- 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?
Which raspbian version are you using?meneerbroekhuis wrote: ↑Wednesday 18 December 2019 22:53 Hi Moroen,
I keep getting stuck at the same point as dressie:
I did al the updates and reinstalling off pycoap as you recommended to him but i can't seem to get past this error. Any idea's what the next step shouold be?..... i'm running this on a pi3 - and i followed your latest instruction for the an install on a pi. Thankspython3 tradfricoap.py list
Traceback (most recent call last):
File "tradfricoap.py", line 11, in <module>
import pycoap
File "/usr/local/lib/python3.7/dist-packages/pycoap/__init__.py", line 1, in <module>
from .pycoap import Request, setDebugLevel, GET, PUT, POST
File "/usr/local/lib/python3.7/dist-packages/pycoap/pycoap.py", line 1, in <module>
import _pycoap
ImportError: dynamic module does not define module export function (PyInit__pycoap)
Check versions and dependencies:
Code: Select all
$ python --version
$ go version
Code: Select all
$ git clone https://github.com/moroen/pycoap.git
$ cd pycoap
$ sudo -H python3 setup.py install
Regards,
M
-
- Posts: 38
- Joined: Thursday 18 October 2018 14:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: netherlands, Kuuk
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hello Moroen,
I had the wheel error when installing the requirements.
after reading other posts in did the following:
Then the error was solved, but when i go to the next step:
I get the following:
Maybe good to know is that I am runnig the plugin v1.1 on an other rpi at the moment where it still works at the moment, could that bring any conflict maybe?
Bas
I had the wheel error when installing the requirements.
after reading other posts in did the following:
Code: Select all
sudo apt install golang
pip3 install -r requirements.txt
Code: Select all
python3 tradfricoap.py config IP KEY
Code: Select all
2019/12/21 22:30:20 COAP DTLS Error: Handshake timeout
CRITICAL:root:Create_ident: No data from gateway
Bas
-
- 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 DTLS Handshake error shows that pycoap is installed and working, it just can't connect to the gateway. The most common reason is either wrong IP or KEY... If that's not the reason, can you reach the ikea-gateway with ping? And running the old plugin i parallel on another Pi shouldn't be a problem!Basssment wrote: ↑Saturday 21 December 2019 22:38Maybe good to know is that I am runnig the plugin v1.1 on an other rpi at the moment where it still works at the moment, could that bring any conflict maybe?Code: Select all
2019/12/21 22:30:20 COAP DTLS Error: Handshake timeout CRITICAL:root:Create_ident: No data from gateway
Bas
Regards,
M
-
- Posts: 38
- Joined: Thursday 18 October 2018 14:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: netherlands, Kuuk
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Thank you,moroen wrote: ↑Sunday 22 December 2019 19:39The DTLS Handshake error shows that pycoap is installed and working, it just can't connect to the gateway. The most common reason is either wrong IP or KEY... If that's not the reason, can you reach the ikea-gateway with ping? And running the old plugin i parallel on another Pi shouldn't be a problem!Basssment wrote: ↑Saturday 21 December 2019 22:38Maybe good to know is that I am runnig the plugin v1.1 on an other rpi at the moment where it still works at the moment, could that bring any conflict maybe?Code: Select all
2019/12/21 22:30:20 COAP DTLS Error: Handshake timeout CRITICAL:root:Create_ident: No data from gateway
Bas
Regards,
M
After looking again I used the security id instead of the gatewayid.
Now it works for me!!
-
- 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?
Easy mistake to make! Glad i worked out!Basssment wrote: ↑Sunday 22 December 2019 20:13Thank you,moroen wrote: ↑Sunday 22 December 2019 19:39The DTLS Handshake error shows that pycoap is installed and working, it just can't connect to the gateway. The most common reason is either wrong IP or KEY... If that's not the reason, can you reach the ikea-gateway with ping? And running the old plugin i parallel on another Pi shouldn't be a problem!Basssment wrote: ↑Saturday 21 December 2019 22:38Maybe good to know is that I am runnig the plugin v1.1 on an other rpi at the moment where it still works at the moment, could that bring any conflict maybe?Code: Select all
2019/12/21 22:30:20 COAP DTLS Error: Handshake timeout CRITICAL:root:Create_ident: No data from gateway
Bas
Regards,
M
After looking again I used the security id instead of the gatewayid.
Now it works for me!!
Regards,
M
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hi, I'm new here and my English is very bad... I use the translator.
First, thank you for the effort to make this pluguin work. I have some doubts as to how it works:
1º If the house electricity goes out, when it comes again, the bulbs lights up alone. Is there any way this does not happen?
2º If i turn on the lights by the Ikea switch or turn off them, the changes don't update it in domoticz. It is right? (If I only use the dummy of each bulb in domoticz it works correctly)
First, thank you for the effort to make this pluguin work. I have some doubts as to how it works:
1º If the house electricity goes out, when it comes again, the bulbs lights up alone. Is there any way this does not happen?
2º If i turn on the lights by the Ikea switch or turn off them, the changes don't update it in domoticz. It is right? (If I only use the dummy of each bulb in domoticz it works correctly)
-
- 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?
This is by design from IKEA, when the power is turned on, the bulb will turn on. This has nothing to do with the plugin, and as far as I know, there is no way to change this behaviour.trusky77 wrote: ↑Tuesday 24 December 2019 12:57 Hi, I'm new here and my English is very bad... I use the translator.
First, thank you for the effort to make this pluguin work. I have some doubts as to how it works:
1º If the house electricity goes out, when it comes again, the bulbs lights up alone. Is there any way this does not happen?
If you use an IKEA switch to turn on or off a bulb, you need to set "Observe changes" to yes, and specify how often the plugin should check for an altered state (polling interval) You should avoid checking too often, as this will freeze the gateway. If you physically turn a bulb on/off by switching on/off the power to the bulb, the gateway has no way of knowing the state, and the plugin can't update to reflect the correct state.
Regards,
M
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
moroen wrote: ↑Tuesday 24 December 2019 23:50This is by design from IKEA, when the power is turned on, the bulb will turn on. This has nothing to do with the plugin, and as far as I know, there is no way to change this behaviour.trusky77 wrote: ↑Tuesday 24 December 2019 12:57 Hi, I'm new here and my English is very bad... I use the translator.
First, thank you for the effort to make this pluguin work. I have some doubts as to how it works:
1º If the house electricity goes out, when it comes again, the bulbs lights up alone. Is there any way this does not happen?
If you use an IKEA switch to turn on or off a bulb, you need to set "Observe changes" to yes, and specify how often the plugin should check for an altered state (polling interval) You should avoid checking too often, as this will freeze the gateway. If you physically turn a bulb on/off by switching on/off the power to the bulb, the gateway has no way of knowing the state, and the plugin can't update to reflect the correct state.
Regards,
M
I understand. Perfect, it is already solved. My time to review changes was 300 and I have not had so much patience ... Now I have lowered the time to 30. Is it a prudent time? Thank you
-
- Posts: 200
- Joined: Thursday 20 December 2018 11:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Hi Moroen,moroen wrote: ↑Tuesday 17 December 2019 14:08It would appear that you haven't installed the plugin? The tradfri command line utility is one part of the (old) solution, you also need to install thekvessen wrote: ↑Tuesday 17 December 2019 13:59 Hey guys,
I'm trying to make the plugin work for my install but I think I'm missing something. I'm really... really... not into linux, so I'm trying the best I can, but I can't get it to work. I've managed to make domoticz work and I have a readout of my smart-meter, but I want to expand the functionalities to Tradfri as well.
I've followed your manual which is it pretty clear I think, and I think I have a working connection with my Tradfri hub as you can see here:The only thing is, I can't find the new type of hardware in the hardware page of Domoticz. I can see a large list of all hardware I can add, but not the IKEA-tradfri type.(env) pi@raspberrypi:~ $ tradfri list
Lights:
Sockets:
65537: TRADFRI outlet (TRADFRI control outlet) - True
Devices:
65536: TRADFRI on/off switch (TRADFRI on/off switch) - 100
Groups:
131073: TRADFRI group - False:0 - None
What am I missing here?
plugin (https://github.com/moroen/IKEA-Tradfri-plugin). If you're starting from scratch, I would recommed the new solution (https://github.com/moroen/IKEA-Tradfri- ... ree/pycoap) as the new solution doesn't require running tradfri as a service. Might I ask what kind of hardware you're running this on and if it's not a raspberry pi, which linux distro you're using?
Regards,
M
I want to install the IKEA tradfri plugin on a raspberry pi (Stretch) first time.
Is your new pycoap (raspberry version) plugin sufficient?
-
- Posts: 29
- Joined: Friday 29 November 2019 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Gent
- Contact:
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Two weeks ago I installed it an it works until I did a reboot.
If I do now a new install on Buster, the install works but not in Domoticz
Hardware:
Devices is still 'Loading...'
Log:
If I do now a new install on Buster, the install works but not in Domoticz
Code: Select all
pi@raspbian:~/domoticz/plugins/IKEA-Tradfri $ python3 tradfricoap.py list
65539: Slaapkamer lamp (0 - None)
65537: Living lamp (1 - 0)
65536: Living bediening (None - None)
65538: Slaapkamer bediening (None - None)
65540: TRADFRI motion sensor (None - None)
pi@raspbian:~/domoticz/plugins/IKEA-Tradfri $
Devices is still 'Loading...'
Log:
2019-12-26 19:06:16.308 Active notification Subsystems: gcm, http (2/13)
2019-12-26 19:06:16.317 Starting shared server on: :::6144
2019-12-26 19:06:16.153 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2019-12-26 19:06:16.153 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2019-12-26 19:06:16.153 Status: Startup Path: /home/pi/domoticz/
2019-12-26 19:06:16.302 Status: PluginSystem: Started, Python version '3.7.3'.
2019-12-26 19:06:16.310 Status: WebServer(HTTP) started on address: :: with port 8080
2019-12-26 19:06:16.314 Status: WebServer(SSL) started on address: :: with port 443
2019-12-26 19:06:16.318 Status: RxQueue: queue worker started...
2019-12-26 19:06:16.317 Status: TCPServer: shared server started...
2019-12-26 19:06:18.318 Status: EventSystem: reset all events...
2019-12-26 19:06:18.319 Status: EventSystem: reset all device statuses...
2019-12-26 19:06:18.462 Status: Python EventSystem: Initalizing event module.
2019-12-26 19:06:18.462 Status: EventSystem: Started
2019-12-26 19:06:18.462 Status: EventSystem: Queue thread started...
2019-12-26 19:06:18.698 Status: PluginSystem: Entering work loop.
2019-12-26 19:06:32.842 Status: (Ikea) Started.
2019-12-26 19:06:33.195 Status: (Ikea) Initialized version 0.5.2, author 'moroen'
2019-12-26 19:06:33.196 Status: (Ikea) Entering work loop.
2019-12-26 19:06:33.469 Error: (Ikea) 'onStart' failed 'NameError'.
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 348 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 249 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 231 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
-
- 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?
You need to update to a newer version of pycoap... On a pi:iTDB wrote: ↑Thursday 26 December 2019 19:27 Two weeks ago I installed it an it works until I did a reboot.
If I do now a new install on Buster, the install works but not in DomoticzHardware:Code: Select all
pi@raspbian:~/domoticz/plugins/IKEA-Tradfri $ python3 tradfricoap.py list 65539: Slaapkamer lamp (0 - None) 65537: Living lamp (1 - 0) 65536: Living bediening (None - None) 65538: Slaapkamer bediening (None - None) 65540: TRADFRI motion sensor (None - None) pi@raspbian:~/domoticz/plugins/IKEA-Tradfri $
Devices is still 'Loading...'
Log:2019-12-26 19:06:16.308 Active notification Subsystems: gcm, http (2/13)
2019-12-26 19:06:33.469 Error: (Ikea) 'onStart' failed 'NameError'.
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 348 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 249 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
2019-12-26 19:06:33.469 Error: (Ikea) ----> Line 231 in '/home/pi/domoticz/plugins/IKEA-Tradfri/plugin.py'
Code: Select all
$ cd domoticz/plugins/IKEA-Tradfri
$ sudo -H pip3 uninstall pycoap
$ sudo -H pip3 install -r requirements-pi.txt
Code: Select all
$ pip3 list | grep pycoap
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?
Installing the pycoap version is recommended for all new installations, the old plugin-service solution is about to be retired...
A potential stumbling block when installing on stretch is that you need at least version 1.5 of the go compiler. Find the current version of go with:
Code: Select all
$ go version
Code: Select all
$ sudo -H go version
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?
You could try polling with an interval of 30, and see what happens. If your gateway suddenly stops responding, cycle the power to the gateway and try increasing the poll interval a bit...
Regards,
M
Who is online
Users browsing this forum: No registered users and 1 guest