Re: [weewx-user] Re: Weewx "off line"

2019-11-20 Thread Thomas Keffer
Teva MERVIN wrote: > Thank you for your help. > What do I do with this manager.py file? > > Le jeudi 21 novembre 2019 00:52:15 UTC+11, Thomas Keffer a écrit : >> >> En attendant, voici une version de manager.py qui ignorera simplement les >> enregistrements contenant de

Re: [weewx-user] wundergound no "post_indoor_observations" ?!

2019-11-20 Thread Thomas Keffer
I was able to reproduce this. It occurs if you specify post_indoor_observations while using Rapidfire. It turns out you can get the same error with the option api_key. Fixed in commit ce5bc8b , to appear in V4.0.

Re: [weewx-user] Re: Update from v3.6.2 to v3.9.2

2019-11-20 Thread Thomas Keffer
g instructions, restart at >> 13:59. >> >> Now to try the Belchertown skin... >> >> >> >> On Monday, 4 November 2019 09:21:42 UTC, Auchtermuchty Weather wrote: >>> >>> I want to try the Belchertown skin. >>> >>> >&g

Re: [weewx-user] wundergound no "post_indoor_observations" ?!

2019-11-20 Thread Thomas Keffer
Can you be more specific about what kind of error? -tk On Wed, Nov 20, 2019 at 5:11 AM Andreas Weber wrote: > Hi > > I wanted to upload my interior temperature with weewx to Wunderground and > lt docu manual from weewx goes along with that > post_indoor_observations = true > > But I get errors

Re: [weewx-user] Re: Weewx "off line"

2019-11-20 Thread Thomas Keffer
In the meantime, here is a version of manager.py that will simply ignore records with bad values of 'interval', rather than stopping. It's not a cure, but at least the results will be more robust. Give it a try. -tk On Wed, Nov 20, 2019 at 5:35 AM Thomas Keffer wrote: > I've re-opened is

Re: [weewx-user] Re: Weewx "off line"

2019-11-20 Thread Thomas Keffer
I've re-opened issue #375. Hopefully, Chris will have some time to investigate. -tk On Wed, Nov 20, 2019 at 1:08 AM Teva MERVIN wrote: > yes I used it. > > https://github.com/weewx/weewx/issues/375 > > Le mercredi 20 novembre 2019 14:19:37 UTC+11, Andrew Milner a écrit : >> >> it was my

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

2019-11-19 Thread Thomas Keffer
> Not sure why. > > Thanks for the help Thomas. > > søndag den 17. november 2019 kl. 01.33.38 UTC+1 skrev Thomas Keffer: >> >> I must confess to being baffled by this one. I can't replicate it on my >> machine, so I'm flying blind. >> >> On Sat, Nov 16,

Re: [weewx-user] Weewx on RPi Zero

2019-11-18 Thread Thomas Keffer
t; > Regards, > \Leon > > Thomas Keffer wrote: > > Only issue is the rampant memory leak plaguing many will manifest more >> frequently on a RPI Zero W because it only has 512MB RAM. Hopefully the >> leak will be fixed soon. >> > > Just for the record: the leak

Re: [weewx-user] Weewx on RPi Zero

2019-11-18 Thread Thomas Keffer
> > Only issue is the rampant memory leak plaguing many will manifest more > frequently on a RPI Zero W because it only has 512MB RAM. Hopefully the > leak will be fixed soon. > Just for the record: the leak is in the underlying Debian drivers or, possibly, Python 2.7 --- not in WeeWX.

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

2019-11-16 Thread Thomas Keffer
take a few days. > > Thanks for the help so far - will get back when i know more. > > /Martin > > lørdag den 16. november 2019 kl. 15.13.25 UTC+1 skrev Thomas Keffer: >> >> Still not sure what's going on, but I have my suspicions that the problem >> is your archive int

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

2019-11-16 Thread Thomas Keffer
. -tk On Fri, Nov 15, 2019 at 8:50 PM Martin Nielsen wrote: > 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

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

2019-11-15 Thread Thomas Keffer
> /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 attached? It has been instrumented to give more >&g

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

2019-11-15 Thread Thomas Keffer
; 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 17:17, Thomas Keffer wrote: > >  > One thing you could try is running weewx from t

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

