this post was submitted on 28 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 11 months ago
MODERATORS
 

Hi all,

I had a new idea for a homelab project, but I'm having trouble coming up with the best course of action/ technologies to use to make it happen.

I want to be able to tell when the power goes out at a building that my dad owns. When he had a telephone service there he could call the phone to see if the power was out, but the phone line is long gone. We just had internet installed in the building and I had the idea of using that to probe if the power was on remotely.

My idea is to simply put a raspberry pi on the building network and have it update a duckdns reservation with the router's wan ip, then I can run a script on my home network that pings the remote router every few minutes and updates a webpage that I'll host with the status, etc., etc.

Does this idea sound like it would work, or is there a better way to do this? I'm trying to keep it as simple as possible.

Thanks for any help, love this community!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 9 months ago

Pinging the router would indeed be easier if you have access to public IP (static or dhcp with DDNS). Going the Pi route with WireGuard or another means of “checking in” would be the next best thing.

My comment RE the tunnelling likely doesn’t apply to your situation - was just context that using a Pi would open avenues to other things if you later needed them.