Good evening,
I would like, in a scene triggered at a specific time:
read the soil moisture state: to do…
turn on a controlled solenoid valve: OK,
wait for a given time: Not working,
turn off the previously turned-on solenoid valve: OK,
read the moisture state again: to do…
notify of the end of watering and of the read state: to do…
Since the basic timing/delay aspect is not working, I didn’t pursue further: could someone help me with timing/waiting in a scene?
Thanks in advance,
Jean
guim31
July 13, 2023, 6:56am
2
Regarding waiting for a duration, doesn’t the WAIT block work for you?
Also, what’s the problem with reading the soil moisture? I imagine you have a sensor for that — you just need to retrieve its latest value:
Hello,
How did you create your scene?
For the pause to work, it needs to be in an action block after turning on your solenoid valve. Then a new action block after the pause to turn it off.
If you put all the actions in the same block, all the actions are executed at the same time.
Hello @PhilippeMA ,
That’s exactly what’s in place: a power-on block, a timer block (which doesn’t seem to work), a power-off block.
guim31
July 13, 2023, 1:22pm
7
And if you can take a screenshot of your scene, that’d be great
Thanks @Hizo for that very simple idea: the timer works… However, it’s with the stop command after the timer that the problem arises?! I’ll go look for it then
Thanks and sorry for this unnecessary noise in the end
guim31
July 14, 2023, 2:43pm
9
It’s never useless
Which protocol does your solenoid valve use?
@guim31 : The solenoid valves are controlled by a « homemade » setup based on Raspberry Pi Zero W (RPi 0W)/python/MQTT …
guim31
July 14, 2023, 3:36pm
11
Ok, might as well tell you that I won’t be able to help you then
And can’t the Python script produce specific logs to verify whether Gladys’s delay is working?