2019-11-15 Thread Thomas Keffer
had to replace the ISS battery, I thought I’d add the battery > status to the ‘About’ page. > > Your help would be much appreciated. > > Geoff > > 17 Westcroft Road Holsworthy, EX22 6BY > Phone: +44 (0)1409 254330 > Mobile: +44 (0)7976 285950 > Web: http://www.cusick.org.uk

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

2019-11-15 Thread Thomas Keffer
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 Keffer wrote: >

Re: [weewx-user] Move to new server

2019-11-15 Thread Thomas Keffer
tem. > > 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 >> <https://github.com/weewx/weewx/issues/111> for the fix. >> >> Don't know why the bug didn't affect you with v3.5. >> >> -tk

Re: [weewx-user] Move to new server

2019-11-15 Thread Thomas Keffer
> font=unit_label_font) > File "/home/weewx/bin/weeplot/genplot.py", line 578, in text > return ImageDraw.ImageDraw.text(self, position, string, **options) > File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 282, in > text > self.draw.draw_b

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] 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] 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!

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
t 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 two different update rates: the update

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

2019-11-13 Thread Thomas Keffer
ly activated service 'ca.desrt.dconf' > Nov 13 16:07:46 raspberrypi weewx[1439]: vantage: Requesting 200 LOOP > packets. > Nov 13 16:07:46 raspberrypi weewx[1439]: vantage: Gentle wake up of > console successful > > On Tuesday, November 12, 2019 at 6:48:08 PM UTC-8, Thomas Keffer

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

2019-11-13 Thread Thomas Keffer
Hello, Martin Not exactly sure what's going on here. Could you please replace your copy of accum.py with the attached? It has been instrumented to give more information about the error. You can find it at /usr/share/weewx/weewx/accum.py. -tk On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen

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

2019-11-13 Thread Thomas Keffer
I think you are confusing two different update rates: the update rate of LOOP packets (fixed at 2.5s for Davis instruments), and the generation of archive records (can be set from every 1 minute, to every 120 minutes). See the section *LOOP packets vs archive records

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

2019-11-12 Thread Thomas Keffer
Impossible to say without actually seeing the log. See the Wiki article *Help! Posting to weewx-user *. -tk On Tue, Nov 12, 2019 at 6:00 PM Dan Sealy wrote: > Hi, > > I'm new to this, and to Raspberry Pi. > > I'm trying to use

Re: [weewx-user] weewx.sdb backups revisited

2019-11-12 Thread Thomas Keffer
Unless you are running some unusual service, there should be no situations where weewx is modifying the database between archive events. -tk On Tue, Nov 12, 2019 at 7:48 AM WindnFog wrote: > Reading the list archive, the documentation, and searching the Internet > about the "best" way to

Re: [weewx-user] Debian 10 weewx, running as non-root, cannot be stopped

2019-11-11 Thread Thomas Keffer
Good eye, and good fix. Thanks, Cameron! On Mon, Nov 11, 2019 at 3:48 PM Cameron D wrote: > Due to recent changes with Debian Buster there are some situations where > systemctl will refuse to shut down or restart weewx, due to the pidfile not > being owned by root. > I don't know if this

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

2019-11-10 Thread Thomas Keffer
The only way I can think of is to put it in the database. Then it can be treated like any other observation type. On Sun, Nov 10, 2019 at 1:58 PM Xant wrote: > How to plot the Sun & Moon sine elevation (sun/moon rise, sun/moon set) > based on local coordinates? > > -- > You received this

Re: [weewx-user] FTP not working since last system update

2019-11-08 Thread Thomas Keffer
WeeWX stores the time each file was FTPd to your server in a file called *#FTP.last*. This is in order to avoid unnecessary uploads. Somehow the file got corrupted. The fix is easy enough: delete the file. It will be regenerated at the next reporting cycle. You can find it in your HTML directory

Re: [weewx-user] Strange error message with weewx on WS2812

2019-11-08 Thread Thomas Keffer
Some weather stations have an on board clock that can be read by WeeWX for synchronization purposes. Yours does not, hence the message. Nothing to worry about. -tk On Fri, Nov 8, 2019 at 3:28 PM Carl Muellner wrote: > Running weewx v 3.9.2 on a LaCrosse WS2812. Upon weewx engine restart and

