Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ping based relay control watchdog #262

Open
sjefferson99 opened this issue Nov 25, 2024 · 1 comment
Open

Ping based relay control watchdog #262

sjefferson99 opened this issue Nov 25, 2024 · 1 comment
Assignees
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code

Comments

@sjefferson99
Copy link
Member

Add the option to regularly ping an IP and after x retries initiate a gpio pin down then up.

Use case is attach relay to GPIO and reset a device if the ping stops, could be a router or in our case, rpi controlling the door that needs to stay up and working for access.

@sjefferson99 sjefferson99 added 🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code labels Nov 25, 2024
@sjefferson99 sjefferson99 self-assigned this Nov 25, 2024
@sjefferson99
Copy link
Member Author

Need to consider if the relay will reliably stay on on pico reset. Making sure pin value set early and potentially a circuit to invert the relay and have gpio high = reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant