I just controlled one of my IKEA-Lamps with a coap-client command :) So the coap client works but when i run pytradfri commands i get lots of failure like this.....Is it something about ownership? Or a library that is missing?
It probably waits for a return from the coap-client/gateway. It might be a long shot, but have you tried to cycle the power on the gateway? It seems the gateway might hang, while still responding to pings, no coap is returned...
It didnt work. I m sorry I give up :( I think i will use ...
Already tryed that and got this then it waits... Waiting for connection Connected from IPv4Address(TCP, '127.0.0.1', 36926) Data received: b'{"action": "setConfig", "key": "My Key", "gateway": "192.168.1.45", "observe": "True"}'
It probably waits for a return from the coap-client/gateway. It ...
I got this...When i have stopped the service ikea-tradfri.service
Waiting for connection Connected from IPv4Address(TCP, '127.0.0.1', 36926) Data received: b'{"action": "setConfig", "key": "My Key", "gateway": "192.168.1.45", "observe": "True"}'
When i putting in my ip and Key i got this. I am new in Linux so i need help :) I run another Coap-script that i find on the web an could find IKEA lamps. (I removed my IKEA Key) I using Domoticz V3.8153, Python 3.4, Ikea gateway version 1.1.0015.
I tryed to implement this code but i cant get any data from Kostal Inverter 4.2 that i have. I have stored the piko.py in right place and did exactlly as decribed in code above but i get nothing.
I realy need help!!!! I have tryed for several houers. This is my first LUA code.