Search found 155 matches

by moroen
Wednesday 06 June 2018 22:24
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Mario wrote:
Wednesday 06 June 2018 21:44
Hi,

No other python plugins. Only a rfxcom.
And yes, installation was from scratch. A Jessie raspberry PI image.
Compiling domoticz from source or using a prebuilt binary?

Regards,
M
by moroen
Wednesday 06 June 2018 21:07
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Dear Moroen, I was too excited. Domoticz will run for a day and then goes offline. After reboot I notice the following error in Domoticz: 2018-05-31 20:46:54.474 PluginSystem: 'IKEA' Registration ignored, Plugins are not enabled. Something shuts down. Can you figure out what? Thx, Mario Hm, strange...
by moroen
Monday 04 June 2018 16:45
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Mario wrote:
Sunday 03 June 2018 22:27
Dear Moroen,

Don't ask me what I did but everything is working now. I would like to thank you for your help and your patience. it is much appreciated.

Kind regards,

Mario
Glad it worked out! :) And no problem!

Regards,
M
by moroen
Sunday 03 June 2018 1:18
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Dear M, See below, sudo apt-get install python3 python3-dev Reading package lists... Done Building dependency tree Reading state information... Done python3 is already the newest version. python3 set to manually installed. python3-dev is already the newest version. 0 upgraded, 0 newly installed, 0 ...
by moroen
Saturday 02 June 2018 1:12
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Dear M, See below, sudo apt-get install python3 python3-dev Reading package lists... Done Building dependency tree Reading state information... Done python3 is already the newest version. python3 set to manually installed. python3-dev is already the newest version. 0 upgraded, 0 newly installed, 0 ...
by moroen
Friday 01 June 2018 0:01
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Hi M, Done as told and I think everything went okay, except the hardware isn't showing anymore. I think plugin doesn't start now, can you try to explain why? Here is the log from PI and the log from Domoticz sudo systemctl status ikea-tradfri ● ikea-tradfri.service - IKEA Tradfri COAP-adapter Loade...
by moroen
Thursday 31 May 2018 23:54
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

everything worked for 30 min afterwards I restarted the PI and it doesn't connect anymore to my devices. I get an error Failed to connect to IKEA tradfri COAP-adapter! Status: 111 Description: Connection refused I really want this to work The adapter is not running. Are you running the adapter as a...
by moroen
Thursday 31 May 2018 23:51
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

OK already a little bit further, I succesfully created a PSK but I didn't see any devices in the list when I do sudo systemctl status ikea-tradfri I get ikea-tradfri.service - IKEA Tradfri COAP-adapter Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled) Active...
by moroen
Thursday 31 May 2018 0:46
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

OK already a little bit further, I succesfully created a PSK but I didn't see any devices in the list when I do sudo systemctl status ikea-tradfri I get ikea-tradfri.service - IKEA Tradfri COAP-adapter Loaded: loaded (/lib/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled) Active...
by moroen
Thursday 31 May 2018 0:44
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Hi, After reinstalling the full raspberry PI I now have the plugin into the hardware tab. now i have another problem I get the following return from the libcoap coap-client -m post -u "Client_identity" -k "<KEY>" -e '{"9090":"DOMOTICZ"}' "coaps://192.168.10.12:5684/15011/9063" v:1 t:CON c:POST i:70...
by moroen
Wednesday 30 May 2018 17:05
Forum: Python
Topic: phyton script in Events only runs once
Replies: 4
Views: 246

Re: phyton script in Events only runs once

Could you provide the relevant sections of the domoticz log?

How is this script triggered? Using script_device-*.py in scripts/python or triggered from on action for the switch?

Regards,
M
by moroen
Wednesday 30 May 2018 0:48
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Hi M, I am at 99% of getting it working. When I start Coap adapter from command line everything is working. But when I turn off coap adaptor it stops working. So I need to have coap adapter start at startup, found descriptions that the service file needs to be edited but where and how do I do that?...
by moroen
Monday 28 May 2018 0:40
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

And again a new problem. Domoticz Log : 2018-05-27 23:42:09.511 (IKEA) Connected successfully to: 192.168.178.185 2018-05-27 23:42:20.080 PluginSystem: Restarting I/O service thread. 2018-05-27 23:42:20.081 (IKEA) Device has disconnected Terminal log: Connected from IPv4Address(TCP, '127.0.0.1', 38...
by moroen
Sunday 27 May 2018 23:25
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Dear M, I am a big step further, only to get me a new and fresh error message: (IKEA) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'Status' and 'Extra''. What now? I am wondering if I ever get it to work :-( Kind regards, M You're getting closer, just need to...
by moroen
Friday 25 May 2018 21:39
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Hi again, Reinstalled Domoticz as suggested. When in Ikea subfolder using the python command I get the following. pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ python3 tradfri.tac IKEA-tradfri COAP-adaptor version 0.6 started (command line)! Don't see anything happening in Domoticz. What did I f...
by moroen
Thursday 24 May 2018 0:11
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Hi, I have the tradfri plugin running on my raspberry pi, for this I want to thank the ones who made this possible. :P Now I was setting up my color light bulbs and that works fine with the color picker (for all 21 color settings) and for the intensity. With placing the color bulps in a group the c...
by moroen
Monday 14 May 2018 23:47
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls mkdir: cannot create directory ‘/usr/local/include/tinydtls’: Permission denied Makefile:107: recipe for target 'install' failed make[1]: *** [install] Error 1 make[1]: Leaving directory '/home/pi/libcoap/ext/tinydtls' Make...
by moroen
Monday 14 May 2018 20:53
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls mkdir: cannot create directory ‘/usr/local/include/tinydtls’: Permission denied Makefile:107: recipe for target 'install' failed make[1]: *** [install] Error 1 make[1]: Leaving directory '/home/pi/libcoap/ext/tinydtls' Make...
by moroen
Monday 14 May 2018 20:35
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

This is the Domoticz log: 2018-05-14 14:41:15.049 Domoticz V3.9439 (c)2012-2018 GizMoCuz 2018-05-14 14:41:15.049 Build Hash: a6a160a8, Date: 2018-05-14 09:01:03 2018-05-14 14:41:15.050 Startup Path: /home/pi/domoticz/ 2018-05-14 14:41:15.304 Sunrise: 05:45:00 SunSet: 21:26:00 2018-05-14 14:41:15.30...
by moroen
Friday 11 May 2018 15:25
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 291
Views: 38400

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

Dear Moroen, Been at it for almost 2 weeks now and still can't get the lights to work. Tried every suggestion posted on this forum but nothing helps.I am at the end of things now. Hope you can helpme point in the right direction. When I install like you write, I come to the "/opt/domoticz/plugins/I...