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: