Search found 19 matches
- Monday 26 April 2021 11:23
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
Now I am not able to let the pump run on itself if it needs to be primed, what needs to happen every now and then. How often does this happen and for how long does the pump need to run in that situation? It depends on how much air there is in the suction pipe. at least twice, three time a year ...
- Monday 26 April 2021 10:18
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
the idea is that if one or more valves are enabled, this wil start the pump and will disable the valves and pump (minus 5 sec), meaning that if the last valve has been disabled, it needs to shut down the pump. the pump needs to continue when at least one valve is on, even if the other valves are ...
- Monday 26 April 2021 8:54
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
NB: The sequence of afterMin and silent etc. is important, you can't put them just anywhere. ' as long as the action ( switchOff(), switchOn(), dimTo() etc.. ) is first, the order of the options does not matter. dz.devices('bla').switchOn().silent().checkFirst().afterSec(23) is equivalent to dz ...
- Monday 26 April 2021 8:49
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
Hi @broker, I got your script running in the setup that you chose. NB: The sequence of afterMin and silent etc. is important, you can't put them just anywhere. I changed the print statements into logWrite with a LOG_FORCE and turned off debugging, so that I have more control of what is appearing on ...
- Sunday 25 April 2021 17:21
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
I have made some changes to the code: return { on = { devices = { 'Waterpomp', 'Sproeier Voor', 'Sproeier Achter', 'Druppelslang' }, }, data = { voor_aan = {initial= false}, achter_aan = {initial= false}, druppel_aan = {initial= false} }, logging = { level = domoticz.LOG_DEBUG, marker = 'Waterpomp ...
- Sunday 25 April 2021 16:53
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
there is no error, but the toggle seems to break, when it is in place as is, it seems to be working.
I will try with the real booleans, but I thought that is was not supported in dzvents...?
I will try with the real booleans, but I thought that is was not supported in dzvents...?
- Sunday 25 April 2021 16:33
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
I did, that breaks the script... and yes I totally understand, its an art itself 

- Sunday 25 April 2021 16:21
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
ah, yes, light switches (on/off)
- Sunday 25 April 2021 16:14
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
Re: dzvents Silent() seems not to be working
the devices are z-wave sockets that are controlling a waterpump, and 3 watervalves that are powered by 24v transformers, and again to z-wave sockets. the idea of the program is that if one area is enabled, the pump should get pumping, and if another are is added the pump should continue for the ...
- Sunday 25 April 2021 15:14
- Forum: dzVents
- Topic: dzvents Silent() seems not to be working
- Replies: 20
- Views: 1368
dzvents Silent() seems not to be working
Hello, I have a script to automatically turn on my waterpump at the moment a watergroup "asks" water, for instance druppelslang. then the pump and the druppelslang will run for a set amount of time, and it will stop, or it has to be manually disabled. I use silent() to overcome the script rerunning ...
- Friday 02 April 2021 13:17
- Forum: dzVents
- Topic: device enables after being shutdown [Solved]
- Replies: 7
- Views: 843
Re: device enables after being shutdown [Solved]
Please ignore the double / triple Debug messages. Only the last constructed timed-commands per device are send trough to domoticz main program. I don't see any next event scripts triggered so don't understand. What is now not working as expected? Yes, I found it, my mistake, as I was testing with a ...
- Friday 02 April 2021 12:11
- Forum: dzVents
- Topic: device enables after being shutdown [Solved]
- Replies: 7
- Views: 843
Re: device enables after being shutdown [Solved]
it seems that the script will break at the moment I make that change, when I enable one of the watering groups the pump will not enable. I think the system sees the second one as a state change and will issue the script again, then it thinks that it has been toggled manually and will handle it as ...
- Friday 02 April 2021 10:05
- Forum: dzVents
- Topic: device enables after being shutdown [Solved]
- Replies: 7
- Views: 843
Re: device enables after being shutdown [Solved]
it seems that the script will break at the moment I make that change, when I enable one of the watering groups the pump will not enable. so, after this trail I analyzed the debug, and what I see is that in the scenario of forMin(sproeitijd) it works, however when I use the: pomp.switchOn() pomp ...
- Thursday 01 April 2021 22:44
- Forum: dzVents
- Topic: device enables after being shutdown [Solved]
- Replies: 7
- Views: 843
Re: device enables after being shutdown [Solved]
Thanks Waaren, I just made the change in the code, i'll test it tomorrow.
- Thursday 01 April 2021 17:05
- Forum: dzVents
- Topic: device enables after being shutdown [Solved]
- Replies: 7
- Views: 843
device enables after being shutdown [Solved]
Hello, I have created a script to automatically turn on my waterpump when one of the watering zones has been enabled. next to that it will run for a certain period as defined as "sproeitijd" the functions are, enable to pump alone, no zone enable a zone -> pump needs to enable too extra zone -> pump ...
- Tuesday 22 September 2020 9:03
- Forum: dzVents
- Topic: updating user var to slow [Solved]
- Replies: 5
- Views: 600
Re: updating user var to slow [Solved]
lol that makes sense, thanks!
its good to make mistakes, now I learned what to look for in my other scripts, as I am converting my blockly to dzvents.
its good to make mistakes, now I learned what to look for in my other scripts, as I am converting my blockly to dzvents.
- Monday 21 September 2020 22:47
- Forum: dzVents
- Topic: updating user var to slow [Solved]
- Replies: 5
- Views: 600
Re: updating user var to slow [Solved]
hmm, I guess I am in need of some more advice, I guess I am using the persistent variable wrong, can some one please have a look. if I execute one of the zones, i get this message: Error: dzVents: Error: (3.0.4) .../domoticz/scripts/dzVents/generated_scripts/pomp_lua.lua:57: attempt to index a nil ...
- Monday 21 September 2020 16:57
- Forum: dzVents
- Topic: updating user var to slow [Solved]
- Replies: 5
- Views: 600
Re: updating user var to slow [Solved]
Thanks, I was not aware of that fact, I just read up on the persistent vars and I will change it and check if it works!
- Monday 21 September 2020 15:52
- Forum: dzVents
- Topic: updating user var to slow [Solved]
- Replies: 5
- Views: 600
updating user var to slow [Solved]
Hello, it seems that I have run into a brick wall and I am in need of an extra set of eyes (more experianced!) I am building a script for my wellpump and 3 zones that are switched via a z-wave powersocket I want the pump to automatically start when I enable one of the zone switches for 60minutes -1 ...