Re: [weewx-user] RM Young ResponseOne Driver

2019-11-08 Thread Thomas Keffer
Well done! Not bad for your first attempt at Python! Be sure to list your driver in the Wiki driver section . -tk On Thu, Nov 7, 2019 at 10:04 PM Andrew B wrote: > Hi All, > > I've recently switched to a ResponseOne (92000) >

Re: [weewx-user] Re: Weather API graph/plot (looking for suggestions)

2019-11-07 Thread Thomas Keffer
The site you linked to seems to be more about graphical APIs (Vue, in particular), and not about a generic weather API. If that's what you're looking for, take a look at WeeRT . It's a real-time interface to WeeWX. On Thu, Nov 7, 2019 at 10:23 AM Xant wrote:

Re: [weewx-user] memory usage

2019-11-05 Thread Thomas Keffer
I have experienced memory leak issues as well, but only under 32-bit Debian systems. About 6 months ago, I tried to isolate the problem, and, like you, came to the conclusion that it was in the sqlite3 "wrappers." In fact, I came up with a memory test program that looks very similar to your

Re: [weewx-user] Re: Update from v3.6.2 to v3.9.2

2019-11-03 Thread Thomas Keffer
No reason to upgrade unless you need the functionality of the newer versions. I have a station that is still running v2.6.2! However, the Python consortium will no longer support Python 2.x as of 1 January 2020. I suspect operating system

Re: [weewx-user] Name of entry for day rain or 24h rain

2019-10-31 Thread Thomas Keffer
. > > Gary > > On Friday, 1 November 2019 09:27:30 UTC+10, Thomas Keffer wrote: >> >> On Thu, Oct 31, 2019 at 4:25 PM gjr80 wrote: >> >>> I believe the twitter extension pulls fields directly out of the current >>> archive record and not via the rep

Re: [weewx-user] Name of entry for day rain or 24h rain

2019-10-31 Thread Thomas Keffer
On Thu, Oct 31, 2019 at 4:25 PM gjr80 wrote: > I believe the twitter extension pulls fields directly out of the current > archive record and not via the report generation system. So this means you > are stuck with those fields available in the current archive record. > Oops. Didn't know that.

Re: [weewx-user] Name of entry for day rain or 24h rain

2019-10-31 Thread Thomas Keffer
See the section *Tags * in the Customizing Guide. For rain since midnight use $day.rain.sum. For rain over the last 24 hours, use $span($day_delta=1).rain.sum. -tk On Thu, Oct 31, 2019 at 9:20 AM Invisible Man wrote: > Hi, > > I use an

Re: [weewx-user] Re: Can I preserve NOAA history after database corruption & reinstall

2019-10-31 Thread Thomas Keffer
Peace, prosperity, and sanity break out! On Thu, Oct 31, 2019 at 1:05 PM Dave, G1OGY wrote: > > > On Thursday, 31 October 2019 16:15:43 UTC, Dave, G1OGY wrote: >> >> >> >> On Thursday, 31 October 2019 15:54:33 UTC, Thomas Keffer wrote: >>> >>>

Re: [weewx-user] Re: Can I preserve NOAA history after database corruption & reinstall

2019-10-31 Thread Thomas Keffer
: > > > On Thursday, 31 October 2019 14:29:37 UTC, vince wrote: >> >> On Thursday, October 31, 2019 at 6:41:04 AM UTC-7, Thomas Keffer wrote: >>> >>> Just do sensible backups >>> >> >> I'm a bit surprised to hear a pi3 corrupted

Re: [weewx-user] Can I preserve NOAA history after database corruption & reinstall

2019-10-31 Thread Thomas Keffer
1. Depends on how you're doing the uploading. If using FTP, then WeeWX checks to see if there is a newer version available. If so, it uploads. If rsync, it synchronizes the two directories so they have the same content. Either way, this is a tenuous way to maintain your NOAA reports. You're better

Re: [weewx-user] UV plot not generating

