Will you make update for actual beta ?
API not working..
Search found 24 matches
- Friday 21 January 2022 23:21
- Forum: Python
- Topic: Python Plugin: Thermostat Weekly Scheduler
- Replies: 18
- Views: 2882
- Friday 02 April 2021 11:29
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
How LUA scripts update values.. Maybe will be better use red-node for prepare data and push ti domoticz only final values. V 2020.2 support consuption calculation by itself.. (send Watt only) I have this scripts because in earlier version was it on device update.
- Friday 02 April 2021 9:00
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
Maybe.. But, on latest release was this delay with same scripts under minute. (not realtime, but not so bad) Today, I have turned off dzVents, I migrated two big measurement scripts to MQTT and LUA but on beta, it looks like web interface gets big delay after few minutes of run. (delay more than ...
- Friday 02 April 2021 0:24
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
but timer offer minutes timer only.. and my script must run maximal each 10seconds.. aaand, I must to turn off dzVents.. I have few devices updated by web api (json svalue update by web get) but each 6-8seconds... and devices get higher and higher delay. After 12hours values in domoticz and reality ...
- Thursday 01 April 2021 12:10
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML> <HEAD> <META http-equiv="refresh" content="30;URL=rect.cgi"> </HEAD> <BODY> <H2>Rectifier</H2> <FORM METHOD=GET action=rect.cgi> <P>Rectifier Address <SELECT NAME=A><OPTION >1<OPTION SELECTED>4<OPTION >5</SELECT> <INPUT TYPE=SUBMIT NAME=B ...
- Thursday 01 April 2021 10:20
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
I have some work now but I will try it. And it's possible get from bash more than one value? Because I already started work on get voltage from BASH too.. see this #!/bin/bash content=`curl -s http://admin:[email protected]/rect.cgi?A=4&B=Select` current=`html2text <<< "$content" | grep "Current_(A ...
- Thursday 01 April 2021 1:08
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
pi@raspberrypi:~/domoticz/scripts $ sudo ps -ef | grep '[d]omoticz' | cut -d' ' -f1 root root root pi@raspberrypi:~/domoticz/scripts $ sudo find /home/pi/domoticz/scripts/dzVents -type d -exec stat -c '%A - %U:%G %n' {} + drwxr-xr-x - pi:pi /home/pi/domoticz/scripts/dzVents drwxr-xr-x - pi:pi /home ...
- Wednesday 31 March 2021 23:12
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
still same error 2021-03-31 23:08:04.971 Error: unable to remove file /home/pi/domoticz/scripts/dzVents/data/domscript3650.err 2021-03-31 23:08:28.844 Error: unable to remove file /home/pi/domoticz/scripts/dzVents/data/domscript3659.out 2021-03-31 23:08:28.844 Error: unable to remove file /home/pi ...
- Wednesday 31 March 2021 22:41
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
I tried to use this: domoticz.executeShellCommand('/home/pi/domoticz/scripts/speedtest2.sh') but am getting an error: 2021-03-31 22:28:41.852 Error: dzVents: Error: (3.0.2) An error occurred when calling event handler Speedtest_device 2021-03-31 22:28:41.852 Error: dzVents: Error: (3.0.2) ...z ...
- Wednesday 31 March 2021 22:23
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
I have it similar return { on = { devices = { 'Batt Napatie' } }, execute = function(domoticz, device) domoticz.executeShellCommand('/home/pi/domoticz/scripts/pv_fpv1.sh &') domoticz.executeShellCommand('/home/pi/domoticz/scripts/pv_fpv2.sh &') end } scripts have --silent parameter in each call.. so ...
- Wednesday 31 March 2021 21:58
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
I tried change permissions on whole folder.
Files create domoticz and removing them too.. They are connected to my first dzVents skript where I'm using domoticz.executeShellCommand().
But I don't know why domoticz wont again remove already removed files.
Files create domoticz and removing them too.. They are connected to my first dzVents skript where I'm using domoticz.executeShellCommand().
But I don't know why domoticz wont again remove already removed files.
- Wednesday 31 March 2021 21:36
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
Update looks good but I have this in log and I'm trying to search at forum but without success.. 2021-03-31 21:17:40.579 Error: unable to remove file /home/pi/domoticz/scripts/dzVents/data/domscript1017.out 2021-03-31 21:17:40.580 Error: unable to remove file /home/pi/domoticz/scripts/dzVents/data ...
- Wednesday 31 March 2021 0:32
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
Well, it isn't really OK as you are "hanging" the whole event system due to it being single threaded. One should really run these script in an async way by either shelling it with os.execute("command &") or running it by crontab Or even better use dzVents async executeShellCommand() in combination ...
- Tuesday 30 March 2021 9:43
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
Yes,
maybe this is problem.. I have os.execute in one script.. I will move this one to the dzVents.
maybe this is problem.. I have os.execute in one script.. I will move this one to the dzVents.
- Monday 29 March 2021 23:31
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Re: Maximum of lua scripts?
I have onchange condition in each script.
When I last time enabled dzVents, Domoticz freezes few times in hour
I will try it again.
Thanks for now.
When I last time enabled dzVents, Domoticz freezes few times in hour

I will try it again.
Thanks for now.
- Monday 29 March 2021 20:34
- Forum: LUA
- Topic: Maximum of lua scripts?
- Replies: 35
- Views: 2564
Maximum of lua scripts?
Raspberrypi 3, latest stable release of Domoticz I have 14 devices scripts, 6 time scripts and 3pcs of variable scripts and one of devices scripts work calculation with 10 devices (each 5seconds) .. and I'm getting delay in reactions of other lua scripts. Is it any maximum of lua scripts? Is it ...
- Thursday 14 November 2019 19:57
- Forum: LUA
- Topic: Lua for 'turn on for x minutes'
- Replies: 17
- Views: 9026
Re: Lua for 'turn on for x minutes'
Maybe ask gizmocuz for add GET/JSON command.
Simmilar as toggle switch command, called by GET..
I'm dreaming about &command=switchOnFor&t=15
And this I will can add to any button or action in other systems.
Simmilar as toggle switch command, called by GET..
I'm dreaming about &command=switchOnFor&t=15
And this I will can add to any button or action in other systems.
- Thursday 14 November 2019 19:51
- Forum: Python
- Topic: Python Plugin: WLED
- Replies: 95
- Views: 19945
- Tuesday 15 August 2017 13:44
- Forum: ESP8266
- Topic: ESP8266 + ESPEasy + Battery => share of results
- Replies: 5
- Views: 6531
Re: ESP8266 + ESPEasy + Battery => share of results
You don't need to use it.. Use just a protection board for battery and connect output directly to ESP8266.
- Wednesday 05 April 2017 13:40
- Forum: ESP8266
- Topic: ESP8266 + ESPEasy + Battery => share of results
- Replies: 5
- Views: 6531
ESP8266 + ESPEasy + Battery => share of results
Hi all domoticz fans :) lot of times somebody helped to me on this forum, so I decide share my tests and tries with battery powered sensors. Datasheet and everybody says abou maximal voltage on ESP8266 is 3.8V but that is not absolutly true. I made lot of measurements and experiments with 18650 Li ...