Search found 265 matches

by zicht
Tuesday 11 February 2025 8:27
Forum: Bugs and Problems
Topic: chrome STATUS_ACCESS_VIOLATION
Replies: 3
Views: 407

Re: chrome STATUS_ACCESS_VIOLATION

The `STATUS_ACCESS_VIOLATION` error in application generally indicates that the program is trying to access memory that it shouldn't be, which can be caused by various factors, including browser extensions, outdated software, or even hardware issues. did you try to disable/delete all extentions ...
by zicht
Monday 10 February 2025 14:52
Forum: dzVents
Topic: Is to possible to mix plain lua and dzevents routines ?
Replies: 4
Views: 811

Re: Is to possible to mix plain lua and dzevents routines ?

Hi Walter Found that one, but the way i read it this is used by dzevents only. probably my lack of understandig ? Will the routine be available from the "regular" lua interprenter in domoticz. Bit confused as it would need to require or load the file somehow ? It writes not needed, but how does lua ...
by zicht
Monday 10 February 2025 6:34
Forum: dzVents
Topic: Is to possible to mix plain lua and dzevents routines ?
Replies: 4
Views: 811

Is to possible to mix plain lua and dzevents routines ?

Hi I am investigating to port a lot of big lua scripts to dzevents... As far as i can see dzeventis i basic lua in a different way formatted for optimum working with domoticz Due to the amount of lines and complexity in my scripts i am looking for some hybrid solution. My lua scripts are segmented ...
by zicht
Friday 07 February 2025 11:30
Forum: Bugs and Problems
Topic: Question on Smoke sensor (new) json api error
Replies: 4
Views: 601

Question on Smoke sensor (new) json api error

Version: 2024.7 (build 16464) Build Hash: f4f5300a2 Compile Date: 2025-01-27 09:06:59 dzVents Version: 3.1.8 Python Version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:38:17) [MSC v.1932 32 bit (Intel)] Source used : https://wiki.domoticz.com/Domoticz_API/JSON_URL's#Reset It was a long time since ...
by zicht
Tuesday 04 February 2025 17:48
Forum: Bash / PowerShell / Batch etc.
Topic: Windows Batch, make use of taskschedular in domoticz
Replies: 2
Views: 6986

Re: Windows Batch, make use of taskschedular in domoticz

waltervl wrote: Saturday 01 February 2025 22:01 What about using the dzvents asynchronous domoticz.executeShellCommand('some shell command')
function?

https://wiki.domoticz.com/DzVents:_next ... _execution
missed that one ! Thanks : that looks a lot better ...
by zicht
Saturday 01 February 2025 21:46
Forum: Bash / PowerShell / Batch etc.
Topic: Windows Batch, make use of taskschedular in domoticz
Replies: 2
Views: 6986

Windows Batch, make use of taskschedular in domoticz

Sometimes i use os.execute command to do things and when it hangs, domoticz slows down & gives an error running >10 secs. Thats unwanted and after some thinking i have a simple solution : Create in the domoticz dir a batchfile named "run_command.bat" Create in taskschedular a task named "z__run ...
by zicht
Monday 27 January 2025 7:51
Forum: Python
Topic: My first attempt : pluging SMARTWATER Gardena/Huskvarna
Replies: 0
Views: 168

My first attempt : pluging SMARTWATER Gardena/Huskvarna

import asyncio, ssl, websockets import websocket import datetime from threading import Thread import time import sys import requests import json # account specific values CLIENT_ID = 'Your client ID huskvarna dev' CLIENT_SECRET = 'Your client secret huskvarna dev' API_KEY = 'Your API key huskvarna ...
by zicht
Sunday 26 January 2025 12:53
Forum: Python
Topic: Help needed python gardena smartwater websocket (SLL problem)
Replies: 6
Views: 346

Re: Help needed python gardena smartwater websocket (SLL problem)

If possible make a python plugin out of it.... I believe there is already a Gardena/Husqvarna plugin but for mowers... I am a bit stuck at the plugin structure and how to port into a plugin. Any possiility to point me at the mower plugin ? Cant find it (to use it as an example would be really ...
by zicht
Sunday 26 January 2025 12:41
Forum: Suggestions
Topic: feature request : HUE API v2 - Hue rotary dial
Replies: 2
Views: 139

Re: feature request : HUE API v2 - Hue rotary dial

waltervl wrote: Thursday 23 January 2025 21:17 See also https://github.com/domoticz/domoticz/issues/6250
Thanks !
missed that one... so it could be implemented when someone finds time and resources to do so ... thats gives soms hope & trust :)
Unfortunaly i lack skills in this kind of coding, so i am not able to help ( would if i could)
by zicht
Thursday 23 January 2025 10:33
Forum: Suggestions
Topic: feature request : HUE API v2 - Hue rotary dial
Replies: 2
Views: 139

feature request : HUE API v2 - Hue rotary dial