2019-10-28 Thread Thomas Keffer
On Mon, Oct 28, 2019, 14:16 Thomas Keffer wrote: > >> Thanks. I was able to reproduce the bug. Let me work on a fix. >> >> On Mon, Oct 28, 2019 at 5:37 AM Tomáš Filo wrote: >> >>> This si new log: >>> >>> Oct 28 13:35:37 meteo weewx[2622]: wmr

Re: [weewx-user] Syslog - Errors

2019-10-28 Thread Thomas Keffer
Did you Google the error ? Lots of information. For example, try this one . On Mon, Oct 28, 2019 at

Re: [weewx-user] UV plot not generating

2019-10-28 Thread Thomas Keffer
:52 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4516 > Oct 28 13:35:53 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4248 live_queue_len:1 > Oct 28 13:35:54 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live q

Re: [weewx-user] UV plot not generating

2019-10-28 Thread Thomas Keffer
ge = plot.render() > File "/usr/share/weewx/weeplot/genplot.py", line 213, in render > self._calcYScaling() > File "/usr/share/weewx/weeplot/genplot.py", line 518, in _calcYScaling > self.yscale = weeplot.utilities.scale(ymin, ymax, self.yscale, > nsteps=se

Re: [weewx-user] UV plot not generating

2019-10-28 Thread Thomas Keffer
I notice that the error occurred at a time when there was no database record: 28 October, 09:10. That should result in an error "generate time not in database" and the templates skipped. Let's see if that has anything to do with the error. Could you try running wee_reports for that record, and

Re: [weewx-user] Merged datbase with old Vwiew backup

2019-10-27 Thread Thomas Keffer
Here's your problem: 1. Oct 27 15:25:16 meteo weewx[24450]: cheetahgenerator: Reason: cannot find 'cwop' while searching for 'Extras.cwop' 2. Oct 27 15:25:16 meteo weewx[24450]: Traceback (most recent call last): 3. Oct 27 15:25:16 meteo weewx[24450]: File

Re: [weewx-user] Merged datbase with old Vwiew backup

2019-10-26 Thread Thomas Keffer
(Your link didn't work for me.) 1. Did you try deleting all the NOAA records? WeeWX will automatically regenerate them with what data it has. 2. If you already tried that, or it didn't work, then we will have to see the log. See the Wiki on how to generate a good log

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
Sorry. There are actually 4 places in accum.py that have to be changed. Use the attached copy of accum.py -tk On Fri, Oct 25, 2019 at 6:20 PM Matt Frost wrote: > OK I made that change. Now I'm getting this. This errors out much quicker > than before. > > Oct 25 20:15:15 weather weewx[783]:

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
I can imagine you don't want to sit there staring at the command line looking for an 'L' for a few hours. :-) Did you try the modification I outlined earlier? That should at least make it go away. -tk On Fri, Oct 25, 2019 at 4:10 PM Matt Frost wrote: > I have not had any luck finding the

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
: This will all be changing in V4, which will definitely allow longs (as well as strings!). -tk On Fri, Oct 25, 2019 at 5:21 AM Thomas Keffer wrote: > That would be the next step: instrument accum.py to show what's tripping > it up. > > Matt, have you been successful in finding the 'long' dat

Re: [weewx-user] weewx keeps crashing

2019-10-25 Thread Thomas Keffer
, 25 October 2019 10:17:18 UTC+10, Thomas Keffer wrote: >> >> Hello, >> >> My best guess is that somewhere among the myriad of things that cmon >> measures is something that is of type 'long', but it's hard to say with >> only a small snippet of the log. >> &

Re: [weewx-user] weewx keeps crashing

2019-10-24 Thread Thomas Keffer
Hello, My best guess is that somewhere among the myriad of things that cmon measures is something that is of type 'long', but it's hard to say with only a small snippet of the log. Try running weewx directly from the command line, and watching the values go by. If something is of type long, it

Re: [weewx-user] ftpuploader timeout with Davis Vantage Pro2 - Weewx on CentOS 7

2019-10-22 Thread Thomas Keffer
in 2006, therefore > most of you should already support these newer protocols. Concerned > application developers or those operating applications that support > critical infrastructure should ensure software is up-to-date to support TLS > 1.2 and modern encryption ciphers. > > Th

Re: [weewx-user] Documentation Improvement Suggestion - and Solar Panel fun

2019-10-22 Thread Thomas Keffer
That looks pretty good! Can you submit a Pull Request to the Customization Guide with your changes? Do it on the 'development' branch. Thanks in advance -tk On Tue, Oct 22, 2019 at 5:36 PM Alex Edwards wrote: > Hi all, > > I've enjoyed playing with Weewx and WS2080 for the past few months -

Re: [weewx-user] ftpuploader timeout with Davis Vantage Pro2 - Weewx on CentOS 7

2019-10-20 Thread Thomas Keffer
as not quite as helpful or technical response as I > had hoped for. ;-) They did not respond after I pointed out the FTP > jargon in Weatherlink. So, my question is: if it does not support FTP, > how should I set up the Davis site in weewx? Thanks again. Kevin > > On Sunday, Octob

Re: [weewx-user] ftpuploader timeout with Davis Vantage Pro2 - Weewx on CentOS 7

2019-10-20 Thread Thomas Keffer
Your installation is actually running properly, but there are 3 issues: 1. This log entry gives a clue to one of your problems: Oct 15 05:43:12 RadioShack weewx[4433]: device reports readiness to > read but returned no data (device disconnected or multiple access on port?) > Oct 15 05:43:12

Re: [weewx-user] Inserting HTML into a file using the template

2019-10-19 Thread Thomas Keffer
If you want to directly include another file, just use the Cheetah #include directive. There are many examples of this in the Seasons skin. On Sat, Oct 19, 2019 at 1:53 PM p q wrote: > Hi, > > Short version - > I want to insert a HTML file into index.html, probably when it is created > by

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-17 Thread Thomas Keffer
a single failure for over 11 years. It can be done at modest cost! -tk On Thu, Oct 17, 2019 at 5:26 AM Andrea Cecilia wrote: > > > Il giorno giovedì 17 ottobre 2019 14:13:51 UTC+2, Thomas Keffer ha scritto: >> >> As it is suggested in other answers here, it would "fix"

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-17 Thread Thomas Keffer
> > As it is suggested in other answers here, it would "fix" the problem > buying an UPS, but I honestly wolud find a software solution, not coming > around the problem in this way (which could also be expensive). > There is a software solution: run with record_generation = software. This

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-16 Thread Thomas Keffer
why I have a UPS as well :) > > Gary > > On Thursday, 17 October 2019 09:35:21 UTC+10, Thomas Keffer wrote: >> >> Immune, yes, but you also won't get any archive records stored on the >> logger while your computer is down! >> >> On Wed, Oct 16, 2019 at 4:

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-16 Thread Thomas Keffer
Immune, yes, but you also won't get any archive records stored on the logger while your computer is down! On Wed, Oct 16, 2019 at 4:33 PM gjr80 wrote: > One other thing to keep in mind; the de facto standard mode of operation > of a Davis station under WeeWX is to use hardware record

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-16 Thread Thomas Keffer
> love to see where this leads. > > David Beach > > On Wednesday, 16 October 2019 07:40:59 UTC-4, Thomas Keffer wrote: >> >> This is likely a case of memory corruption, brought on by time not being >> synced during the reboot, due to the lack of an on-board clock. It was not &g

