Live data from Hacker News

Adding my home electricity uptime to status.href.cat

aggressivelyparaphrasing.me

11–20 of 42 posts

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

#11

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.

Complicated? It's a 10 line shell script and a single configuration item in the nut config.

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

#12

Earlier quoted context omitted.

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.

Complicated? It's a 10 line shell script and a single configuration item in the nut config.

> I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stat

mqtt? How many Docker containers do you have running to track UPS voltage?

I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.

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

#14

Earlier quoted context omitted.

Complicated? It's a 10 line shell script and a single configuration item in the nut config.

> I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stat mqtt? How many Docker containers do you have running to track UPS voltage? I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.

LOL, docker for running mosquitto at home? Who does that?

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

#15

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…

Same here (Western Europe). I can't recall the last time we had a power outage that was not caused inside the house.

All power cables except for long-distance transport are underground though, which probably helps a lot and might account for the difference to a large extend.

(Our microwave oven did trip our residual-current circuit breaker a few weeks ago, never encountered that before, only 'fuse switch'-flips. Sadly that was the end of the device after 16 years.)

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

#16

Earlier quoted context omitted.

> I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stat mqtt? How many Docker containers do you have running to track UPS voltage? I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.

LOL, docker for running mosquitto at home? Who does that?

[deleted]

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

#17

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…

Depends on the region. I live in one of the bad areas, with lots of trees. The power goes out every couple months for a couple hours.

But I was very surprised to learn that until 2021, most Texans had never had a power interruption in decades (which I suppose added to their panic).

Not all that useful to say "the US" here. California has it's wildfires and earthquakes. The west has extreme temperature swings. Southeast has hurricanes, and northeast has trees, ice, and wind. The entire south likes to run air conditioning. What does your country or its neighbors face? How about 10 countries over?

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

#18

Earlier quoted context omitted.

> I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stat mqtt? How many Docker containers do you have running to track UPS voltage? I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.

LOL, docker for running mosquitto at home? Who does that?

Are you recommending that I run mosquitto directly on my Unraid server rather than Docker?

Just to re-iterate, Unraid is a proprietary Linux OS based on Slackware Linux. It is generally ill-advised to ever run tooling directly on Unraid when a Dockerized equivalent is available.

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

#19

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 live in the 3rd "wealthiest" county in the United States. The combined market cap of headquartered companies here total over 10 trillion dollars. I can't install solar panels and I can't be bothered to buy house batteries so I've only had power 98.6% of the time last year.

I've lost hope. In theory it can be done but it feels something on the same order as setting foot on the moon again. We have the technology and capability to do so but somehow our population collective decision results in keep things garabge.

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

#20
post #4

Earlier quoted context omitted.

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/202201…

[deleted]
Post reply on HN