I put my raspberry pi on a UPS to see if I could get through a year with no 
data loss. I've had brownouts, blackouts, and USB port hangs, though not 
very often. Mostly things work ok with my very basic setup: an original Pi 
and a Fine Offset WH1080. But losing data avoidably is just no good at all. 

The Pi lives in the bedroom on top of a chest of drawers, behind a TV. What 
I didn't think of when adding a UPS was the effect on my other half when 
the power went off in the middle of the night, which happened last for the 
the first time in some high winds -- a tree must have fallen on a line 
somewhere. 

I waited for moment between disk writes and switched it off, and the 
infernal beeping stopped. It's a SWEEX UPS, which beeps when there's no 
mains power, not when its battery is low.

This morning, after the power was restored, I unplugged the Pi from the 
weather console, switched on the UPS, SSHed into the Pi and checked that 
the time was ok (I don't have an RTC), reconnected the console, and 
restarted weewx. When I checked later I found that there were no data gaps, 
not even on Weather Underground.

So... my next project will be to silence this UPS. It seems to be a 
straightforward enough operation: removing a piezo speaker. There are 
videos on YouTube, e.g. https://www.youtube.com/watch?v=k4wnhudUGd4

Interested to hear of any raspberry pi + UPS stories. I've yet to figure 
out how it will hold out if the power stays off. Eventually, I'll have it 
hooked up to a solar cell to recharge the battery 




-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to