Search found 199 matches

by moroen
Friday 09 November 2018 20:19
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

This is the security key on the back of the gateway right? I have the privilege of having an "O" in my code so have tried all the different versions of that as well but still no luck :( Yes, the key on the label on the back... Have you tried to manually enter the KEY in the official IKEA app? Just ...
by moroen
Friday 09 November 2018 20:15
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Installing collected packages: pytradfri Running setup.py install for pytradfri /usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) File "/usr/local/lib/python3.4/dist-packages/pytradfri/api/aiocoap_api.py", line 67 async def _get...
by moroen
Friday 09 November 2018 18:47
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

I really can't get this plugin installed. pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ sudo pip install pytradfri Requirement already satisfied (use --upgrade to upgrade): pytradfri in /usr/local/lib/python2.7/dist-packages Cleaning up... pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ sudo ./...
by moroen
Thursday 08 November 2018 14:27
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

TJLuijt wrote: ↑Wednesday 07 November 2018 21:42 Hi Moroen, thanks for the swift reply. the result is: sudo coap-client -u "Client_identity" -k ********* -m get coaps://***.***.***.**/.well-known/core v:1 t:CON c:GET i:8490 {} [ ] v:1 t:CON c:GET i:4124 {} [ ] Nov 07 20:41:09 ALRT 20 invalidate pee...
by moroen
Thursday 08 November 2018 1:52
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Hi Moroen, thanks for the swift reply. the result is: sudo coap-client -u "Client_identity" -k ********* -m get coaps://***.***.***.**/.well-known/core v:1 t:CON c:GET i:8490 {} [ ] v:1 t:CON c:GET i:4124 {} [ ] Nov 07 20:41:09 ALRT 20 invalidate peer Nov 07 20:41:09 WARN received alert, peer has b...
by moroen
Wednesday 07 November 2018 2:08
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

@TJLuijt and Flappie, Flappie: The error suggests that the module can't execute coap-client for some reason. TJLuict: coap-client appears to be called, but times out before receiving a reply. The most common cause for this is either wrong IP or master key. Could you both try to run coap-client from ...
by moroen
Tuesday 06 November 2018 13:34
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Flappie wrote:
Tuesday 06 November 2018 11:41
Yes, COAP-Client is installed:

pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ coap-client
coap-client v4.2.0alpha -- a small CoAP implementation
(c) 2010-2015 Olaf Bergmann <bergmann@tzi.org>

Ok, which version of python and pytradfri?

Regards,
M
by moroen
Tuesday 06 November 2018 11:02
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Hi bought a Tradfri gateway but can't connect it with the script: I did enter: pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ ./configure.py 10.0.0.14 EwulNJJdX2UhrLCy Script says: Failed to generate ID/PSK-pair. Check that the IP and Master Key is correct. Security key is correct. If you could p...
by moroen
Monday 05 November 2018 22:11
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Hi bought a Tradfri gateway but can't connect it with the script: I did enter: pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ ./configure.py 10.0.0.14 EwulNJJdX2UhrLCy Script says: Failed to generate ID/PSK-pair. Check that the IP and Master Key is correct. Security key is correct. If you could p...
by moroen
Thursday 01 November 2018 20:58
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Then remove ALL directories containing pytradfri (i.e find -name pytradfri), and then installing pytradfri using sudo. Just to make sure, find -name pytradfri again, and make sure that it's only found in ONE location... And as a shoot in the dark, make sure that it's really the same interpreter (wh...
by moroen
Thursday 01 November 2018 14:43
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

I did not have a folder name pytradfri in /home/pi/domoticz/plugins. I copied a folder with the files from pytradfri in that directory, but no luck.. I have folders with that name in: pi@Domoticz:/ $ sudo find -name pytradfri ./usr/local/lib/python3.5/dist-packages/pytradfri ./usr/lib/python3.5/pyt...
by moroen
Tuesday 30 October 2018 12:06
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Correct: pi@Domoticz:~ $ python3 Python 3.5.2 (default, Oct 29 2018, 18:04:21) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pytradfri >>> But running the same command in the domoticz/plugins/IKEA folder fails: pi@Domoticz:~/domoticz...
by moroen
Tuesday 30 October 2018 1:03
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Quick answers! great! Now i get this: pi@Domoticz:~ $ python3 --version Python 3.5.2 pi@Domoticz:~ $ python3 -m pip install pytradfri /usr/local/bin/python3: No module named pip pi@Domoticz:~ $ pi@Domoticz:~ $ sudo apt-get install python3-pip Reading package lists... Done Building dependency tree R...
by moroen
Monday 29 October 2018 21:44
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Sounds like a familiar problem using python on pi3. At some point I had multiple subfolders (python3, python 3.4, 3.5 and 3.6) with libraries spread over most of then. Domoticz only had a few in it's path do no dice. 3 options: 1) fix and revert to one release but no idea how, 2) add path using PYT...
by moroen
Thursday 25 October 2018 21:15
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

I tried to install this plugin according this link: https://github.com/moroen/IKEA-Tradfri-plugin Everything goes fine till i enter this command: pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ sudo ./configure.py 10.60.y.z code Traceback (most recent call last): ImportError: No module named 'typing'...
by moroen
Tuesday 23 October 2018 22:15
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Probably stupid question but here it goes. For the IKEA trådfri lamps.. do I really need to buy an additional remote / dimmer for each lamp? I know it makes sense when you use it as intended =) But when controlling them from domoticz I couldn't care less about the remote.. and the cost.. So I guess...
by moroen
Saturday 20 October 2018 18:23
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Mambobuzzz wrote:
Saturday 20 October 2018 18:11
Hi there,

is it worth installing on Windnows Domoticz? Is it stable?
I haven't used Windows for years, so I really don't know. I would guess it should work, at least if you create a docker image with the adapter.

Regards,
M
by moroen
Saturday 20 October 2018 13:24
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

After one of those "why haven't I thought about that before"-moments, the latest commit to github now introduces the following rather major changes: The version of plugin.py and tradfri.tac now are the same for both stable and beta versions of domoticz. No more matching master branch with stable dom...
by moroen
Friday 19 October 2018 1:18
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

heggink wrote:
Thursday 18 October 2018 19:42
Supposedly Ikea are due to release tradfri curtain motors [emoji41]. Would love to have a couple of those...
I was not aware that IKEA was planning this, but I guess if and when it's released, it would be the perfect excuse to finally installing automated curtains in the house... ;)

Regards,
M
by moroen
Friday 19 October 2018 1:12
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 426
Views: 56348

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

Could someone please point to solution how to add bulbs into Domoticz (stable Domoticz version and master branch)? I'll stay clear of the "bad habit" discussion, but the plugin supports bulbs for stable domoticz: You need to use the MASTER branch of the plugin with the STABLE version of domoticz. I...