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

2019-11-14 Thread U G
Hi Again, I just grepped for "archive_period" through the log files of the last days and did not find one entry, despite the fact that I already hat set "# Set to 1 for extra debug info, otherwise comment it out or set to zero debug = 1" quiet a time ago. Erm? Thanks for your help! Cheer

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

2019-11-14 Thread U G
> > On Thursday, November 14, 2019 at 2:03:47 PM UTC-8, U G wrote: >> >> after nearly a year collecting weather data with rtl_433 suddenly the >> html pages are incorrectly updated, all the graphs and the title screen is >> stuck on November 12th 2019. >> >> >> > Again, as always, we need you t

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

2019-11-14 Thread U G
Hi, I made a backup of the old files in the www directory as well. But now, these are the current ones with the data and the date November 12th - but the filesystem timestamp last modified 'today'. So maybe the generation of the gifs and the status page is broken only... Is therey some known is

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

2019-11-14 Thread Xant
(addendum) Not sure if incorrect format or syntax to Database, but extend database with '$almanac.sun.alt' and '$almanac.moon.alt' generate errors upon "wee_database --rebuild-daily" schema_extended = schemas.wview.schema + [('maxSolarRad', 'REAL'),, ('$almanac.sun.alt', 'REAL'), ('$alman

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

2019-11-14 Thread vince
On Thursday, November 14, 2019 at 2:03:47 PM UTC-8, U G wrote: > > after nearly a year collecting weather data with rtl_433 suddenly the > html pages are incorrectly updated, all the graphs and the title screen is > stuck on November 12th 2019. > > > Again, as always, we need you to start with s

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

2019-11-14 Thread Xant
Thomas, Gary et Peter You ALL correct, and Sun/Moon-Altitude is the way to go. Thus for a start, '$almanac.sun.alt' and '$almanac.moon.alt', and will be added to database for plot/graph. Instead of "$almanac.variable.name", how to rename to something more meaningful as 'sun-alt = $almanac.su

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

2019-11-14 Thread Graham Eddy
snippets from my gauges-lite.js code:// forecast descriptions associated with forecastRule.// one forecast desc per line, the first line corresponds to forecastRule 0var FORECASTRULES_FILE = "forecastrules.txt”;… … var Forecast_list = null;            // table of forecast stringsfunction start_gaug

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

2019-11-14 Thread Thomas Keffer
You could do it in the Cheetah template. Something like this (NOT TESTED): #set rules = ["Mostly clear and cooler.", "Mostly clear with little temperature change.", "Mostly clear for 12 hours with little temperature change.", ... , ] The forecast is: $rules[$current.forecastRule.raw]

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

2019-11-14 Thread p q
Check your webserver. Maybe restart it. Are the files in your www directory the old ones or current ones? On Thu, Nov 14, 2019 at 2:03 PM U G wrote: > Hi, > > after nearly a year collecting weather data with rtl_433 suddenly the > html pages are incorrectly updated, all the graphs and the title

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

2019-11-14 Thread U G
Hi, after nearly a year collecting weather data with rtl_433 suddenly the html pages are incorrectly updated, all the graphs and the title screen is stuck on November 12th 2019. In the syslog i can see that via rtl_433 data is still collected and stored. The sqlite database seems to be filled

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

2019-11-14 Thread PJD
I'm trying to write code that will take Davis's forecastRule (a number) and display this on my webpage as text by reading the number off an array and returning the text corresponding to that number. For example if the Davis forecastRule returned is 5, I want the webpage to display "Partly cloud

Re: [weewx-user] corrupt database

2019-11-14 Thread Paolo Benvenuto
resolved! thank you very much!!! Il giorno giovedì 14 novembre 2019 21:05:23 UTC+1, Thomas Keffer ha scritto: > > You can do an integrity check on the database. You may have to install the > command line utility sqlite3 first: > > *sudo apt-get install sqlite3* > > > then > > *echo "PRAGMA integr

Re[2]: [weewx-user] corrupt database

2019-11-14 Thread Martin Nielsen
martin@raspberrypi:~ $ sudo echo "PRAGMA integrity_check;" | sudo sqlite3 /var/lib/weewx/weedb.sdb ok martin@raspberrypi:~ $ -- Original Meddelelse -- Fra: "Thomas Keffer" Til: "weewx-user" Sendt: 14-11-2019 21:04:48 Emne: Re: [weewx-user] corrupt database You can do an integrity chec

Re: [weewx-user] corrupt database

2019-11-14 Thread Thomas Keffer
You can do an integrity check on the database. You may have to install the command line utility sqlite3 first: *sudo apt-get install sqlite3* then *echo "PRAGMA integrity_check;" | sqlite3 /var/lib/weewx/weedb.sdb* -tk On Thu, Nov 14, 2019 at 11:51 AM Paolo Benvenuto wrote: > Hi! following

[weewx-user] corrupt database

2019-11-14 Thread Paolo Benvenuto
Hi! following a power failure I cannot start weewx any more: $ sudo service weewx status ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled) Active: active (exited) since Thu 2019-11-14 20:17:02 CET; 13min ago Docs: man:sy

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

2019-11-14 Thread Martin Nielsen
Hi Thomas. Thank you very much. I have just uploaded the script now. Looking in to the result tomorrow. /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 wit

Re: [weewx-user] Vantage Pro2 - Archive Interval or weewx loop or what to change update rate to 2,5 seconds?

2019-11-14 Thread Udo Nixda
Configuration error with the MQTT service on my part, found it. First you should read the logfile with "debug = 1" ;-) Thank you very much! br, Udo Am Donnerstag, 14. November 2019 19:04:10 UTC+1 schrieb Thomas Keffer: > > Did you look at the User's Guide, in particular the section *The > config