Hi devs, I have the new Hue Rotary Tap in use. The buttons work fine, but the rotary dial is not useable in Domoticz. What i have found after googling a bit is that in Hue V1 api the rotary dial is not supported. It is in the newer V2 that uses HTTPS and works more like push messages from the api As ...
by zicht
Monday 20 January 2025 19:59
Forum: General Discussion
Topic: manual browse, de-bug and restore database?
Replies: 14
Views: 487

Re: manual browse, de-bug and restore database?

domoticz_crash.log?
you can enable logging as written in the same page and viewtopic.php?t=8878
by zicht
Monday 20 January 2025 17:16
Forum: LUA
Topic: lua pro question about io.open freezing
Replies: 1
Views: 180

Re: lua pro question about io.open freezing

Solved, seems to be due to max open files thats significant lower for the lua and c interprenter then for the OS.
Now i have reduced the opened files/pipes and it keeps running
by zicht
Monday 20 January 2025 17:13
Forum: dzVents
Topic: how to restore my 'generated_scripts'?
Replies: 7
Views: 416

Re: how to restore my 'generated_scripts'?

You could open both databases in a editor (like SQLite Expert Personal Edition) and copy/paste, but in the web interface is a good option. 50 scripts! Maybe you could simplify this a bit... This .... as your db grows and you have that many scripts expect at some point to have the experience that ...
by zicht
Monday 20 January 2025 17:05
Forum: General Discussion
Topic: manual browse, de-bug and restore database?
Replies: 14
Views: 487

Re: manual browse, de-bug and restore database?

Mostly my succes in this came from export database to text file and build a new one from the text file...
Normally the error should not be imported again...

see https://wiki.domoticz.com/Troubleshooting
by zicht
Sunday 19 January 2025 10:13
Forum: LUA
Topic: lua pro question about io.open freezing
Replies: 1
Views: 180

lua pro question about io.open freezing

Hi i recently experience freezing of io.open after some time ( > 60 minutes). My system setup : ersion: 2024.7 (build 16361) Build Hash: 41fbd5053 Compile Date: 2024-12-14 08:03:34 dzVents Version: 3.1.8 Python Version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:38:17) [MSC v.1932 32 bit (Intel ...
by zicht
Sunday 12 January 2025 14:44
Forum: Python
Topic: Help needed python gardena smartwater websocket (SLL problem)
Replies: 6
Views: 346

Re: Help needed python gardena smartwater websocket (SLL problem)

Solvedit by :

Code: Select all

            ws.run_forever(ping_interval=120, ping_timeout=3[b][u][i], sslopt={"cert_reqs": ssl.CERT_NONE}[/i][/u][/b])
many thanks, now lets find out how to integrate domoticz. if anyone interested, i can post updates in the forum ?
by zicht
Sunday 12 January 2025 14:17
Forum: Python
Topic: Help needed python gardena smartwater websocket (SLL problem)
Replies: 6
Views: 346

Re: Help needed python gardena smartwater websocket (SLL problem)

thnx wil try that. All goes well until i open de the websocket ... so will try both to see if it works. No way arround the HTTPS ... i need the ssl implementation on this part client = Client() ws = websocket.WebSocketApp( websocket_url, on_message=client.on_message, on_error=client.on_error, on ...
by zicht
Sunday 12 January 2025 12:12
Forum: Python
Topic: Help needed python gardena smartwater websocket (SLL problem)
Replies: 6
Views: 346

Help needed python gardena smartwater websocket (SLL problem)

import websocket import datetime from threading import Thread import time import sys import requests import json # account specific values CLIENT_ID = 'xxxxxxxxxx-xxxx-xxxx-xxxx-MYCLIENTID' CLIENT_SECRET = 'xxxxxxxxxx-xxxx-xxxx-xxxx-MYSECRET' API_KEY = 'xxxxxxxxxx-xxxx-xxxx-xxxx-MYKEY' # other ...
by zicht
Sunday 12 January 2025 8:14
Forum: Other questions and discussions
Topic: External access/ChangeIP issues...
Replies: 4
Views: 423

Re: External access/ChangeIP issues...

Hi, thinking out of the box : i have a lua script querying my ip adress every hour and have it stored in a var. Maybe you'll able to construct a webrequest/url to somewhere on private cloud storage ? ( with curl or ftp) then favorite your storage location in your browser, and domoticz is one click ...
by zicht
Thursday 02 January 2025 7:44
Forum: Bugs and Problems
Topic: Log/ history of virtual alert sensor
Replies: 2
Views: 213

Re: Log/ history of virtual alert sensor

Hi You wrote in the title you use an alert sensor. (Ignore this message if this a false observation) Alert sensor can be a bit tricky as you need to set the triangle color to ánd its a text sensor... see : https://wiki.domoticz.com/Domoticz_API/JSON_URL's#Alert_sensor the best way in lua is by ...