Hello Blocky Fans...
I have been particularly stuck at a timing and delay issue in using my Blocky. I am automating my Water motor
where water comes during a particular day (Municipal Corp. water supply) and my tank in Ground floor
has to be manually switched ON which pumps water to an overhead tank. I have placed 1 sensor in my tank
(for Dry Run - when pump is ON but no water is getting pumped in the tank).
I want to start a Water motor between a Pre-set time and also check for a condition for Dry-Run. I want to
start my water motor during a particular time slot - first for 5 mins (the time it takes for water from pump to reach
overhead tank) and if no water is coming then Switch OFF the motor for say 3 minutes and then re-start the motor
in the hope that water supply has resumed and Pump can now pump up the water to the overhead tank. So this loop
should continue for the water timing and if water is getting pumped then continue the pump till complete time slot.
I tried below Blocky, but somehow the overall Blocky script does not work and motor switches On invariably. I want to
add delay while Blocky executes one step and then proceeds on checking next condition. In my case I have setup a Dummy switch
"Water Pump Flag" which I manually trigger to control a User variable. Trouble is that when I manually trigger the Water Pump Flag switch,
the motor immediately turns OFF and does not display a delay in turning off behavior.
I hope i was able to explain my requirements.
Many Thanks
T
Need help regarding introduing delay in script execution
Moderator: leecollings
-
- Posts: 5
- Joined: Friday 19 October 2018 8:44
- Target OS: -
- Domoticz version:
- Contact:
Need help regarding introduing delay in script execution
- Attachments
-
- Blocky.JPG (40.2 KiB) Viewed 698 times
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Need help regarding introduing delay in script execution
Your time criteria just excludes 1 hour between 16:00 and 17:00. Is that correct? If so then you need to change the "and" to "or" because you are crossing midnight into a new day, and the time is reset.
Another way may be to use "not equal to" 16:00 and 17:00?
Sent from my SM-T820 using Tapatalk
Another way may be to use "not equal to" 16:00 and 17:00?
Sent from my SM-T820 using Tapatalk
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Who is online
Users browsing this forum: No registered users and 1 guest