Search found 16 matches

by sejonr
Wednesday 11 October 2017 9:08
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

niki_lauda wrote: Tuesday 29 March 2016 19:10 1.jpg
Ja
Yes
Hi niki

How did you do?? I copyed your lua but get the same problem as you.

Thank you for help :D
by sejonr
Wednesday 04 October 2017 11:12
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

I used the version fr.o.m. This URL https://learn.pimoroni.com/tutorial/sandyj/controlling-ikea-tradfri-lights-from-your-pi Ah, that might be the problem. Please try to install coap-client using the instructions/script from pytradfri: https://github.com/ggravlingen/pytradfri/blob/master/script ...
by sejonr
Wednesday 04 October 2017 9:30
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

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? pi@raspberrypi:~/pytradfri $ sudo python3 -i -m pytradfri 192.168.1.45 ...
by sejonr
Tuesday 03 October 2017 22:59
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

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 another ...
by sejonr
Tuesday 03 October 2017 16:36
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

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 might ...
by sejonr
Monday 02 October 2017 23:08
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

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"}' But when i start the service and restart domoticz i ...
by sejonr
Sunday 01 October 2017 21:35
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

Hi M 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. coap-client -k "MY Key" coaps://192.168.1.45 ...
by sejonr
Sunday 01 October 2017 21:23
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

It appears that the coap-client can't connect to the ikea-gateway. Have you tried testing the coap-client from the command-line? $ coap-client -k your_key_goes_here coaps://ip/.well-known/core Regards, M Hi M When i putting in my ip and Key i got this. I am new in Linux so i need help :) I run ...
by sejonr
Sunday 01 October 2017 10:03
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

Hi All i have one problem i cant find IKEA lamps and i got this fault in Domoticz logg. What can it be? 2017-09-29 08:55:14.106 (IKEA Lampor) {'action': 'setConfig', 'error': 'Connection timed out', 'status': 'Failed'} It appears that the coap-client can't connect to the ikea-gateway. Have you ...
by sejonr
Friday 29 September 2017 9:01
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

Hi All i have one problem i cant find IKEA lamps and i got this fault in Domoticz logg. What can it be? 2017-09-29 08:55:14.104 (IKEA Lampor) Received 76 bytes of data:. 2017-09-29 08:55:14.104 (IKEA Lampor) 7b 22 73 74 61 74 75 73 22 3a 20 22 46 61 69 6c 65 64 22 2c {"status":."Failed", 2017-09-29 ...
by sejonr
Friday 22 September 2017 11:04
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169257

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

Hi i also try to add trådfri plugin. Everything is working exept that i cant find the Trådfri plugin in Domoticz. (I got help from a person that is very god at Linux and python.) he told me that i need to reinstall domoticz with compile. Do i need that? Im afraid to loose all my data. I get this m ...
by sejonr
Wednesday 17 May 2017 8:54
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

My Lua is stored under the right meny - settings / more settings/eventhandling

and i selected Lua in stead of Blockly and the lua script is on time (per min)
by sejonr
Tuesday 16 May 2017 13:16
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

Thank you for your help :) :) Everything works now but not kwh.

The Kwh shows the day after (for example sunday kwh is shown on monday) and i cant see kwh per hour .??
by sejonr
Friday 05 May 2017 22:42
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

Yes i got the file but i got this message when i run from commandline what is this? Do i need a new file?

Traceback (most recent call last):
File "Piko.py", line 40, in <module>
import MySQLdb as mdb
ImportError: No module named MySQLdb
by sejonr
Friday 05 May 2017 12:42
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

Of cource i changed IP adress
by sejonr
Friday 05 May 2017 12:42
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 11562

Re: Domoticz logging the output of a Kostal Piko inverter

Hi

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.