Re: [weewx-development] Created a Driver for Davis Weather Monitor II

2020-07-16 Thread Christopher Shaker
I updated this driver to work with Python3. Used the program "2to3-2.7" on Raspbian Buster to do most of the work, then had to use str.encode() to fix a string. Not tested much, but it appears to work. Here are my diffs, with white space changes ignored: pi@weather: diff -w wmII.py.bak wmII.py

[weewx-development] Re: Stupid Database Question

2020-07-16 Thread gjr80
My advice; by all means restructure your archive table and schema as required to suit but don't try manually adjusting the daily summary tables. Far easier and safer to use wee_database to drop and then rebuild them - almost certain to get yourself tied in knots one way or another otherwise. 30

[weewx-development] Re: Stupid Database Question

2020-07-16 Thread Vince Skahan
On Thursday, July 16, 2020 at 4:44:20 PM UTC-7, cl...@n7qnm.net wrote: > > Specifically, I want to add some data around solar power generation (watts > consumed, watts generated, panel efficiency) and possibly rename some of > the “extraTemp” columns to be more descriptive (like > “SolarCollecto

[weewx-development] Stupid Database Question

2020-07-16 Thread radion7qnm
Hi!My day job was (Oracle) DBA for a number of years and I have what's probably a stupid question about modifying the WeeWx database. Specifically, I want to add some data around solar power generation (watts consumed, watts generated, panel efficiency) and possibly rename some of the "ex