• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: November 15th, 2023

help-circle
  • Use the GPIO of the RPi to fire a relay for a set duration with a timer.

    The relay would be wired NC with your router’s plug. Once the timer is done, it releases the relay and power is restored to the router.

    Make the duration whatever you need to sufficiently let the router be off before plugging it in again. Usually like 30 seconds.

    Control the RPi with whatever you want for an input command to fire the relay, then trigger the output.

    If you really wanna make this easy, have an electrician wire a light switch to the outlet and make it a switched outlet. Router on, router off, easy as a lamp.