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
{{ message }}
Repository navigation
Improve --test behavior when the service is already running #87
while school-bell.service is active fails with GPIO busy and prints a full traceback because both processes try to claim the same GPIO pins. In contrast, --check works while the service is active.
Expected behavior
Please clarify and implement the intended workflow:
Require users to stop school-bell.service before using --test; or
Support test mode through the running service.
At minimum, detect unavailable GPIO pins and show a friendly, actionable message instead of a traceback, for example:
GPIO pins are already in use, possibly by school-bell.service. Stop the service before running --test.
Activity