Search found 23 matches

by Aandegrens
Friday 20 September 2024 10:56
Forum: Python
Topic: Plugin is not seen in Hardware list
Replies: 5
Views: 1060

Re: Plugin is not seen in Hardware list

It is working now. I updated from 2022.1 to 2024.6 and that did the trick.

Couldn't have done it without your help. Thanks a lot.
by Aandegrens
Friday 20 September 2024 10:15
Forum: Python
Topic: Python plugin: Husqvarna automower
Replies: 19
Views: 3909

Re: Python plugin: Husqvarna automower

Hi Waltervl,

I was still running the 2022.1 version.
I updated to the 2024.6 and a lot has changed between those 2 versions.
Great options have been added.

Thanks, they are visible now.

Frank
by Aandegrens
Friday 20 September 2024 9:51
Forum: Python
Topic: Python plugin: Husqvarna automower
Replies: 19
Views: 3909

Re: Python plugin: Husqvarna automower

Hi Filip,
the hardware is added and I'm seeing the devices in the devicelist.
No errors in the logging anymore.

Husqvarna - Actions
Husqvarna - Run
Husqvarna - State
Husqvarna - Battery level

Are these the devices which should be visible?
They are updated so that all looks okay.

But....
I ...
by Aandegrens
Friday 20 September 2024 8:55
Forum: Python
Topic: Python plugin: Husqvarna automower
Replies: 19
Views: 3909

Re: Python plugin: Husqvarna automower

Hi Filip,

no, this is the first plugin Im using.
I was going to upgrade to the newest stable version of Domoticz.
Let's see if that solves the issue.

Frank
by Aandegrens
Thursday 19 September 2024 22:41
Forum: Python
Topic: Python plugin: Husqvarna automower
Replies: 19
Views: 3909

Re: Python plugin: Husqvarna automower

Hi Filip,

I was very happy to find your plugin but I can't get it working.
It's added to Domoticz and I see it in the hardware, but it is not showing any devices.
It is showing some logging in Domoticz.

When I run it in the commandlint I get the following error:
C:\Windows\System32>python "C ...
by Aandegrens
Thursday 19 September 2024 21:42
Forum: Python
Topic: Plugin is not seen in Hardware list
Replies: 5
Views: 1060

Re: Plugin is not seen in Hardware list

Hi,

@Waltervl: I did not see this message in the log. So I uninstalled Python completely and reinstalled it. Now it is working.
@Thuis: I did not know this step. After I solved the suggestion of Walter I did your step and now Husqvarna is showing in the Hardware.

Next issue is it can be added, but ...
by Aandegrens
Thursday 19 September 2024 10:49
Forum: Python
Topic: Plugin is not seen in Hardware list
Replies: 5
Views: 1060

Plugin is not seen in Hardware list

Hi,
this is my first plugin I wanted to add to Domoticz so that it is available in the hardware dropdown list.
I'm running Domoticz on a Windows 11 pc.
I want to add the Husqvarna plugin (https://github.com/FilipDem/Domoticz-Husqvarna-Automower-plugin), so I created a subfolder in the Domoticz ...
by Aandegrens
Thursday 14 January 2021 12:31
Forum: Temperature and Weather
Topic: Open Weather map new version!
Replies: 2
Views: 810

Re: Open Weather map new version!

I've got feedback from OWM. 1 Call for all the devices is seen as 1 call. So 12x24 = 288.
So you can set up 3 locations without problems.

But this still does not answer my question. How do I get the latest version for the hardware?

Anyone?
by Aandegrens
Monday 11 January 2021 10:47
Forum: Temperature and Weather
Topic: Open Weather map new version!
Replies: 2
Views: 810

Open Weather map new version!

Hi,

I received a mail from OWM that I was using to much api calls per day and was exceeding the 1000/dag limit.
There are 9 devices within each OWM connection.
I think that every 5 minutes the is done an api-call.
So 9 devices x 12 per hours x 24 hours = 2592 api-calls. Is this correct?

I read on ...
by Aandegrens
Wednesday 16 December 2020 10:41
Forum: Switches and Scenes
Topic: Fibare Wall plug / Master/Slave issue
Replies: 0
Views: 285

Fibare Wall plug / Master/Slave issue

Hi all,

I am currently experiencing a strange phenomenon. When I enable or disable 1 of the Fiber Wall plugs, these are always 3 actions. I see 3 switching actions in the logging. See below:
2020-12-16 10:18:16 On Open Z-wave
2020-12-16 10:18:15 Off Open Z-wave
2020-12-16 10:18:15 On Admin
2020-12 ...
by Aandegrens
Friday 09 February 2018 10:16
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 139780

Re: MyDomoticz - Testers wanted!

I'm experiencing some strange behaviour with My.domoticz.
I'm using V3.8871 of Domoticz.

When I try to start a Domoticz instance in My.Domoticz it's often shown red as it isn't available.
There is no way to start the instance.

When I login start Domoticz locally all works fine.

When I go to ...
by Aandegrens
Tuesday 19 December 2017 12:25
Forum: Other questions and discussions
Topic: Error with proxy in logfile
Replies: 1
Views: 617

Re: Error with proxy in logfile

I'm also having this error in the errorlog.
Have you solved it?
by Aandegrens
Friday 02 June 2017 23:23
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

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 Aandegrens
Friday 02 June 2017 21:56
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

Re: Luxtronic Heatpump controller

Is this the only error you are getting.
Comment that part out and try the rest.
by Aandegrens
Friday 02 June 2017 19:49
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

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 Aandegrens
Friday 02 June 2017 18:55
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

Re: Luxtronic Heatpump controller

#!/usr/bin/python

import socket
import struct
import datetime
import http.client
import time
import requests
import json
import sys
import codecs

#########################################################################################
#Write data to Domoticz ...
by Aandegrens
Friday 02 June 2017 16:55
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

Re: Luxtronic Heatpump controller

My script is running on Python 3.4
by Aandegrens
Tuesday 23 May 2017 19:56
Forum: LUA
Topic: LUA script for Sony Bravia TV
Replies: 48
Views: 47434

Re: LUA script for Sony Bravia TV

Hi,

it almost works. The only thing I can't get working is the etherwake.
Turning the TV of works.
The status of the TV works.

Anyone any ideas?

Gr.
by Aandegrens
Friday 12 May 2017 0:21
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

Re: Luxtronic Heatpump controller

Yip, That's it.
Or removing the username for the website does the trick also.
But adding an ip range is a beter solution.

Made a function that does the writing to Domoticz form me now:
import socket
import struct
import datetime
import http.client
import time
import requests ...
by Aandegrens
Thursday 11 May 2017 21:23
Forum: Heating/cooling
Topic: Luxtronic Heatpump controller
Replies: 52
Views: 20460

Re: Luxtronic Heatpump controller

Hi Westcott,

I tried the following:
strDomoticz = 'http://localhost:8080'
print(strDomoticz+strJson)
response = requests.get(strDomoticz+strJson)
if response.ok:
jsonData = response.json()
if jsonData["status"] != "OK":
print("Status " + jsonData["status"] + " for " + strJson)
else:
print ...