Search found 103 matches

by moroen
Wednesday 22 November 2017 10:42
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

If you have a PSK and identity from pytradfri that works, I would recommend to input them into the plugin. The default IDENT from pytradfri is pytradfri, combined with the PSK from the text file... Regards, M I have added the PSK and identity in the plugin in domoticz as well as in the gateway_psk....
by moroen
Wednesday 22 November 2017 10:04
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Hello, I've been trying to get the plugin to work, but I was having trouble with the PSK from the Pytradfri at first. I fixed this by manually adding the Gateway Identity and PSK on two places in "libcoap_api.py', but now I'm getting the following error when trying to use tradfri.tac: Do you know h...
by moroen
Monday 20 November 2017 20:30
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

UPDATE :Finally got it!!! I didn't have the right user/group set in the Ikea-tradfri.service. I tought it had to match /home/pi/domoticz/plugins/IKEA-Trafri folderbut it had to match the /lib/systemd/system/ folder When nothing works, start again from the beginning... I did the setup again and now ...
by moroen
Sunday 19 November 2017 20:33
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

So,from what I understand (I don't know python at all ... and maybe I'm totally wrong :roll: ), I've got 2 problems : 1: my IKEA-Tradfri.service seems unable to call directly the tradfri.tac --> do I have to change Something in the IKEA-Tradfri.service file? BTW, does the User/group have to match t...
by moroen
Sunday 19 November 2017 13:49
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Coap client v.0.4 Gateway Firmware just updated v.1.2.42 I run domoticz v3.8153 BTW, when i do sudo service Ikea-tradfri statut i get this error ikea-tradfri.service - IKEA Tradfri COAP-adapter Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor pre Active: failed (Result: exi...
by moroen
Friday 17 November 2017 22:19
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

4.05 Method Not Allowed So can you point me to the right direction Thanks in advance for help That coap-client line should work, I copied it from your post and substituted my own values, and it correctly returns a new PSK. - Are you sure the gateway is running the latest firmware? - What's the vers...
by moroen
Friday 17 November 2017 22:19
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

4.05 Method Not Allowed So can you point me to the right direction Thanks in advance for help That coap-client line should work, I copied it from your post and substituted my own values, and it correctly returns a new PSK. - Are you sure the gateway is running the latest firmware? - What's the vers...
by moroen
Friday 17 November 2017 16:36
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Hello, I have domoticz with tradfri plugin up and running, i set devices as groups, but I cannot use the buttons in domoticz, I want them to use them so I can do things with them through domoticz, will that be possible? Switching groups on/off should be possible, could you specify some more? Any ou...
by moroen
Tuesday 07 November 2017 14:07
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Basic support for color-bulbs implemented. I'v been unable to make sense of the color-picker, so full RGB support is still lacking. Thinking about implementing some kind of "custom" levels, where it would be possible to specify the desired colors using RGB rather than the predefined ones found in th...
by moroen
Sunday 05 November 2017 19:04
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

The latest commit to the plugin on github supports the new IDENT/PSK credentials of the latest IKEA gateway firmware, and supports/requires pytradfri version 4.0.2 or greater. Support for color-bulbs are on it's way, I hope to push a new commit with this feature in the next couple of days! Regards, M
by moroen
Tuesday 31 October 2017 21:35
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Just a small heads up: According to https://github.com/ggravlingen/pytradfri/issues/90 , a new firmware version of the Ikea Gateway will render the current implementation of pytradfri, and thus this domoticz plugin unoperative until pytradfri is updated with support for a change in the way the gatew...
by moroen
Monday 30 October 2017 1:02
Forum: Python
Topic: Using the RGB color picker
Replies: 2
Views: 287

Using the RGB color picker

I'm struggling with the RGB color picker. Creating the device is easy enough, using Type=241, SubType=1 and Switchtype=7, but the values returned in onCommand makes no sense to me. When just dumping out the values to the log I get: 2017-10-29 23:23:57.344 (IKEA) RGB - Command: Set Color Level: 214 H...
by moroen
Monday 30 October 2017 0:52
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

Found it on Ikea yesterday and bought a couple. Currently working on adding support. I have found a way to select the predefined colors, not sure if the bulb also supports full spectrum, but experimenting with pytradfri to find out! Excellent news! You have probably already found the various operat...
by moroen
Saturday 28 October 2017 13:12
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

RGBW ;) http://www.ikea.com/no/no/catalog/products/70338951/ Found it on Ikea yesterday and bought a couple. Currently working on adding support. I have found a way to select the predefined colors, not sure if the bulb also supports full spectrum, but experimenting with pytradfri to find out! Regar...
by moroen
Monday 23 October 2017 17:21
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

m0rph13 wrote:
Monday 23 October 2017 12:07
Did you get your hands on the RGB bulb yet? :)
Still not available on the web-pages, but I'm going to a Ikea-warehouse in Oslo someday this week, so I'll take a look!

Regards,
M
by moroen
Friday 20 October 2017 9:40
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

@moroen, The framework is designed to allow protocols to be added pretty easily (they are polymorphic so you can just drop a new one in that supports the required interface) without risking existing functionality. I looked up COAP and it looks like it would work well. There is already a C++ library...
by moroen
Wednesday 18 October 2017 12:47
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

@moroen, I would recommend against the 'switch to aiocoap' because the Python Framework does not support asynchronous operations and libraries. The framework is single threaded, does not enable Python threads in the interpreter, nor it does not use the Python Global Inter Lock. The code within Domo...
by moroen
Tuesday 17 October 2017 19:30
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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

So it looks like if there is only one group it does not advertise it as a group. Moroen can you have a look at "Unable to iterate groups" error and the "Error in annouce: 160628"? Sorry for the late reply, the latest commit should address this, but an ongoing problem is maintaining a stable connect...
by moroen
Sunday 08 October 2017 15:35
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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)? 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...
by moroen
Saturday 07 October 2017 22:20
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 153
Views: 16168

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 [email protected]:~ $ sudo service ikea-tradfri status ● ikea-tradfri.service - IKEA Tradfri COAP-adapter Loade...