Re: [weewx-user] Re: Weather Underground Upload Fails

2019-10-16 Thread Thomas Keffer
Most likely this is being caused because you are missing the necessary certificates on your RPi to certify the https connection. I'm definitely not a certificates expert, but try this on your RPi: *sudo apt-get update* *sudo apt-get install --reinstall ca-certificates* This will refresh your

Re: [weewx-user] Weather Underground Upload Fails

2019-10-16 Thread Thomas Keffer
What version of WeeWX? What version of Python? Earlier version of WeeWX posted using http instead of https. On Wed, Oct 16, 2019 at 5:51 AM Ford Smith wrote: > Until a brief power failure the other day, my weewx reading an Accurite > weather station was performing perfectly on a Raspberry Pi

Re: [weewx-user] Re: Davis Datalogger bug

2019-10-16 Thread Thomas Keffer
This is likely a case of memory corruption, brought on by time not being synced during the reboot, due to the lack of an on-board clock. It was not a problem with Weatherlink because you were not running it on an RPi. See the section *WeeWX generated HTML pages, but does not update them

Re: [weewx-user] weatherlink live

2019-10-16 Thread Thomas Keffer
No, but you are reminding me to call Davis. On Wed, Oct 16, 2019 at 1:20 AM Pierre Chevallier wrote: > Do you have any date for the release? > > Many thanks for your work. > Regards. > > Le dimanche 30 juin 2019 14:00:22 UTC+2, Thomas Keffer a écrit : >> >> Unfor

