Search found 139 matches

by moroen
Friday 16 February 2018 22:40
Forum: Bugs and Problems
Topic: Can this help solve the segmentation faults when importing python modules in plugin??
Replies: 21
Views: 761

Re: Can this help solve the segmentation faults when importing python modules in plugin??

As far as i can see there is no way to set headers in the built in http transport. For the Hive plugin I have written I need to be able to set some. From the wiki: sendData = { 'Verb' : 'GET', 'URL' : '/', 'Headers' : { 'Content-Type': 'text/xml; charset=utf-8', \ 'Connection': 'keep-alive', \ 'Acc...
by moroen
Thursday 15 February 2018 20:41
Forum: Bugs and Problems
Topic: Can this help solve the segmentation faults when importing python modules in plugin??
Replies: 21
Views: 761

Re: Can this help solve the segmentation faults when importing python modules in plugin??

Is is not only urllib... I tried several http handling libraries (http.client, urllib3, requests)... just importing any of these causes a crash. The first post in this thread by @EscApe definitely is the best explanation I have seen on this, but unfortunately adressing the issue is beyond my reach....
by moroen
Friday 09 February 2018 14:31
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Now I only get one error message twice in the logging... Is this an issue or is this expected? How do I get my lights in Domoticz now? They have all been added to the IKEA TRÅDFRI Gateway earlier. Do they show up as unused devices for example? 2018-02-09 10:56:24.277 Error: (IKEA TRÅDFRI Gateway) '...
by moroen
Friday 09 February 2018 1:50
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

The group is indeed pi. Found out using the command ls -la test. Thank you! :) The which command does nothing unfortunately. Tried using twisted and twistd. No output whatsoever. Re-ran the command pip3 install twisted in the hope it would show a path, but it did not unfortunately. If you have any ...
by moroen
Thursday 08 February 2018 23:56
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

It's the "username" for the connection with the gateway. Since communication is encrypted using DTLS, and IKEA has requested that the GATEWAY key is not stored anywhere, it's necessary to create a username/password (or IDENT/PSK) pair for communication. You could choose what ever you like, excludin...
by moroen
Thursday 08 February 2018 17:13
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

I am trying to install the IKEA-Tradfri-plugin. What is meant with IDENT in the command below, the desired identification name of what ? The name of the Raspberry Pi on which I am installing the plugin, the name I would like to give to the TRÅDFRI Gateway or something else? May the identification n...
by moroen
Tuesday 06 February 2018 22:40
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hi! Are there any news regarding the motion sensors and the IKEA lightpanels in the IKEA-Tradfri plugin? What is the current development state? I could not find anything regarding this in the code base, did anyone already start working on it? Thanks :) I have found no way to monitor sensors using t...
by moroen
Sunday 28 January 2018 16:37
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hmm ok... thanks. Here: [email protected]:~/domoticz/plugins/IKEA-Tradfri$ coap-client -k "XXXXXXXX" coaps://192.168.0.72:5684/.well-known/core v:1 t:CON c:GET i:fbf3 {} [ ] <//15006>;ct=0;obs,<//15001>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15010>;ct=0;obs,<//15005>;c...
by moroen
Saturday 27 January 2018 17:45
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hi! How is the development ongoing for Domoticz? Wondering if I should buy the gateway and some bulbs to get started with, but as I want to control from Domoticz i asking if its stable enough. What is your thoughts about Trådfri plugin? Is it a go or no go? ;) Running the latest stable version on R...
by moroen
Saturday 27 January 2018 17:39
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

I haven't still been able to get this working :( I wonder how should I do to remove everything and then try to reinstall it? Has someone made a step by step instruction how to install it to work with the latest beta? The plugin times out, while using pytradfri appears to work from the command line,...
by moroen
Saturday 27 January 2018 17:36
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

I have problem... [email protected]:~/domoticz/plugins/IKEA-Tradfri# python3 -i -m pytradfri 192.168.1.241 DEBUG:pytradfri.util:JSON file not found: tradfri_standalone_psk.conf Please provide the 'Security Code' on the back of your Tradfri gateway: xxxxxxx DEBUG:pytradfri.util:JSON file not found: tra...
by moroen
Wednesday 24 January 2018 1:35
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Thanks... That helped, kind of :) 2018-01-23 21:23:54.806 (Ikea Tradfri) Connected successfully to: 192.168.0.72 2018-01-23 21:24:05.078 PluginSystem: Restarting I/O service thread. 2018-01-23 21:24:05.078 (Ikea Tradfri) Device has disconnected No Errors but those messages only and no devices/lamps...
by moroen
Tuesday 23 January 2018 19:18
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Stupid question...but I haven't been able to find out how I use the development branch? I have the latest beta build 3.8834 and I get these messages: 2018-01-23 16:45:51.540 (Ikea Tradfri) Connected successfully to: 192.168.0.72 2018-01-23 16:45:51.541 Error: (Ikea Tradfri) 'onMessage' failed 'Type...
by moroen
Sunday 21 January 2018 23:20
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Maybe just put a smart powerplug between the hub and the power and then have Domoticz reset it daily :D :D Good one, it's called home automation for a reason! :lol: Regards, M I have been experimenting a bit, and it rebooting the Ikea hub through a smartplug seems to work quite stable. I however ha...
by moroen
Thursday 18 January 2018 1:42
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Yes, the gateway hangs from time to time, but not as often when disabling observe changes. The way it does it now, is by polling, and it the frequency of gateway freezes appears to be related to the number of requests being sent, indicating a possible memory leak. And yes, there is a way to reset t...
by moroen
Wednesday 17 January 2018 19:32
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hi Moroen, Thanks for swift reply! I have tested your new development branch and my sunset timer just fired, the lights were switched on and also the group now nicely switches on. Thanks a lot for the fix, so far so good! As for the timeouts, what I think would be good if at least the attributes pr...
by moroen
Wednesday 17 January 2018 15:28
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hi Moroen, Yes of course will help testing and will keep you updated. I have to admit that once every while my Ikea hub seems to hang, ie not responsive, also not through the Ikea app on my phone, so no issue with the plugin. It happened again last night, and while looking at syslog/logging it seem...
by moroen
Tuesday 16 January 2018 23:57
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 231
Views: 25354

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

Hi Moroen, Using your plugin now for a while with latest domoticz beta 8805 and ikea firmware 1.3.14. It works great, but i have two questions I hope you could answer: - I have a group called X with three lights. If i push on for group X in the domoticz gui then it works fine, lights are turned on ...
by moroen
Friday 12 January 2018 22:30
Forum: Python
Topic: Python Eventsystem: (constantly restarting) Module not found - What´s wrong?
Replies: 8
Views: 926

Re: Python Eventsystem: (constantly restarting) Module not found - What´s wrong?

Well, I don't need python but I guess the simple installation (not built from source) is enabling it when python was installed. Any suggestion how to disable it? (have searched domoticz folders and also forum for answer :-) ) Well, the brute force approach is to remove python from the system... :? ...
by moroen
Friday 12 January 2018 22:20
Forum: Python
Topic: Plugins are disabled?
Replies: 38
Views: 1743

Re: Plugins are disabled?

Yep... I compiled it myself That probably explains the difference between your version and mine. hhmmmm... correct me if i'm wrong but latest beta is the same as the one we compile. I mean, if you download the latest beta while i compile it should be the same. There is one differnce, if somebody do...