You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if the process exits while the relay is closed, the relay remains closed. This could be a safety issue. I see a couple initial options, but I'm sure there are others:
Add an exit handler that attempts to force the output pin to off state, or power off and hope the pin goes to hi-Z and shuts off the relay
Add a linux watchdog for the process, such that if the process stops kicking the watchdog a safety mechanism kicks in
The text was updated successfully, but these errors were encountered:
it is impossible to fully overcome stuck hardware. when SSRs fail, it's almost always a short circuit. this means that full power is applied until power is removed (even if the rpi is powered off). There are other hw solutions, which you are free to explore, but I don't think they should be part of this codebase.
some folks have relays that trip if the kiln draws 100% etc.
@jbruce12000 this request was more about software exceptions, not SSR hardware failure. If the process exits normally, or throws an exception and aborts (bugs are always possible), it should set the digital output pin to OFF or Open. I think the first step here could just be catching exceptions in main and disabling the pin when caught.
Currently if the process exits while the relay is closed, the relay remains closed. This could be a safety issue. I see a couple initial options, but I'm sure there are others:
The text was updated successfully, but these errors were encountered: