Power blip ruined my uptime

Ran out to buy a few items we missed on our weekend grocery run, and came back to find the power had briefly gone out during my absence. Based on the arguments @RRodman and @april.brandt have made regarding mesh health during an outage, I do not have my Core on a UPS. Just a good surge strip. Uptime was at 3 weeks, 4 days this morning, and now it’s at zero. BOOO

Edit: on the plus side, all my IOT devices were happy and working correctly when I got home.

3 Likes

I know! I’m at 1.6 weeks again because I moved everything to a 6U rack. Sad day!

1 Like

:love_you_gesture:
It’s the little things.

2 Likes

Still chugging away.

2 Likes

Am I leading… this time around?? :rofl:

1 Like

I have core on a UPS, most outages are blips … I have a NAS connected to the UPS so I can get the status in a node in node-red. I also have setup a flow in nodered that sends a notification when the power goes down. Will need to add the sudo hold after a minute of power out or so.
Anyone else is doing something similar?

1 Like


2 zombies left from development… Nothing to worry about. I do development on this CORE, so load is fairly high…

1 Like

I haven’t set up anything yet. I should.
"The mechanic’s car … "

Well, I’m no expert… but I’d say it’s time for a reboot! :grin:

2 Likes

@Flucko I would be interested in your flow to detect Power down, if you don’nt mind.

Might not be the most elegant, but it works :slight_smile: I check every minute if the power is down. Using the node nut-ups to connect to the NAS.

[{"id":"eb78a5043d4ee7ea","type":"nut-ups","z":"1fad8a33e4b23c2c","name":"Check UPS status","ups":"[email protected]","x":370,"y":220,"wires":[["1141940382b5c518"]]},{"id":"7f9f561076b248ce","type":"cronplus","z":"1fad8a33e4b23c2c","name":"Every minute","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"topic1","payloadType":"default","payload":"","expressionType":"cron","expression":"0 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":150,"y":220,"wires":[["eb78a5043d4ee7ea"]]},{"id":"1141940382b5c518","type":"change","z":"1fad8a33e4b23c2c","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.ups.status.value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":220,"wires":[["c408c802ac0fa9e6"]]},{"id":"6e5e64848b78b91d","type":"switch","z":"1fad8a33e4b23c2c","name":"Outage?","property":"payload","propertyType":"msg","rules":[{"t":"neq","v":"OL","vt":"str"},{"t":"eq","v":"OL","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":920,"y":220,"wires":[["80b15016259579b0"],["7a9001d763546564"]]},{"id":"c408c802ac0fa9e6","type":"rbe","z":"1fad8a33e4b23c2c","name":"","func":"rbei","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":750,"y":220,"wires":[["6e5e64848b78b91d"]]},{"id":"80b15016259579b0","type":"change","z":"1fad8a33e4b23c2c","name":"Power Outage","rules":[{"t":"set","p":"payload","pt":"msg","to":"Power Outage","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":200,"wires":[["6ef4296f55c8e83b"]]},{"id":"7a9001d763546564","type":"change","z":"1fad8a33e4b23c2c","name":"Power restored","rules":[{"t":"set","p":"payload","pt":"msg","to":"Power restored","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":240,"wires":[["6ef4296f55c8e83b"]]}]

I excluded the pushover node from the export :wink:

In case you were wondering:

:raised_hand:
:microphone:

2 Likes

re·boot
[reboot]

VERB

  1. (with reference to a computer system) boot or be booted again:

“the new value will not be in force until you reboot the system” ·

NOUN

  1. an act or instance of booting a computer system again:

“be prepared for frequent reboots”

CORE

  1. Wait? Do what?

:raised_hand_with_fingers_splayed:

3 Likes

A moment of silence for @markus .
I regret to inform you that, due to reasons that were self-inflicted, he had to reboot his CORE yesterday after 12 weeks of uptime. It was traumatic for him. He’s going to need your support more than ever to get past this. I talked to him this evening and was able to talk him out of the fetal position. Let’s all rally around him with support.

:rofl:

6 Likes

Say what?? Does this actually mean that I’m finally leading? :crazy_face:

2 Likes

Just might be. Guess 12 weeks is the going record. Guess we’ll wait with breathless anticipation for that record to be surpassed.

That being said, it’s nice to know that reboots are usually needed when you self-inflict them and not because it’ll crash after a set amount of time if you don’t.

2 Likes

I’ll catch up someday! (unless my power goes out again)

3 Likes

And back to zero. Had to flip the breaker for the circuit my Core lives on so I could install a new Inovelli Blue 2-1 switch a few feet away. :cry:

1 Like

So Am I in the running?

1 Like

I am making my way up :champagne:

Edit, since many asked, yes, laziness in changing physical setups is the key to success :grin:

3 Likes