FarmBot / farmbot_os

The operating system and all related software that runs on FarmBot's Raspberry Pi.
MIT License
1.1k stars 270 forks source link

Water keeps running if FB stalls during the execution of a sequence / Risk of flooding #1494

Closed Cl0sedCircuit closed 2 years ago

Cl0sedCircuit commented 2 years ago

It is not possible to automatically turn off peripherals if FB stalls during the execution of a sequence.

This is especially problematic if the solenoid valve controlling water flows remains open. In addition to the obvious losss of water, this can lead to plants drawning or even to a risk of flooding if this happens when the FB is left unattended for several days.

I am assuming that this issue could affect other peripherals as well.

Is it possible to implement a solution that would automatically turn off all peripherals if a stall is detected, or there are no x,y or z movements detected for, say, 5 min?

Cl0sedCircuit commented 2 years ago

This can already be achieved through Pin Guard (https://software.farm.bot/v15/app/settings/pin-guard). Please disregard. Thanks!