Re: [weewx-user] Re: filling hole in chart

2019-10-12 Thread Thomas Keffer
It does, but it will only fill in from the last timestamp of the database. It happens automatically on startup. If you have a Davs Vantage station, you can try the wee_device utility with the --dump option. Note: this will

Re: [weewx-user] filling hole in chart

2019-10-12 Thread Thomas Keffer
Assuming the data is in the database (not a safe assumption), just delete the charts. They will get regenerated at the next reporting cycle. If they still have holes, then there must be data missing in the database. You can search for the holes with commands something like: *sqlite3

Re: [weewx-user] Re: Weather station recommendations?

2019-10-11 Thread Thomas Keffer
Your posts were not deleted. They were sent to the "moderator's folder," for review. I don't know why. In any case, I released them all this morning. On Fri, Oct 11, 2019 at 6:16 AM Xant wrote: > > Apologies once again if you receiving multiple copies of messages, as my > posting was been

Re: [weewx-user] Re: minmax and maxmin with span killing page?

2019-10-10 Thread Thomas Keffer
On Thu, Oct 10, 2019 at 3:23 PM Pila wrote: > Yup. An extremely ugly fix to a problem for which I claim should not have > existed. Works. I just hope it is not doing to a database something. > You are misunderstanding how open-source software works. It is a *collaborative* effort. A lot of

Re: [weewx-user] Re: minmax and maxmin with span killing page?

2019-10-07 Thread Thomas Keffer
There is indeed a "minmax" aggregate, but it comes with limitations. The start and end of the aggregation interval must be at midnight. I suspect the problem is that you are attempting to do it from a random time of the day. In that case, minmax (and maxmin) would then be not well-defined

Re: [weewx-user] Graphs do not display data perfectly

2019-10-07 Thread Thomas Keffer
Yes, you are right about the averaging effect. Averaging does that. If you want to show the extremes, you can try plotting min and max dewpoint. And, knock off the comments about "pointlessly count." It's getting old. On Mon, Oct 7, 2019 at 2:34 AM mrzimgjugl asdf wrote: > Daily graph is

Re: [weewx-user] History begins yesterday?!?

2019-10-05 Thread Thomas Keffer
> > I am funny that way. If it says 30 days, I expect 30 days. Not 1 day, 2 > tomorrow, 3 on the next day... > Where are you seeing this? The table heading in the Standard skin is clearly marked "This Month," the Seasons skin marked "Month." -tk -- You received this message because you are

Re: [weewx-user] History begins yesterday?!?

2019-10-05 Thread Thomas Keffer
On Sat, Oct 5, 2019 at 1:11 AM Pila wrote: > Terrible choice in a great program. Sort of like writing close over the > switch that opens. > Sorry you feel that way. Allowing it to be done either way is something I could spend my time on, but I'm not --- there are other, higher, priorities. A

Re: [weewx-user] History begins yesterday?!?

2019-10-04 Thread Thomas Keffer
This is the correct behavior. As the title says, the aggregate values are the aggregate *for today*, that is, *since midnight,* not for 24 hours. If you want 24 hours, you will have to use a search list extension. There is an example of how to write one in the section *Extending the list

Re: [weewx-user] Bash: get current weather data

2019-10-03 Thread Thomas Keffer
Have you looked at the "alarm" example? It is included in the "examples" subdirectory. Documentation in the Customizing Guide. On Thu, Oct 3, 2019 at 7:02 AM Ramesh Rasappan wrote: > My current setup pulls weather data from Offset

Re: [weewx-user] Multiple Data Bindings

