Saturday, January 2, 2021

Finally a UPS

 I finally got around to purchasing an Uninterruptable Power Supply for the Davis console and the Raspberry Pi.  If you know Linux, it isn't good to just drop power from the PC.  Probably more so when the operating system is on a SD card.  I'm not really running much else with it, so I should have a bit of run time, though the internet would probably be down, but the Davis should collect wx data for a bit.

It will definitle help with the short 2-10 second power outages that happen a few times a year. 

Wednesday, December 30, 2020

New Raspberry-Pi and Web Page Skin

 Early in 2020, I had a rash of issues.  In troubleshooting and reading up on the Weewx website and forums, I was either having issues with the Davis Datalogger or my SD card in the Pi.  I had been contemplating getting a newer Pi anyway, so I figured I'd go ahead and get one and see if it helps.  This was maybe April 2020.

Wouldn't you know, after getting it, the problems mostly went away.  So here it was December 2020, and this new Raspberry-Pi is still sitting there.  I had dreaded making the switch, because I knew it would be a few days of work, getting all backed up and transferred over, plus I had this other skin and numerous customizations.  But I went ahead and started it last Sunday.

I initially got it going after about 10 hours, and realized there was a new default skin in Weewx named "Seasons".  It was much improved over the old standard one.  The Bootstrap one I was using before has some features this one doesn't, but I thought it was time to simplify things by using the default skin.  I'm still doing a few customizations, but not too many.

Here it is Wednesday, and I'm still tweaking here and there, but it is running and looks good.  I finally ordered a UPS, so that will hopefully handle the occasional power glitches that can corrupt the file system and SD card.

I think I may need to revisit the datalogger serial to USB converter issue.  I may have messed up the udev rule or I may need to add ferrites to the USB cable, as my power arrangement for the Pi has changed.

I try to keep this up-to-date as time permits and the situation changes.

Saturday, November 12, 2016

Vantage Pro2 Console Failure

 Things had been running well for 20 months or so. Then on around Oct. 11, 2016, the weather station stopped updating. The Vantage Pro2 console was frozen at whatever time it failed. Repeated attempts to reset, power-off/on failed. Eventually the display went completely blank. A call to Davis confirmed it needed to be repaired. $82 and a couple weeks later I had the console up and running, but the weather wasn't updating. Searching the Weewx forum, it appeared my datalogger likely had some corupted data, and probably not surprising since the console went thru many power resets. Weewx has a utilty to clear data from the datalogger, which solved the problem.

Tuesday, February 17, 2015

More Missing History

 Making some progress in possibly restoring the bulk of my station history. I have been uploading data to Weather Underground since the beginning (2008) and found there is a couple ways to get data back from them. I have downloaded my history in a series of CSV files, merged them together, and manipulated the data to match up with the Wview/Weewx archive database. The biggest issue was converting date time back from YYYY-MM-DD HH:MM:SS to Unix Epoch time. I've made some progress and imported the CSV to SQLite, so things may be looking up. Still a bit of work to do.

Saturday, February 14, 2015

Missing History

 Well I guess I really screwed up. Looks like I lost my weather history from 2010-2014. I had thought that I copied to wview archive file from my Ubuntu PC, but apparently the one I copied was an older one from 2009. It was in the location described as the place where Wview archives were stored, but I guess the location moved depending on what version of Wview was installed. I had looked at the data briefly, and saw data from 2009, so I thought I was good. But, still it all could have been avoided if I didn't decide the give Linux Mint a try on the old PC. I should have waited until I knew for sure I didn't need any files from that machine. I wonder if there is a way to extract data back from Wunderground. At least daily min/max values.

Friday, February 13, 2015

CSS Changes

 As far as I can tell, the CSS for Bootstrapped is whacked. Probably for a good reason, but it is near impossible to edit like a normal stylesheet. I had to create a new stylesheet to override the styles I wanted to change. I tried to use Firebug inside Firefox, but that apparently also had trouble with the stylesheet. I couldn't get it to work the way I usually do. Anyway, I eventually got things the way I want, for now. It is a color scheme I have used before and is to my liking. Now I need to fin out why my much of my weather history is missing.

Thursday, February 12, 2015

Getting the details worked out (Feb. 12, 2015)

 After a few days of sorting things out, I think things are running fairly well now. It took a while to figure out how to get the gauges to show US units with the proper divisions. Finding where the code was that controls the date format of the graphs took some time too. I had been running WView on Ubuntu for several years. I had to reboot things about once a month due to the USB converter issues with the Davis unit. But a desire to switch to a Raspberry Pi was completed a few weeks ago, and the instances of USB problems increased. A real solution could not be found in the WView forums,and though a solution is likely possible via WView, I did not expect to see that happen. Weewx may be less prone, and a simple solution seems to be indicated in the User Guide. We'll see. No problems after several days of running.

Back from the Brink

I have my weather website running again.  It was a major PITA to get things going.  I am partially to blame for not having a good backup sys...