I'd like to be able to run gpiomon indefinitely while also being able to detect if it's no longer responding or stuck. In my linux service I want to feed the systemd watchdog on a regular basis. However gpiomon exiting after the idle timeout opens up problematic edge case of losing gpio edges between it exiting and re-entering. If gpiomon were to stay running and emit "idle" then I could feed my watchdog while never missing an edge.
I'd like to be able to run gpiomon indefinitely while also being able to detect if it's no longer responding or stuck. In my linux service I want to feed the systemd watchdog on a regular basis. However gpiomon exiting after the idle timeout opens up problematic edge case of losing gpio edges between it exiting and re-entering. If gpiomon were to stay running and emit "idle" then I could feed my watchdog while never missing an edge.