2019-10-02 Thread Thomas Keffer
arified. >> >> Gary >> >> On Wednesday, 2 October 2019 09:09:19 UTC+10, Thomas Keffer wrote: >>> >>> Yes, you can do this. In fact, there's an example in the Customization >>> Guide of using MySQL and SQLite simultaneously. See the section *Using &g

Re: [weewx-user] Multiple Data Bindings

2019-10-01 Thread Thomas Keffer
Yes, you can do this. In fact, there's an example in the Customization Guide of using MySQL and SQLite simultaneously. See the section *Using multiple bindings *. On Tue, Oct 1, 2019 at 2:35 PM Wout Vdh wrote: > Hi > > Is it

Re: [weewx-user] weewx dont update

2019-10-01 Thread Thomas Keffer
You did not say what kind of weather station you have, nor did you include a log, so it is hard to offer much help. But, on the chance that you have a Davis Vantage, did you look at the section *WeeWX generates HTML pages, but it does not update them

Re: [weewx-user] Re: Best way to get available cheetah variables

2019-09-30 Thread Thomas Keffer
I think we are misunderstanding each other. Run weewxd directly from the command line . You will see it print something like: LOOP: 2019-09-30 14:15:16 PDT (1569878116) altimeter: 30.111448577506454, appTemp: 47.3810153041827, barometer:

Re: [weewx-user] --rebuild-daily : ValueError: Non-positive value for record field 'interval': 0

2019-09-30 Thread Thomas Keffer
So, that's about 7% of the records. You'll probably be OK. -tk On Mon, Sep 30, 2019 at 11:10 AM Cyril D wrote: > Deleted 24295 out of 354786 records. > --rebuild-daily went without error. > > Thank you! > > -- > You received this message because you are subscribed to the Google Groups >

Re: [weewx-user] --rebuild-daily : ValueError: Non-positive value for record field 'interval': 0

2019-09-30 Thread Thomas Keffer
I don't know what "many lines" means, but you're going to have to make a judgment call. You can either 1. Delete them all; or 2. Set the values to the nominal archive interval that the rest of the database uses. I think either approach is safe and unlikely to give you much trouble. Unless, of

Re: [weewx-user] --rebuild-daily : ValueError: Non-positive value for record field 'interval': 0

2019-09-30 Thread Thomas Keffer
Using the tool sqlite3 (you may have to install), see how many zero interval values are in your database: Adjust path as necessary, but this path should be close: $ *sqlite3 /home/pi/cleusb/weewx/archive/weewx.sdb* sqlite> *select dateTime, datetime(dateTime,'unixepoch','localtime'), interval

Re: [weewx-user] N/A / unavailable wind data

2019-09-30 Thread Thomas Keffer
See the section *There is no wind direction when wind speed is zero * in the User's Guide. -tk On Mon, Sep 30, 2019 at 6:19 AM mrbalky wrote: > Howdy, > > VantagePro2 wireless, console connected via USB to a RPi running WeeWX > 3.9.2. WeeWX

Re: [weewx-user] Re: Best way to get available cheetah variables

2019-09-29 Thread Thomas Keffer
One thing you could try is run your station from the command line, then see what it prints on the console under REC. Those are the observation types available to a report. -tk On Sat, Sep 28, 2019 at 6:57 AM Hyrules Hyrules wrote: > as usual thanks Gary. I'm getting eager to see version 4. > >

Re: [weewx-user] Not archiving Signal Quality (rxCheckPercent) data

