Search found 12 matches

by vaevictis
Monday 21 May 2018 8:04
Forum: Z-Wave
Topic: Devices not recognised anymore ID: 0x0000
Replies: 3
Views: 1284

Devices not recognised anymore ID: 0x0000

I have a couple of devices which have stopped working with ID 0x0000. Is there any method to restore them without exclude/include them? Some devices are hard to reach.

Regards.

Image can be found here: http://www.evernote.com/l/AFOC5DCHRLxBf ... YLEqPuoN4/
by vaevictis
Saturday 12 May 2018 11:44
Forum: Bash / PowerShell / Batch etc.
Topic: Display a Geolocation in Domoticz?
Replies: 1
Views: 1481

Display a Geolocation in Domoticz?

Any thoughts on how to implement a geolocation (map) in Domoticz? Using the carwings API I request the location of my Nissan Leaf. The result is a set of coordinates or an URL http://www.openstreetmap.org/search?query=52.089044444444%205.0292666666667#map=19/52.089044444444/5.0292666666667 Is it ...
by vaevictis
Monday 31 July 2017 16:43
Forum: Z-Wave
Topic: Fibaro wall plug broken?
Replies: 12
Views: 3277

Re: Fibaro wall plug broken?

For a friend I would like to know if this plug can be used with solar panels i.e. read out power production.
Negative values are ok.
by vaevictis
Monday 12 June 2017 16:02
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

I didn't see any replies since the last couple of months ;) Anyway, I've got it working all the way. I didn't use the kWh anymore, since the values are not not electrical kWh's but heating, so there is a huge difference between these values and the actual electrical power consuming.... See the ...
by vaevictis
Sunday 04 June 2017 11:02
Forum: Other questions and discussions
Topic: JSON update status with space / bad request
Replies: 1
Views: 858

JSON update status with space / bad request

Hello, Fairly basic question, how can I escape a string so that a white space is accepted inside a string? When the stlVal is "Geen vraag" I get a 400 Reason: Bad Request, offcourse I can change it to "Geen_vraag" to get it working. def Domoticz(strIdx, strVal, strDesc = '', strWP_ID = ''): strJson ...
by vaevictis
Saturday 03 June 2017 9:18
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Got it working! Did some cleanup of the code for Python 3. #!/usr/bin/python3.4 import socket import struct import datetime import http.client # Luxtronik 2.0 IP hostHeatpump = '10.50.2.160' # Luxtronik 2.0 port (standard 8888) portHeatpump = 8889 # Empty variables leng = 0 array_calculated = [] s ...
by vaevictis
Friday 02 June 2017 23:28
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

I can't help you any further because i'm not a Python specialist. Are you using Python 3.4.2? It looks like the following part doesn't works correctly: stat = struct.unpack( '!i', s.recv(4))[0] len = struct.unpack( '!i', s.recv(4))[0] array_calculated = [] for i in range(len): array_calculated ...
by vaevictis
Friday 02 June 2017 23:09
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Aandegrens wrote:Is this the only error you are getting.
Comment that part out and try the rest.
All lines are giving the same error. How can I deduct what value is for what field? I have a Alpha Innotec WSZ heatpump.
by vaevictis
Friday 02 June 2017 20:54
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Does the print(array_calculated) command return any values? It should return something like this: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 403, 385, 150, 360, 333, 261, 208, 465, 475, 293, 306, 750, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24508085 ...
by vaevictis
Friday 02 June 2017 19:37
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Ok, got it working by using port 8889 and indenting the script with tabs.
However when the script prints out the text I still get some error:

print("Temperatuur buiten : ", (str(float(array_calculated[15])/10)))
IndexError: list index out of range
by vaevictis
Friday 02 June 2017 18:37
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Aandegrens wrote:My script is running on Python 3.4
Can you post your latest version?
The webserver is protected with a default password 888888 and got recently an update to firmware V3.79 can this be the reason the script doesn't work?
by vaevictis
Friday 02 June 2017 11:33
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 18776

Re: Luxtronic Heatpump controller

Is this script compatible with Python 2 or 3? When I run this script with Python 3.2 and the correct IP addresses and dummy device ids it just hangs. When I break it off with CTRL-C: /luxtronic.py: line 12: portHeatpump: command not found ./luxtronic.py: line 14: syntax error near unexpected token ...