Re: [weewx-user] Vantage Pro2 - Archive Interval or weewx loop or what to change update rate to 2,5 seconds?

2019-11-14 Thread Thomas Keffer
Did you look at the User's Guide, in particular the section *The configuration file weewx.conf *? On Thu, Nov 14, 2019 at 9:18 AM Udo Nixda wrote: > thanks, that was probably right ;-) > > but i can't find the weewx settings, so that the hopefully

Re: [weewx-user] Vantage Pro2 - Archive Interval or weewx loop or what to change update rate to 2,5 seconds?

2019-11-14 Thread Udo Nixda
thanks, that was probably right ;-) but i can't find the weewx settings, so that the hopefully every 2,5 seconds incoming LOOP packets of the Vantage Pro2 can be processed further ... br, Udo Am Mittwoch, 13. November 2019 19:36:04 UTC+1 schrieb Thomas Keffer: > > I think you are confusing tw

[weewx-user] Re: Log data from WeatherFlow (2 Sky, 1 Air)

2019-11-14 Thread vince
On Thursday, November 14, 2019 at 2:46:07 AM UTC-8, peter wrote: > > I've been using weewx with the WeatherFlow station with no issues. I will > soon add another Sky device to the same Hub. Is it possible to select (in > configuration file) which Sky will be used to report rainfall and the other

[weewx-user] Re: Vantage Pro2 - Archive Interval or weewx loop or what to change update rate to 2,5 seconds?

2019-11-14 Thread Udo Nixda
Raspberry Pi4, I've been looking at the CPU load over the last few hours with 1 minute archive interval and MQTT updates for 4 "live" clients. This is negligibly low with less than 10%. Am Mittwoch, 13. November 2019 20:58:41 UTC+1 schrieb vince: > > On Wednesday, November 13, 2019 at 10:24:21 A

[weewx-user] Re: Sunshine Time

2019-11-14 Thread Jacques Terrettaz
I agree with peter's comment. The Davis solar radiation sensor, or any comparable sensor, is measuring a global radiation ( direct + diffuse) and the surface of the sensor is parallel to the ground. A fixed threshold, such as 120 W/m2, can be used only with sensors measuring direct radiation an

[weewx-user] Re: Sunshine Time

2019-11-14 Thread peter
I admit I don't follow the discussion frequently. I was thinking about the sunshine hours log - from the posts I understand the interval is considered "sunny" if the solar radiation is above a fixed threshold (e.g. 120 W/m2). I have second thoughts. For one of my stations I use Weather Display a

[weewx-user] Log data from WeatherFlow (2 Sky, 1 Air)

2019-11-14 Thread peter
I've been using weewx with the WeatherFlow station with no issues. I will soon add another Sky device to the same Hub. Is it possible to select (in configuration file) which Sky will be used to report rainfall and the other Sky to report wind and solar? --Thanks. -- You received this message b

Re: [weewx-user] No data to Weewx from VantageVue, but data to weather display

2019-11-14 Thread peter
Are you saying you can use Weather Display's consolewd *and* weewx in parallel? Thanks. Dne četrtek, 14. november 2019 05.36.33 UTC+1 je oseba Dan Sealy napisala: > > Thank you very much! Clearing the logger fixed it and it's working now. > I really appreciate your help. > > Dan > > >>> -- Y