Blockly irrigation control problem
Posted: Wednesday 03 April 2019 13:08
Dear All,
I have an irrigation system with 4 circles (spray, rota1, rota2, rota3), controlled by 24VAC valves. I managed to control them with a relay board and an RPi (GPIOs). I added virtual switches to domoticz to open / close the valves (by running simple GPIO commands).
I can open one circle for X minutes without any problems but cannot put them together.
My problem is that I am trying to create an "irrigation cycle" program with Blockly, without any success. The idea was to have virtual switch (irrigation cycle), which starts the process by opening / closing the circles and stepping the counter.
What's wrong with this? Unfortunately I cannot figure it out, please help. Thanks in advance,
Johny
I have an irrigation system with 4 circles (spray, rota1, rota2, rota3), controlled by 24VAC valves. I managed to control them with a relay board and an RPi (GPIOs). I added virtual switches to domoticz to open / close the valves (by running simple GPIO commands).
I can open one circle for X minutes without any problems but cannot put them together.
My problem is that I am trying to create an "irrigation cycle" program with Blockly, without any success. The idea was to have virtual switch (irrigation cycle), which starts the process by opening / closing the circles and stepping the counter.
What's wrong with this? Unfortunately I cannot figure it out, please help. Thanks in advance,
Johny