Live data from Hacker News

Adding my home electricity uptime to status.href.cat

aggressivelyparaphrasing.me

1–10 of 42 posts

Re: Adding my home electricity uptime to status.href.cat

#2
Very cool project! Another method you can run entirely remotely, if your utility supports it, is poll the utility's customer API endpoint for data where they expose if your power is out using your smart meter. ComEd in Illinois supports this, for example.

Re: Adding my home electricity uptime to status.href.cat

#3
I've seen the John Oliver videos and all, so I know this comes as a surprise to no-one but... the US needs to get its act together and build some actual infrastructure. I've heard lots of encouraging stories on the Volts podcast about it, too. Not enough, not fast enough, from what I understand.

I'm 38 and I've had power go out in my house for lots of reasons, but all of them came down to me blowing a fuse somehow. I can't remember ever having had an actual, you know, power outage. So I guess I just here to tell you over there in the US that another way is possible. :)

Re: Adding my home electricity uptime to status.href.cat

#4

I've seen the John Oliver videos and all, so I know this comes as a surprise to no-one but... the US needs to get its act together and build some actual infrastructure. I've heard lots of encouraging stories on the Volts podcast about it, too. Not enough, not fast enough, from what I understand. I'm 38 and I've had power go out in my house for lots of reasons, but all of them came down to me blowing a fuse somehow. I…

Do you have trees where you live? :) Because we have above-ground power lines in much of the US, wind and ice are always bringing branches down on power lines.

Re: Adding my home electricity uptime to status.href.cat

#5

I've seen the John Oliver videos and all, so I know this comes as a surprise to no-one but... the US needs to get its act together and build some actual infrastructure. I've heard lots of encouraging stories on the Volts podcast about it, too. Not enough, not fast enough, from what I understand. I'm 38 and I've had power go out in my house for lots of reasons, but all of them came down to me blowing a fuse somehow. I…

I'm as big a fan of ragging on "america" as anyone else, but it does occasionally have a few relatively unique problems compared to most other countries, such as the distances involved and the (lack of) density of population.

Above ground electric lines vs buried ones are a good example of how quickly your ROI can drop off for infrastructure problems.

Spending 10 million to add cold-weather protection to a powerplant that services 5million people? No brainer. Spending 10 million to bury 100 miles of power line that services 1000 people? Ehh...

Re: Adding my home electricity uptime to status.href.cat

#6
I have a home server that is on 24x7 protected by a UPS. The UPS monitoring daemon (nut) provides a hook for calling a script when its status changes, so I have it push a high priority notification to my phone via ntfy whenever it goes on battery or off battery. I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stats and take other actions that aren't really appropriate for a hook script.

Re: Adding my home electricity uptime to status.href.cat

#7
post #4

I've seen the John Oliver videos and all, so I know this comes as a surprise to no-one but... the US needs to get its act together and build some actual infrastructure. I've heard lots of encouraging stories on the Volts podcast about it, too. Not enough, not fast enough, from what I understand. I'm 38 and I've had power go out in my house for lots of reasons, but all of them came down to me blowing a fuse somehow. I…

Do you have trees where you live? :) Because we have above-ground power lines in much of the US, wind and ice are always bringing branches down on power lines.

New local and/or urban last mile electrical distribution infra is typically buried, but to your point, lots of legacy above ground infra at risk until someone finds the funds to bury/harden it.

https://www.fema.gov/case-study/overhead-underground-it-pays...

https://www.cnbc.com/2023/10/21/burying-power-lines-for-wild...

https://research.ufl.edu/should-power-lines-go-underground.h...

https://web.archive.org/web/20220101210439/https://www.eei.o...

(have an electrical journeyman friend who will spend the rest of his life upgrading California electrical infra, we speak frequently on this topic)

Re: Adding my home electricity uptime to status.href.cat

#8

I have a home server that is on 24x7 protected by a UPS. The UPS monitoring daemon (nut) provides a hook for calling a script when its status changes, so I have it push a high priority notification to my phone via ntfy whenever it goes on battery or off battery. I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stats and take other actions that aren't really approp…

How does ntfy compares to Pushover?

Re: Adding my home electricity uptime to status.href.cat

#9

I have a home server that is on 24x7 protected by a UPS. The UPS monitoring daemon (nut) provides a hook for calling a script when its status changes, so I have it push a high priority notification to my phone via ntfy whenever it goes on battery or off battery. I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stats and take other actions that aren't really approp…

How hilariously complicated.

Make UPS data available over SNMP, track via MRTG. A simple, decidedly 1990s solution that unsurprisingly still works. Pretty graphs and everything.

Re: Adding my home electricity uptime to status.href.cat

#10

I have a home server that is on 24x7 protected by a UPS. The UPS monitoring daemon (nut) provides a hook for calling a script when its status changes, so I have it push a high priority notification to my phone via ntfy whenever it goes on battery or off battery. I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stats and take other actions that aren't really approp…

How does ntfy compares to Pushover?

I don't know, I've never used pushover. A quick look at their home page doesn't seem to indicate the option of self hosting on a VPS, so that precludes it for me. Otherwise from the code samples provided, it looks quite similar.
Post reply on HN