Hi. I’m interested to know if there is a way for a OSPi hacker to deal, programatically, with the state (open/closed) of a DIY switch. That is:
Where would the relevant pins be.
How could
USE CASE: I find a way to detect if the pressure in my irrigation system AFTER the valve has fallen below a preset limit- thus indicating a likely broken-off sprinkler head or damaged pipe. I would then program the OSPi to email me a notification of same.
I have in mind a detector that opens or closes a circuit. If, after the sprinkler has been on for 15 seconds or so, the switch is in non-normal state (eg open when it should be closed) the system would send me a notification. I’d then go a test the sprinklers.
Thanks in advance