Problems after power outages

all about Meteohub on the new Raspberry PI platform

Moderator: Mattk

Post Reply
goombah
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Sat Apr 18, 2015 5:45 am

Problems after power outages

Post by goombah »

Twice now after power outages I've found the SDHC unbootable. Hooking up a console shows either complete failures or failures after the kernel is loaded trying to mount root. I've learned to keep backup copies (which, of course, have no current weather data on them). This happened again on my weather station at our farm. Just got up here after being offline for 11 days. Original chip wouldn't boot. Backup chip came up fine.

In that past that was the end of it, but this time Meteohub is not finding my weather station. I pulled the batteries from the Vantage Pro 2 console and unplugged the AC power, then powered it back up. After going through the setup, it is showing data from the weather station itself, which is good news. Bad news is that the Weather Station webpage its not showing /dev/ttyUSB0 as an available device, like it does when things are working. Correspondingly, no sensor data is being showed.

Looking in the Linux dmesg output, I do see the CP2102 bridge controller being recognized.

Any suggestions?

ps. I tried using the other USB connection on the PI, and even tried a different PI off the same chip - no change.
tastewar
Junior Boarder
Junior Boarder
Posts: 29
Joined: Mon Dec 29, 2014 5:00 pm

Re: Problems after power outages

Post by tastewar »

I haven't had quite the same issues, as far as I know, but I don't watch very carefully to be honest.

I have a few Pi's around the house doing various things, and one of them acts as a client to a music server, and uses "piCorePlayer" software https://sites.google.com/site/picoreplayer/home. I think this might be interesting in that it's built on TinyCore Linux which (at least in their deployment) uses a read only file system so that power glitches/outages don't affect it. Or at least not nearly so much. It might be worth investigating moving meteohub to such a platform.
goombah
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Sat Apr 18, 2015 5:45 am

Re: Problems after power outages

Post by goombah »

I would highly encourage this - no big deal to do a fsck against a bad /data partition, but bad root drives is a killer.
Post Reply