[weewx-development] Re: draft WeatherLinkLive (via web query of current conditions) driver ready for testing

2020-03-15 Thread Vince Skahan
Update - v0.0.5 available on github in https://github.com/vinceskahan/weewx-weatherlinklive-json This is installable via the extension installer. Just edit one line in the resulting weewx.conf to set your URL to hit and you should be good to go. Please test and let me know (email is ok if you w

Re: [weewx-development] The Netatmo Driver for Weewx

2020-03-15 Thread Thomas Keffer
The netatmo is not a supported driver, but nothing in the API has changed, so it should work with V4 (although not, of course, under Python 3, unless it was ported to Python 3). On Sun, Mar 15, 2020 at 2:04 PM Gert Andersen wrote: > Hi > > Will this driver work with weewx version 4? > > Gert > >

[weewx-development] The Netatmo Driver for Weewx

2020-03-15 Thread Gert Andersen
Hi Will this driver work with weewx version 4? Gert -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To vie

Re: [weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Vince Skahan
I upgraded b13 to b16 and didn't see anything unexpected other than what looks like a pre-configuration weewx.conf.4.0.0b16 file in /home/weewx - the actual upgrade looked ok to me here with python3 and runs fine. Here's a transcript. Note the 'bin.4.0.0b13' directory and 'weewx.conf.4.0.0b13' f

Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Vince Skahan
On Saturday, March 14, 2020 at 7:47:40 PM UTC-7, Xant wrote: > > I'm puzzled as though "/etc/weewx" and "/usr/share/weewx" to be the > 'original/formal' locations of WeeWX. If not, where is the "official" > location? > http://www.weewx.com/docs/usersguide.htm#Where_to_find_things - use the set

Re: [weewx-development] Re: CRITICAL __main__: Database OperationalError exception: (1054, "Unknown column 'rain' in 'field list'")

2020-03-15 Thread Thomas Keffer
Fixed in commit b884c96 -tk On Sun, Mar 8, 2020 at 10:58 AM Lucas Heijst wrote: > Tom, > > This workaround in wxservices.py works for me. > > def _setup(self, stop_ts, db_manager): > """Initialize the r

Re: [weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Lucas Heijst
Thanks Tom, I will upgrade another PI-system and try to find out in which stage of the update process the extra files are created. Luc On Sunday, 15 March 2020 12:01:24 UTC-3, Tom Keffer wrote: > > There's a lot of stuff I don't recognize in there. They are not part of > the regular weewx dist

Re: [weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Thomas Keffer
There's a lot of stuff I don't recognize in there. They are not part of the regular weewx distribution. One subtle difference: before, the old 'bin' subdirectory was set aside and renamed, for example, bin.20200314122522. Now, 'bin' is just overwritten. So, any files in there that are not part of

Re: [weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Lucas Heijst
Tom, The b16 upgrade created a whole bunch of new directories in the /home/weewx/bin directory. I have deleted the *.pyc files. Below are listed the found *.py files. Luc /home/weewx/examples/alarm.py /home/weewx/examples/lowBattery.py /home/weewx/examples/mem.py /home/weewx/examples/stats

Re: [weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Thomas Keffer
1. It was actually the intention not to prompt if setup.py is performing an upgrade. It should just silently accepts what was in weewx.conf (the previous behavior). This will change in the next version. 2. My installation has 70 .pyc files when installed under either Python 2 or Python 3. Where a

[weewx-development] Upgrade to weewx 4.0.0b16

2020-03-15 Thread Lucas Heijst
Tom, Upgrade from 4.0.0b14 to 4.0.0b16 on a Raspberry PI model 3B+ with Rasbian stretch and Python 3. Note: In Raspbian buster I could not compile the rtlsdr part of tfrec without errors. Before I forget, the critical error for not having a Rain field in the database still exists in this versi

Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Greg Troxel
Thomas Keffer writes: > But, you're right: generally Python's setup.py does install into > /usr/share, /etc, and so on. However, our assumption, good or bad, was that > users would use apt-get (or equivalent) if that's what they wanted. Fair enough, but I would expect a packaging system to use s

Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Thomas Keffer
I didn't phrase that very well. Perhaps it would be better to say that the weewx version of setup.py was intended for installation in /home/weewx. But, you're right: generally Python's setup.py does install into /usr/share, /etc, and so on. However, our assumption, good or bad, was that users woul