Re: [weewx-user] Re: After a year weexd stopped working.... kindof...

2019-11-15 Thread gjr80
Hi, What Vince was referring to was the archive_period setting in weewx.conf, you probably won't find it in the syslog as it tends to be spelt out in the log rather than using the actual setting name. I suggest you refer to this entry

Re: [weewx-user] Sun & Moon sine plot/graph

2019-11-15 Thread gjr80
Why use something like $almanc.sun.alt, at best it is confusing and at worst it will break SQLite or MySQL/MariaDB. Why not use something like solar_altitude. For your wee_database error far better to post the exact command entered and the exact response received rather than "it doesn't work".

Re: [weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
Just realised, did some googling, testing now. I think maybe it's to do with the newer python librarys I would have installed when setting up the pi Cheers On Friday, 15 November 2019 15:33:38 UTC, Thomas Keffer wrote: > > This is a bug that was fixed in V3.6.0. See issue #111 >

Re: [weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
OK thanks will give that a try, Chris On Friday, 15 November 2019 13:20:21 UTC, Thomas Keffer wrote: > > You will have to install the prerequisites on your new machine but, other > than that, a simple copy of the weewx files will work. If you installed > using the setup.py method, just copy

Re: [weewx-user] Move to new server

2019-11-15 Thread p q
I bet the prerequisites are a different version than on the older system. On Fri, Nov 15, 2019 at 7:33 AM Thomas Keffer wrote: > This is a bug that was fixed in V3.6.0. See issue #111 > for the fix. > > Don't know why the bug didn't affect you with

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Thomas Keffer
Yes, both have been emitted since v2.6.3 (released 10-Apr-2014). Is txBatteryStatus null, or zero? It's normally zero. If it is truly null, then something is wrong. On Fri, Nov 15, 2019 at 8:07 AM Geoff Cusick wrote: > I know this is an old question. > > Has the change that Tom mentioned

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Geoff Cusick
Thanks Tom. I stopped weewx (sudo service weewx stop), then started it from the command line, as per the manual. The LOOP packets all show txBatteryStatus as 1 - not surprising, as I only replaced the battery a couple of hours ago. But the REC packets show txBatteryStatus as None. So it

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Geoff Cusick
Thanks for the (very) speedy response, Tom. I’m running weewx 3.9.2 on a Raspberry Pi, raspbian buster. I’m using a MySQL database, hosted on a Synology NAS (MariaDB 5). Looking at the archive table directly through phpmyadmin shows txBatteryStatus as constantly NULL. A query: select * FROM

[weewx-user] hellp,error instaler weather34 engine: Import of driver failed: [Errno 98]

2019-11-15 Thread Xylon Ma
hello, i sorry no se ingles .Necesito ayuda tenia funcionando Weewx, he instale la plantilla weather34 para weewx y desde entonces no se inicia weewx ,lo tengo con el interceptor,este es el error que sale: raspberrypi weewx[1334]: engine: Import of driver failed: [Errno 98] La dirección ya se

Re: [weewx-user] Move to new server

2019-11-15 Thread Thomas Keffer
The WeeWX prerequisites haven't changed in 10 years. It's possible that newer versions of PIL are more sensitive, but PIL hasn't changed much either. Don't know. -tk On Fri, Nov 15, 2019 at 7:51 AM p q wrote: > I bet the prerequisites are a different version than on the older system. > > On

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Thomas Keffer
One thing you could try is running weewx from the command line . It will print out to the console all the data in an archive record. Watch for entries marked "REC" (most will be marked "LOOP"). What is the value of txBatteryStatus in there?

Re: [weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
Seems all good now after those few hicups. Will see how it holds up running on a pxe booted Pi4 Thanks again for the great software Chris On Friday, 15 November 2019 16:52:33 UTC, Thomas Keffer wrote: > > The WeeWX prerequisites haven't changed in 10 years. It's possible that > newer versions

Re: [weewx-user] Move to new server

2019-11-15 Thread Thomas Keffer
This is a bug that was fixed in V3.6.0. See issue #111 for the fix. Don't know why the bug didn't affect you with v3.5. -tk On Fri, Nov 15, 2019 at 7:23 AM Chris Thompstone wrote: > OK, > thought it was all OK, but I get this error when I run weewx

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Geoff Cusick
I know this is an old question. Has the change that Tom mentioned been incorporated in later versions of vantage.py? I’m using weewx v 3.9.2, but txBatteryStatus is always NULL in the database. I’m using a Davis VantageVue. Thanks Geoff On Monday, 24 February 2014 13:45:43 UTC, Thomas

Re: [weewx-user] Move to new server

2019-11-15 Thread Thomas Keffer
You will have to install the prerequisites on your new machine but, other than that, a simple copy of the weewx files will work. If you installed using the setup.py method, just copy over the /home/weewx tree. -tk On Fri, Nov 15, 2019 at 4:01 AM Chris Thompstone wrote: > Hi Guys, > My weewx

Re: [weewx-user] Sun & Moon sine plot/graph

2019-11-15 Thread Xant
1) Almanac/pyephem "$almanac.sun.alt" indeed confusing, and as you mentioned, think that's what is "breaking" SQLite. Nomenclature, format or syntax doesn't seems appropriate. As not yet much familiar with the Astronomy portion of WeeWX, and following User's Guide, "$almanac.sun.alt" and

[weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
Hi Guys, My weewx v3.5 has been running perfect for about 5 years on my odroid u3. Until the other day it stopped, I rebooted and found various messages in the logs suggesting filesystem corruption. Anyway, it seems to be going again (for now) http://rollestonpark.myzen.co.uk But thought I'd

Re: [weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
OK, thought it was all OK, but I get this error when I run weewx manually: Traceback (most recent call last): File "/home/weewx/bin/weewx/reportengine.py", line 140, in run obj.start() File "/home/weewx/bin/weewx/reportengine.py", line 170, in start self.run() File

[weewx-user] Weewx and Belchertown skins

2019-11-15 Thread Luc Theoret
Hi all, This may have answered already but I can't get the belchertown skins to work, I must be doing something wrong. Below is my weewx config for the skins. I get all the bae graphs I get belchertown sub directory but no index.html anywhere except in the belchertown sub directors but those

Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-15 Thread Thomas Keffer
That is very odd. Let's try this again, but this time with the import at the top of the file. -tk On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen wrote: > Hi Thomas. > > Log attached. > > But I think something is wrong.. "import syslog" is written as output !? > > /Martin > > onsdag den 13.

Re: [weewx-user] Move to new server

2019-11-15 Thread vince
On Friday, November 15, 2019 at 10:32:28 AM UTC-8, Chris Thompstone wrote: > > Seems all good now after those few hicups. > Will see how it holds up running on a pxe booted Pi4 > > I've been running the WeatherFlow UDP driver weewx on a pi4 for 5 months now. Works great. -- You received this

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Geoff Cusick
Thanks Tom. I’ll do that in the morning, and report back. Regards Geoff 17 Westcroft Road Holsworthy, EX22 6BY Phone: +44 (0)1409 254330 Mobile: +44 (0)7976 285950 Web: http://www.cusick.org.uk > On 15 Nov 2019, at 19:44, Thomas Keffer wrote: > >  > Replace your copy of accum.py with the

Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-15 Thread Martin Nielsen
Hi Thomas. Log attached. But I think something is wrong.. "import syslog" is written as output !? /Martin onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer: > > Hello, Martin > > Not exactly sure what's going on here. Could you please replace your copy > of accum.py with the

[weewx-user] Re: Weewx and Belchertown skins

2019-11-15 Thread vince
On Friday, November 15, 2019 at 11:39:36 AM UTC-8, Luc Theoret wrote: > This may have answered already but I can't get the belchertown skins to > work, I must be doing something wrong. > > > Standard answer. Please post your log with debug=1 set, from the period where weewx starts to one or two

Re: [weewx-user] Sun & Moon sine plot/graph

2019-11-15 Thread gjr80
You have decided to record solar and lunar altitude in your database in custom fields so that you can use the WeeWX plot engine to plot each. To do this there are two distinct tasks you need to complete. First you need to extend your database schema to include the new fields. Second you need to

Re: [weewx-user] Re: After a year weexd stopped working.... kindof...

2019-11-15 Thread U G
Hi, so, I did reconfigured my syslog to pipe everything from weewx in a seperate file and startet id again. Here are the first couple of hundred entries so far: https://hangoophoodieghahcheuzashohmieyedeizaihooya.mooo.com/angoophoodieghahcheuzashohmieyedeizaihooya/first2000linesweex.txt The

[weewx-user] Re: Weewx and Belchertown skins

2019-11-15 Thread rich T
add [[Belchertown]] HTML_ROOT = /var/www/html/weewx/belchertown skin = Belchertown enable = true On Friday, November 15, 2019 at 2:39:36 PM UTC-5, Luc Theoret wrote: > Hi all, > > This may have answered already but I can't get the belchertown skins to > work, I must

Re: [weewx-user] Re: consBatteryVoltage and txBatteryStatus data not added to database

2019-11-15 Thread Thomas Keffer
Replace your copy of accum.py with the attached. Should be at /home/weewx/bin/weewx/accum.py. The new version has been instrumented to check on how txBatteryStatus is being calculated from the LOOP packets. Then restart weewx, wait until after the first reporting cycle, then post the log from

Re: [weewx-user] Move to new server

2019-11-15 Thread Chris Thompstone
Sorry guys slight issue with my bootstrap skin: http://rollestonpark.myzen.co.uk/Bootstrap/ The font on the dials and graphs is tiny. I must be missing some sort of font from my raspbian install (maybe?) Any ideas, not sure what to check on this one. Thanks Chris -- You received this message

Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-15 Thread Martin Nielsen
Same - but different. :/ /Martin fredag den 15. november 2019 kl. 21.01.40 UTC+1 skrev Thomas Keffer: > > That is very odd. Let's try this again, but this time with the import at > the top of the file. > > -tk > > On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen > wrote: > >> Hi Thomas. >> >>

Re: [weewx-user] Sun & Moon sine plot/graph

2019-11-15 Thread Xant
If not free lunch, thank you Gary for the snack (as I continue learning through the experience) 1) To Database, or Not To Database Sure, your previous mention coding would be the ideal ("sun position plot routine in some php a few years ago to produce a graphic file showing a plot of

[weewx-user] Re: Weewx and Belchertown skins

2019-11-15 Thread Luc Theoret
Hi, Figured out how to use tail. Attached is the output of the weewx run using "sudo wee_reports /ect/weewx/weewx.conf" see attached file. Regards, LTheoret -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and

[weewx-user] Re: Weewx and Belchertown skins

2019-11-15 Thread rich T
Depending on the Acurite console you have, might need to set the USB Mode to 3 or 4. On Friday, November 15, 2019 at 6:18:01 PM UTC-5, Luc Theoret wrote: > > Hi, > > Figured out how to use tail. > > Attached is the output of the weewx run using "sudo wee_reports > /ect/weewx/weewx.conf" > > see

Re: [weewx-user] How to retrieve Davis forecastRule as a text string into my webpage?

2019-11-15 Thread PJD
Thanks for your replies. I managed to get a good result just using HTML and Javascript, without having to interfere with any conf files or with any of the Python code. This is what worked: 1. Capturing $current.forecastRule.raw with index.html.tmpl which passed that value as an

Re: [weewx-user] hellp,error instaler weather34 engine: Import of driver failed: [Errno 98]

2019-11-15 Thread steeple ian
Hi, Can anyone help here please. My Spanish is non-existant, tried a translator but the result got me no further forward. From what I can make out there appears to be driver error (Interceptor maybe). Thanks, Ian > On 15 Nov 2019, at 15:54, Xylon Ma wrote: > > hello, i sorry no se ingles