2019-09-25 Thread Thomas Keffer
(which I'm not volunteering for) but thought I'd > at least mention it and link to the code. > > > On Monday, September 23, 2019 at 5:47:02 PM UTC-4, Thomas Keffer wrote: >> >> Sorry, but the value of rxCheckPercent comes only from the console, and >> then only in archi

Re: [weewx-user] Get values from a database on another machine?

2019-09-24 Thread Thomas Keffer
> > Must the new database have datetime, unUnits and interval fields? Yes. The answers to most of your other questions are in the section *The database *, in the Customizing Guide. Take a look there. Perhaps someone will look at your

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
on't have errors now. I don't know where was the fault. > > El martes, 24 de septiembre de 2019, 14:47:45 (UTC+2), Thomas Keffer > escribió: >> >> The problem is almost surely in the file >> /etc/weewx/skins/Seasons/index.html.tmpl. Double check that the top of >&

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
Cheetah/Compiler.py", line 1708, in > __init__ > Sep 24 14:05:27 raspberrypi weewx[27767]: source = > unicode(source) > Sep 24 14:05:27 raspberrypi weewx[27767]: UnicodeDecodeError: > 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in > range(128) >

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
gt; El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer >> escribió: >>> >>> Is there error from a Spanish character in the template, or in >>> skin.conf, or weewx.conf? >>> >>> Which template? >>> >>> Please includ

Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-23 Thread Thomas Keffer
Things other than a lack of file space can cause this error. Take a look at this StackOverflow thread: https://stackoverflow.com/questions/6998083/python-causing-ioerror-errno-28-no-space-left-on-device-results-32766-h -tk On Mon, Sep 23, 2019 at 8:09 PM Scott Grayban wrote: > Getting this

Re: [weewx-user] Not archiving Signal Quality (rxCheckPercent) data

2019-09-23 Thread Thomas Keffer
Sorry, but the value of rxCheckPercent comes only from the console, and then only in archive records (not LOOP packets). If you disable hardware record generation, you lose it. It would be a nice feature to be able to pick and chose where each datum in the archive record comes from, but,

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-23 Thread Thomas Keffer
Is there error from a Spanish character in the template, or in skin.conf, or weewx.conf? Which template? Please include the log. -tk On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas wrote: > I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I have > #encoding UTF-8 in each

Re: [weewx-user] Re: graphs: Unicode and Cardinal Wind directions

2019-09-23 Thread Thomas Keffer
The disadvantage of HTML entities (such as ) is that they can only be used in, well..., HTML. That means the templates. The advantage is that they consist of nothing but ASCII characters, so they are always displayed the same way. By contrast, the advantage of UTF-8 characters is that they are

Re: [weewx-user] Display local wind names

2019-09-23 Thread Thomas Keffer
1. You can do something like this in the templates (NOT TESTED): #if $current.windDir.raw >= 22.5 and $current.windDir.raw <= 67.5 #set label = "Bura" #elif $current.windDir.raw > 67.5 and $current.windDir.raw <= 112.5 #set label = "Levanat" #elif $current.windDir.raw > 112.5 and

Re: [weewx-user] graphs: Unicode and Cardinal Wind directions

2019-09-23 Thread Thomas Keffer
> > How to get unicode letters in graph title: Kia should look like > this: Kiša > Just use UTF-8 encoding for the label title in the appropriate configuration file. For example, for the Seasons skin, in file Seasons/skin.conf, change this [[[dayrain]]] # Make sure the y-axis increment is at

Re: [weewx-user] image caching problem with Chrome

2019-09-22 Thread Thomas Keffer
Take a look at this thread . It offers several solutions. -tk On Sun, Sep 22, 2019 at 3:34 PM Chris Richmond wrote: > All, this can't be a new thing, but using Chrome and weewx 3.9.1, the > graphs don't reload when refreshing

Re: [weewx-user] Re: Show Relative Pressure instead of Absolute Pressure

2019-09-22 Thread Thomas Keffer
Your weather station is based on the Fine Offset series of weather stations. It has a very simple way of correcting for altitude: it simply adds a constant to the absolute pressure, to produce what it calls "relative pressure." This is *not* what commercial or government weather stations do. They

Re: [weewx-user] Show Relative Pressure instead of Absolute Pressure

2019-09-22 Thread Thomas Keffer
11hPa, both > in the station, but weewx only show 950hPa.) Actually I am not an expert in > this topics, but I've always seen the pressure on these figures > (1000-1020hPa), and now I get lost (with 940-960hPa). > > Miguel. > > El domingo, 22 de septiembre de 2019, 14:53:42

Re: [weewx-user] Show Relative Pressure instead of Absolute Pressure

2019-09-22 Thread Thomas Keffer
Take a look at the Wiki article *Barometer, pressure, and altimeter *, and see if that answers your question. If not, perhaps you can tell us what you mean by "relative pressure." -t On Sun, Sep 22, 2019 at 5:43 AM Miguel

  1   2   3   4   5   6   7   8   9   10   >