Re: [weewx-user] Re: Showing message to weather website users when stopped working

2019-02-28 Thread Thomas Keffer
ile in init.d and restarted weewx with a working network and > all seems OK, but I guess I won't know fully until the Pi crashes again. > > David. > > On Thu, 28 Feb 2019 at 13:32, Thomas Keffer wrote: > >> 1. It looks like you're using the WeatherLinkIP logger in your Van

Re: [weewx-user] Re: Showing message to weather website users when stopped working

2019-02-28 Thread Thomas Keffer
1. It looks like you're using the WeatherLinkIP logger in your Vantage. These are generally not as reliable as the serial and USB versions and, as you discovered, depend on the network being up before the Vantage is useful. I am not a boot expert, but try this: go into /etc/init.d/weewx and change

Re: [weewx-user] 3.91 new install ... Seasons skins... can't find where to override default label formats

2019-02-27 Thread Thomas Keffer
Unless you assign your new types lakeElevation and lakeWaveheight to a unit group, they will be unknown to WeeWX, so it doesn't know how to format them. In that case, their unformatted, raw value will be used. You can either assign them to a unit group, or format them explicitly. The instructions

Re: [weewx-user] Moon phase & pyephem question

2019-02-27 Thread Thomas Keffer
I > miss a file updated in an earlier commit? > > Phil > > On Wednesday, February 27, 2019 at 4:01:29 PM UTC-5, Thomas Keffer wrote: >> >> The problem with skyfield is that it is dependent on numpy, a very large >> package. I'm reluctant to introduce a new d

Re: [weewx-user] Moon phase & pyephem question

2019-02-27 Thread Thomas Keffer
ing on a > Python3 compliant version of WeeWX, is that an opportunity to have WeeWX > use skyfield instead of pyephem? > > phil > > On Wednesday, February 27, 2019 at 2:08:39 PM UTC-5, Thomas Keffer wrote: >> >> I looked into this and found a couple of small issues, which

Re: [weewx-user] FTP error

2019-02-27 Thread Thomas Keffer
Yes, it helps. You didn't request an FTP upload, so it wasn't done. To request uploads, you must fill out the section [[FTP]] in weewx.conf. As always, see the Users Guide . It also looks like you may have corrupt memory in your Vantage logger. It r

Re: [weewx-user] Moon phase & pyephem question

2019-02-27 Thread Thomas Keffer
I looked into this and found a couple of small issues, which I've corrected in commit c696e4 . Be aware that the function you are using does the calculation in local time. This has now been changed, and the almanac no

Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Thomas Keffer
Well, that's the current kernel version. Let's see how it goes with the new Ultimeter driver. -tk On Wed, Feb 27, 2019 at 8:58 AM Steve2Q wrote: > I am going to try .25 now. Here is the result of uname -a > > -- > You received this message because you are subscribed to the Google Groups > "weew

Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Thomas Keffer
The pl2303 is certainly a well known module. Which kernel? *uname -a* Here's yet another version, 0.25. This one opens and closes the port with every read. Incredibly inefficient, but if it gets the job done... -tk On Wed, Feb 27, 2019 at 7:50 AM Steve2Q wrote: > Tom: The memory usage started

Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Thomas Keffer
It started at about 4.4%, right? You know, I just noticed another difference: 0.11 closed the serial port after every read, whereas 0.2x opens it only once, then leaves it open for all reads. That makes me think there might be an issue with the hardware device driver. Can you check and see what d

Re: [weewx-user] FTP error

2019-02-27 Thread Thomas Keffer
Hard to say without seeing the log. (Always post a log!) One thing to try: remove the file #FTP.last in your HTML directory. That will force WeeWX to try to upload everything. But, without seeing the log there's no way of knowing if that's the problem. -tk On Wed, Feb 27, 2019 at 4:06 AM 'Ian Sh

Re: [weewx-user] Re: Second crash after 11 days

2019-02-26 Thread Thomas Keffer
We will solve the problem with the newer drivers! 😃 Try this version. It reads data byte-by-byte, just like 0.11rc3. -tk On Tue, Feb 26, 2019 at 1:40 PM Steve2Q wrote: > Weewx has been running for 24 hours now with the 11rc3 driver. Top shows > 4.4% memory usage v 7.5% for the 0.22 driver. A pr

Re: [weewx-user] database repair - dropping recent archive records when console is still ok

2019-02-26 Thread Thomas Keffer
You could try using wee_device --dump . It will dump all the records in the logger. Most will be duplicates, but it will recover the missing records. Then rebuild the daily summaries. On Tue, Feb 26, 2019 at 7:32 AM Greg Troxel

Re: [weewx-user] vantage.py error setting humidity offset

2019-02-26 Thread Thomas Keffer
Right you are! Fixed in commit febcf85 . Thanks, Bob. On Tue, Feb 26, 2019 at 8:39 AM bob_linux_user wrote: > I located an error in vantage.py. I do not know if this has been reported > but in setCalibrationHumid t

Re: [weewx-user] Re: Weewx crash catcher

2019-02-26 Thread Thomas Keffer
Is this, by any chance, a WMR200 or WS28xx? -tk On Tue, Feb 26, 2019 at 4:30 AM Mark Jenks wrote: > Got one last night > > Feb 25 22:29:41 server weewx[7721]: wmr200: MainThread: I Driver > gracefully exiting > Feb 25 22:29:41 server weewx[7721]: engine: Caught unrecoverable exception > in

Re: [weewx-user] Cleaning up old 'bad' data

2019-02-25 Thread Thomas Keffer
Just to be clear: the daily summaries are not used for the plots. They are pure archive data. On Mon, Feb 25, 2019 at 10:31 AM Andrew Milner wrote: > What did you actually do to nullify the data? Pointing me to the > documentated procedure does not tell me what commands you actually gave!!! > >

Re: [weewx-user] Re: Second crash after 11 days

2019-02-25 Thread Thomas Keffer
Well, now I'm thoroughly confused. The v0.11rc3 version did not use readline() and it showed no memory growth. V.22 also does not use readline(), but it does show memory growth. Either we're mistaken and 0.11rc3 does show memory growth, or something else besides readline() is causing it. -tk On

Re: [weewx-user] Cleaning up old 'bad' data

2019-02-25 Thread Thomas Keffer
t; > I've deleted weekrain.html, weekrain.png, monthrain.html, monthrain.png, > yearrain.html, and yearrain.png and presume there's no way to compel > regeneration from what you've stated - is that correct? > > Kind regards, > > Kelly > > On Monday,

Re: [weewx-user] Cleaning up old 'bad' data

2019-02-25 Thread Thomas Keffer
Unfortunately, with the present image generator, it's not possible to use dynamic captions. They have to be static. So, the inclusive dates cannot be included in them. As for how long... the images get regenerated as often as their aggregation period. So, if you have a daily total, it will get upd

Re: [weewx-user] 3.9.1, Seasons skin & changing of labels

2019-02-24 Thread Thomas Keffer
That's correct. If you change it in the current.inc, it will change that particular entry in the Seasons skin. However, if you want to change it for *all* skins, you can change it in weewx.conf. Look for [StdReport] ... [[Defaults]] ... [[[Labels]]] ... Generics

Re: [weewx-user] Cleaning up old 'bad' data

2019-02-24 Thread Thomas Keffer
> > FYI & FWIW for other new users who happen upon this thread; user *root*, > invoked with > sudo -i > > can be changed back to normal user with su - username; e.g., > su - pi > Actually, what you're doing there is creating *another* shell, which is running inside your sudo shell, which is runnin

Re: [weewx-user] Problems with customizing seasons skin (graphiks)

2019-02-24 Thread Thomas Keffer
It probably wasn't generated. Did you add it under [ImageGenerator] in the Season's configuration file, skin.conf? On Sun, Feb 24, 2019 at 11:10 AM Michael wrote: > Hi to all, > > I am currently trying to adapt the Skin Seasons to my needs. But I fail to > add more graphics. > The description "G

Re: [weewx-user] Cleaning up old 'bad' data

2019-02-24 Thread Thomas Keffer
The "sudo" only applies to the first command (echo), not the second (sqlite3). Try running interactively: *sudo -i* *echo "UPDATE archive SET rain=NULL WHERE (rain >0);" | sqlite3 backup.sdb* On Sun, Feb 24, 2019 at 10:39 AM V. Kelly Bellis wrote: > Hello, > > Closely following the outlined p

Re: [weewx-user] Davis Vantage driver : stormRain and stormStart

2019-02-24 Thread Thomas Keffer
The problem is that the unit system is unaware of stormStart, so the tag $current.stormStart gets returned as a raw value, instead of a ValueHelper. I've created issue #380 to track. This is an easy one to fix, should some noob want to take it on! -tk

Re: [weewx-user] Weewx crash catcher

2019-02-23 Thread Thomas Keffer
ote: > It doesn't do it often, but I think it had a hardware issue with the usb. > It could be the OS that I'm on also.. > > Better > > On Saturday, February 23, 2019 at 10:00:49 AM UTC-6, Thomas Keffer wrote: >> >> Mark, >> >> WeeWX should not cras

Re: [weewx-user] Weewx crash catcher

2019-02-23 Thread Thomas Keffer
Mark, WeeWX should not crash. If it does, it's a bug. I have successfully run it for 2 years at a time. The next time it does, please post the system log. Far better to engineer out the point of failure. -tk On Sat, Feb 23, 2019 at 7:36 AM Mark Jenks wrote: > I've been running this for a few

Re: [weewx-user] Muliple bindings woes

2019-02-22 Thread Thomas Keffer
On Fri, Feb 22, 2019 at 6:35 PM Dave Webb KB1PVH wrote: > Tom, > > I don't know what the password is when it asks for it and I was never > asked to choose one when installing mysql on the Pi running mysql either. > > Dave-KB1PVH > > > Sent from my Galaxy S9 >

Re: [weewx-user] Muliple bindings woes

2019-02-22 Thread Thomas Keffer
As I said, this is a lot easier to debug using the client app 'mysql', than using WeeWX. -tk On Fri, Feb 22, 2019 at 5:51 PM Dave Webb KB1PVH wrote: > So I just did a stop + start of mysql and now have this error. Looks like > I have the wrong password but can't figure out where it's coming fro

Re: [weewx-user] Muliple bindings woes

2019-02-22 Thread Thomas Keffer
Just to be clear: you are one computer, trying to access a MySQL database located on another computer. Things to try: 1. Check that the MySQL host is allowing remote connections. By default, MySQL allows only local ('localhost') connections. Find the option bind-address among the myriad of MySQL

Re: [weewx-user] I need help viewing the archive of Davis vantage vue + RPi3 + weewx user

2019-02-22 Thread Thomas Keffer
1. You have two instances of WeeWX running. Kill one of them. 2. Your Vantage is set up for a 30 minute archive interval. You're not going to see anything unless you wait at least that long. 3. If you want a shorter archive interval, use the wee_device --set-interval=5 command. Yes, it will erase t

Re: [weewx-user] Error changing raspberry

2019-02-22 Thread Thomas Keffer
The bad data point has probably been there all along --- it's just that WeeWX is a little more strict about it. Try this on your database. *Boldface* is things you type. # Change directory to where you database is located. Adjust as necessary *cd /var/lib/weewx* # Make a backup copy of your datab

Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Thomas Keffer
I guess so. Are you worried about the log size? I just want to make sure we capture any data gaps. -tk On Thu, Feb 21, 2019 at 9:28 AM Steve2Q wrote: > Tom..is 30 minutes enough time with debug and debug_serial both set to 1 ? > > -- > You received this message because you are subscribed to th

Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Thomas Keffer
Be sure to run with debug=1 and debug_serial=1 as per my earlier email . On Thu, Feb 21, 2019 at 9:18 AM Ralph Underwood wrote: > I have v0.22 running now and it appears to work - no buffer errors. > > Ralph > > -- > You receiv

Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Thomas Keffer
OK, thanks, Ralph. Let's try this version of the driver, v0.22. This one is a little more sophisticated. It reads in buffer fulls (and, thus, is more efficient), but parcels them out byte-by-byte. It has the ability to throw away anything leading up to the buffer header (b'!!'). This is v0.22. I

Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Thomas Keffer
Oops. The set of valid buffer lengths was wrong. Try this one. On Thu, Feb 21, 2019 at 5:49 AM Thomas Keffer wrote: > Possibly, but I don't think so. The way I read the documents, a given > instrument has a given buffer length. Yours seems to be 52 bytes, which is > what

Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Thomas Keffer
Possibly, but I don't think so. The way I read the documents, a given instrument has a given buffer length. Yours seems to be 52 bytes, which is what the driver is expecting. The trouble is there is a communications glitch. Then the number of bytes may be unknown. It would help if you could incl

Re: [weewx-user] I need help viewing the archive of Davis vantage vue + RPi3 + weewx user

2019-02-19 Thread Thomas Keffer
Have you been able to get the built in reports to work for you? If so, do they display what you need? Any particular reason why you think you need to go directly to the database instead of just modifying the reports? If not, you'll have to give us more information about what you are doing. See th

Re: [weewx-user] https://danwild.github.io/leaflet-velocity/

2019-02-19 Thread Thomas Keffer
Oh, I get it. I was thinking the request was to embed it in weewx.com. Sorry. Do as Matthew suggests: just embed the map in a template, framing as you wish using CSS. On Tue, Feb 19, 2019 at 4:41 AM mwall wrote: > On Tuesday, February 19, 2019 at 7:21:29 AM UTC-5, Thomas Keffer wr

Re: [weewx-user] https://danwild.github.io/leaflet-velocity/

2019-02-19 Thread Thomas Keffer
Nice image, but I don't see the connection with WeeWX. On Tue, Feb 19, 2019 at 1:31 AM Micael Fredriksson wrote: > Hi! > > Is it possible to have this map on a weewx homepage? Or would there some > issues with it because it's not an still image? > > /Micael > > -- > You received this message bec

Re: [weewx-user] Re: WeeWX 3.9.1 bilingual system

2019-02-18 Thread Thomas Keffer
You do have two options. You can add settings to weewx.conf. Yes, this does make a bulky file. On the other hand, if/when you want to do an upgrade of your skin, you won't have to touch the skin.conf files. Or, you can delete *all* the options under [StdReport], in which case the skin.conf settin

Re: [weewx-user] Problem with graphs

2019-02-16 Thread Thomas Keffer
Hello, Micael >From the log, it looks like one of your reports is using a blank string for the value of "image_background_color". Look through all the skin.conf files, looking for the image_background_color option, and make sure it has a valid value. Incidentally, screen shots are not the best w

Re: [weewx-user] Weewx custom output text file

2019-02-16 Thread Thomas Keffer
the same way > as the Weather Display one? In other words, make it match what the parser > expect. > > Jardi. > > On Sat, Feb 16, 2019, 8:46 AM Federico wrote: > >> The second one, we need to create a txt file every archive record. >> >> >> Il giorno sab

Re: [weewx-user] Weewx custom output text file

2019-02-16 Thread Thomas Keffer
one, we need to create a txt file every archive record. > > > Il giorno sabato 16 febbraio 2019 17:38:56 UTC+1, Thomas Keffer ha scritto: >> >> Depends on whether you want to create the text file with every LOOP >> packet, or every archive record. See this >> <http:/

Re: [weewx-user] Weewx custom output text file

2019-02-16 Thread Thomas Keffer
at (and the output data) without code changes. > > Thank you > > > Il giorno sabato 16 febbraio 2019 17:11:11 UTC+1, Thomas Keffer ha scritto: >> >> All of the extensions that I am aware of are listed on the Wiki >> <https://github.com/weewx/weewx/wiki>. >&

Re: [weewx-user] Weewx custom output text file

2019-02-16 Thread Thomas Keffer
All of the extensions that I am aware of are listed on the Wiki . It's not hard to customize them. What cannot be changed on crt and csv? -tk On Sat, Feb 16, 2019 at 7:42 AM Federico wrote: > Hi everyone, > > Thank you for your great effort in the developme

Re: [weewx-user] wiring rpi to davis instruments Vantage Vue Console

2019-02-16 Thread Thomas Keffer
The "Annoying Design" paper shows how to get around that problem. On Sat, Feb 16, 2019 at 6:16 AM Dave Webb KB1PVH wrote: > Depending on the firmware version in the Vue console. I believe it is > firmware v3 (green dot) around 2013 and newer that they blocked that > capability, unfortunately. >

Re: [weewx-user] No data update

2019-02-16 Thread Thomas Keffer
)) -tk On Fri, Feb 15, 2019 at 8:05 PM Teva MERVIN wrote: > It's an Oregon WMR 200. > > tk > > Le samedi 16 février 2019 12:08:59 UTC+11, Thomas Keffer a écrit : >> >> What kind of weather station? >> >> -tk >> >> On Fri, Feb 15, 2019 at 4:52 PM

Re: [weewx-user] wiring rpi to davis instruments Vantage Vue Console

2019-02-16 Thread Thomas Keffer
Hello, Dave No idea. Here are a couple of resources I've collected through the years that might be of help: On getting around the Davis serial line lockdown: http://wx.annoyingdesigns.com/DavisSPI.pdf BelfryBoy's logger clone: http://belfryboyweatherb

Re: [weewx-user] No data update

2019-02-15 Thread Thomas Keffer
What kind of weather station? -tk On Fri, Feb 15, 2019 at 4:52 PM Teva MERVIN wrote: > Hello, I have problems with weewx. > Can you help me ? > > Feb 16 10:15:41 Nas weewx[22639]: Non-positive value for record > field 'interval': 0 > Feb 16 10:15:41 Nas weewx[22639]: Traceba

Re: [weewx-user] Davis Vantage Pro vs Pro2 and weeWX

2019-02-15 Thread Thomas Keffer
Frankly, I'm not sure if it will work on a simple VantagePro. As I understand it, there are almost no differences. However, the API manual is unclear about how commands are terminated: > The Vantage Pro2 serial support is almost the same as the Vantage Pro, but > there are some important differen

Re: [weewx-user] Weewx crashes after upgrade to 3.9.1

2019-02-15 Thread Thomas Keffer
Hello, Freerk This is a known issue with cmon. Eventually, it will get fixed, but this email will tell you how to fix your copy: https://groups.google.com/d/msg/weewx-user/p8xhPGK38s4/GIvSH-VOAQAJ -tk On Fri, Feb 15, 2019 at 5:29 AM Freerk Bosscha wrote: > Since my upgrade to weewx the weewx d

Re: [weewx-user] Is There A Preferred WeeWX Server for RPi 3B+

2019-02-14 Thread Thomas Keffer
WeeWX certainly doesn't care. It just puts the files in the right place, then lets the webserver do its thing. FWIW, weewx.com and my own personal site, threefools.org, both use nginx. I've been very satisfied with it. Very reliable and resource efficient. -tk On Thu, Feb 14, 2019 at 10:56 AM V.

Re: [weewx-user] Re: Second crash after 11 days

2019-02-14 Thread Thomas Keffer
Matthew, do you recall why the time-related functions were disabled? -tk On Thu, Feb 14, 2019 at 7:55 AM mwall wrote: > > > On Thursday, February 14, 2019 at 10:12:37 AM UTC-5, Steve2Q wrote: >> >> The only difference now is the console clock is no longer being corrected >> as it was with versi

Re: [weewx-user] Cydia pomonella

2019-02-14 Thread Thomas Keffer
Thanks, Charles, for writing that! I learned a ton. Gawd, I love this place. On Wed, Feb 13, 2019 at 8:02 PM Charles Rhode wrote: > Spring has arrived. Please see my greatly expanded and much improved > tribute to the codling moth: > > o *http://lacusveris.com/cydia/index.shtml >

Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Thomas Keffer
The one thing that gives me pause with my version is that it reads the lines in fixed length chunks: 52 bytes. Unfortunately, not all Ultimeters support the full buffer. Some emit 48 bytes, other 44. The amount is changeable via a [Ultimeter] setting, but earlier versions could handle all 3 buffer

Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Thomas Keffer
It is slightly less resource intensive (it reads in 52 byte chunks instead of 1 byte chunks) and, yes, it has been ported to Python 3. -tk On Wed, Feb 13, 2019 at 9:15 AM Steve2Q wrote: > Tom. I am going to let Weewx run for another 12 hours before making the > change. That way I can be sure m

Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Thomas Keffer
I think we're getting closer. The biggest difference I see is that the current version uses the function serial.readline(), which reads to a newline, while the old version uses repeated calls to serial.read(), requesting a single byte each time, until it gets a full line. It's entirely possible th

Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Thomas Keffer
Steve: could you send me the exact copy of ultimeter.py that you are using, so I can diff it? I can't find a version 11rc3 in git. Only version 11, and it is about 4 years old. On Wed, Feb 13, 2019 at 6:38 AM Steve2Q wrote: > Possible success??!! > > Yesterday I changed only one item, the drive

Re: [weewx-user] 3.9.1 reports

2019-02-12 Thread Thomas Keffer
Hello, Joe The user does not have the necessary permissions to write into the subdirectory /var/www/html/weewx. Either run as superuser, or change the permissions of the directory. For example, *sudo wee_reports* -tk On Tue, Feb 12, 2019 at 5:29 AM Joe Spears wrote: > I am getting the follow

Re: [weewx-user] Re: Second crash after 11 days

2019-02-11 Thread Thomas Keffer
Steve, how is it going with this? On Wed, Feb 6, 2019 at 9:16 AM Steve2Q wrote: > Tom: I upgraded pyserial and have rebooted. I will run just the regular > instance of weewx without the simulator, and will see how that goes. Weewxd > started at 3.4% mem usage. > > -- > You received this message

Re: [weewx-user] 3.9.1 PIL & Pillow

2019-02-11 Thread Thomas Keffer
ary 12, 2019 at 11:42:56 AM UTC+11, Darryn Capes-Davis > wrote: >> >> Good suggestion. Will do. >> >> >> >> *From:* weewx-user@googlegroups.com *On >> Behalf Of *Thomas Keffer >> *Sent:* Tuesday, 12 February 2019 11:41 AM >> *To:* weewx-user

Re: [weewx-user] Modify the elements on the website - newbie questions

2019-02-11 Thread Thomas Keffer
Trying to turn him into a beta tester, eh? 😀 On Mon, Feb 11, 2019 at 4:24 PM mwall wrote: > > > On Monday, February 11, 2019 at 6:34:46 PM UTC-5, Wiggytoo wrote: >> >> Many thanks, I've tracked down the templates and will take another look. >> >> Would the changes be easier if I were using one

Re: [weewx-user] 3.9.1 PIL & Pillow

2019-02-11 Thread Thomas Keffer
Thanks, Darryn, Perhaps you could add your thoughts to our *Troubleshooting Pillow * wiki page? On Mon, Feb 11, 2019 at 4:38 PM Darryn Capes-Davis wrote: > All, > > Just upgraded to 3.9.1. On suggestion from Gary I took the graphing st

Re: [weewx-user] Problems converting to MySQL database

2019-02-11 Thread Thomas Keffer
Hello, Jeremy, You're not giving us much information. Did you follow the instructions in the wiki guide *Transfer from sqlite to MySQL * ? Don't know what you mean by "no graphing." Your website showed some graphs that loo

Re: [weewx-user] Modify the elements on the website - newbie questions

2019-02-11 Thread Thomas Keffer
You'd have to ask the newwx author for a definitive opinion, but odds are you need to modify a template in its skin subdirectory, which is probably either /etc/weewx/skins/neowx if you did a Debian install, or /home/weewx/skins/neowx if you did a setup.py install. I may have the exact name off. In

Re: [weewx-user] Re: V3.9.1

2019-02-09 Thread Thomas Keffer
ar/www/html/weewx > in [[SmartphoneReport]] > > On Saturday, February 9, 2019 at 8:35:01 AM UTC-6, Thomas Keffer wrote: >> >> It looks like the default HTML_ROOT for SmartphoneReport is not the >> smartest choice. We have >> >> [[SmartphoneReport]] >>

Re: [weewx-user] Re: V3.9.1

2019-02-09 Thread Thomas Keffer
? That should probably be pre-set in the dist so > people can just change enable to true. > > On Wednesday, February 6, 2019 at 7:40:34 AM UTC-6, Thomas Keffer wrote: >> >> Well, that was a record short release. We found a serious bug in v3.9.0 >> that could break skins tha

Re: [weewx-user] Battery Alarm warnings

2019-02-09 Thread Thomas Keffer
Hello, Pete Could you please try running weewxd directly from the command line ? Watch what gets printed on your screen and see what the values for txBatteryStatus are. -tk On Sat, Feb 9, 2019 at 4:36 AM Pete Geenhuizen wrote: > At 06:2

Re: [weewx-user] Re: I have looked for days trying to change the output of W/m² to lux.

2019-02-08 Thread Thomas Keffer
Very nice write up, Greg. May I cut and paste it into a Wiki article? This is not the first time this has come up. -tk On Fri, Feb 8, 2019 at 7:04 AM Greg Troxel wrote: > Colin Larsen writes: > > > I believe it's a pretty complicated beast to do properly but a factor of > > Lux * 0.0079 gets

Re: [weewx-user] Re: V3.9.1

2019-02-08 Thread Thomas Keffer
e metrics units where set - but the new weewx.conf seems > to be the 'master' and overwrite it!? > Or do I have to set my untits done in the skin.conf now in the weewx.conf > [[Defaults]] section too? > > Regards, > > Christian > > > Am Mittwoch, 6. Februar 20

Re: [weewx-user] Re: Android weather app for weeWx users

2019-02-07 Thread Thomas Keffer
See the Upgrading Guide section *Do you need to change anything? * -tk On Thu, Feb 7, 2019 at 12:03 AM weerman wrote: > Hi, just noticed since upgrading weewx to version 3.9.1 my weather data > and statistics are shown in imperial numbers, ev

Re: [weewx-user] Re: Second crash after 11 days

2019-02-06 Thread Thomas Keffer
That's the version that's included in the debian package python-serial. Looking through the pyserial change log , I don't see any obvious patches for memory leaks between v3.2.1 and v3.4. The only major difference (besides API details)

Re: [weewx-user] Re: Second crash after 11 days

2019-02-06 Thread Thomas Keffer
Well, that's pretty definitive: the problem is in the driver, or its underlying libraries. Can you check what version of pyserial you are using: *python -c "import serial; print serial.VERSION"* I get "3.4" -tk On Wed, Feb 6, 2019 at 6:56 AM Steve2Q wrote: > Here is this mornings results. No

[weewx-user] V3.9.1

2019-02-06 Thread Thomas Keffer
Well, that was a record short release. We found a serious bug in v3.9.0 that could break skins that do not have fonts defined, such as cmon. So, we are releasing v3.9.1, found in the usual place . -tk -- You received this message because you are subscribed to the Go

Re: [weewx-user] Re: Beta testers for v3.9.0 needed

2019-02-05 Thread Thomas Keffer
So, why did cmon work before? On Tue, Feb 5, 2019 at 5:02 PM mwall wrote: > tom, > > i think we missed this case. the function > weeplot.utilities.get_font_handle deals with no font specified, but the > path normalization in genplot.py does not do the right thing. it tries to > normalize even

Re: [weewx-user] Vantage through serial to Ethernet device and lost connections

2019-02-05 Thread Thomas Keffer
Not completely following the scenario. If the vantage driver loses communication with the station, it will try up to max_retries time, then the program *starts over* from the top. It does not exit, so it is never in an "exiting state." It should keep trying forever. As always, it is helpful to ha

Re: [weewx-user] Re: Beta testers for v3.9.0 needed

2019-02-05 Thread Thomas Keffer
Hello, Sef Take a look under [ImageGenerator] in the skin.conf configuration file for your 'BigReport', and make sure there are entries for top_label_font_path bottom_label_font_path unit_label_font_path axis_label_font_path rose_label_font_path -tk On Tue, Feb 5, 2019 at 4:04 PM Sef Konings

Re: [weewx-user] Re: At last! Version 3.9.0 released

2019-02-05 Thread Thomas Keffer
On Tue, Feb 5, 2019 at 12:08 PM Ruben Navarro Huedo wrote: > Updated here. > Not using Standard Skin. > > All fine except: It is not using correctly time format. > %H:%M is what i want to use and it is creating %H:%M:%S > > Were you able to fix this? This was probably changed because of the chang

Re: [weewx-user] Re: At last! Version 3.9.0 released

2019-02-05 Thread Thomas Keffer
On Tue, Feb 5, 2019 at 12:47 PM Scott Grayban wrote: > Are there any changes to the conf from the beta ? > No, there shouldn't be. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it,

[weewx-user] At last! Version 3.9.0 released

2019-02-05 Thread Thomas Keffer
Find it in the usual place . Be sure to read the Upgrading Guide . If you chose the unit system your reports will be in by selecting US or METRIC during installation of your old skin, you will have no problems. This includes most us

Re: [weewx-user] Re: NOAA reports not available

2019-02-05 Thread Thomas Keffer
To get the entries for the dropdown list, the report generator does not scan the NOAA subdirectory. Instead, it watches what goes by in the [[SummaryByMonth]] and [[SummaryByYear]] sections, then saves that result. So, for the dropdown list to populate properly, the [[SummaryByMonth]] and [[Summar

Re: [weewx-user] Re: Second crash after 11 days

2019-02-05 Thread Thomas Keffer
I really only need the 'top' results for the instance running the simulator: is it growing in its memory use? On Tue, Feb 5, 2019 at 7:11 AM Steve2Q wrote: > Tom: After I run my system for a few more days, let me know which file(s) > you would like to see. > > -- > You received this message beca

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

2019-02-05 Thread Thomas Keffer
On Tue, Feb 5, 2019 at 6:22 AM mwall wrote: > the OutOfSpan failure killed the report thread, and that brought down > weewx. imho this is a bug - weewx should continue to collect data, even if > the report thread cannot do its job. > I'm not seeing that. When the engine shuts down, it calls the

Re: [weewx-user] Re: Second crash after 11 days

2019-02-05 Thread Thomas Keffer
Another data point: I installed the stretch 4.14.94 kernel that Steve is using, then ran weewxd using my VPro2. No memory growth. I'll be interested to see the results of running the simulator. -tk On Mon, Feb 4, 2019 at 12:12 PM Thomas Keffer wrote: > It is helpful for figuring o

Re: [weewx-user] Re: Second crash after 11 days

2019-02-04 Thread Thomas Keffer
It is helpful for figuring out which services WeeWX is loading. Not essential, but useful for when you post a log. -tk On Mon, Feb 4, 2019 at 11:04 AM Steve2Q wrote: > Tom..now that I have a better understanding of the process, I will > implement the change. Before I do that, I note that you ha

Re: [weewx-user] Re: Second crash after 11 days

2019-02-04 Thread Thomas Keffer
Yes, the memory would increase for the WeeWX instance running the Ultimeter. Nothing changes there. What we are trying to see is if the same thing happens with the simulator. That would point to whether or not it has anything to do with the hardware, driver, and serial interface. You can, of cour

Re: [weewx-user] Is more than one station_type possible in a single instance of WeeWX?

2019-02-04 Thread Thomas Keffer
You cannot have two drivers, but you can add a service that adds data from the second data source. One approach is to create a service that runs a second thread , which communicates with the second source. Another approach is to emit dat

Re: [weewx-user] Re: Second crash after 11 days

2019-02-04 Thread Thomas Keffer
then run with cd /home/weewx ./bin/weewxd weewx_mem.conf -tk On Mon, Feb 4, 2019 at 7:09 AM vince wrote: > On Monday, February 4, 2019 at 6:37:14 AM UTC-8, Thomas Keffer wrote: > >> Steve, I'm at a loss. You are running a simple system, on a well-known >> platform, ye

Re: [weewx-user] Re: Temperature Value for this time yesterday

2019-02-04 Thread Thomas Keffer
We will make sure the capability does not go away, although I can't promise the syntax won't change. My biggest area of concern is actually around specifying the database. Right now, you do something like $current(data_binding='mybinding').outTemp I've never liked how this mixes database binding

Re: [weewx-user] Re: Second crash after 11 days

2019-02-04 Thread Thomas Keffer
slightly older version than your Linux-4.14.94-v7+-armv7l-with-debian-9.6. I doubt that would make a difference, but who knows? Steve, I'm at a loss. You are running a simple system, on a well-known platform, yet experiencing memory growth. -tk On Sat, Feb 2, 2019 at 5:28 PM Thomas Ke

Re: [weewx-user] Temperature Value for this time yesterday

2019-02-04 Thread Thomas Keffer
t; one place! > > > > On Monday, 4 February 2019 15:37:50 UTC+2, Thomas Keffer wrote: >> >> The $current object has an undocumented feature that allows a timestamp >> to be specified. It looks something like this (NOT TESTED): >> >> #set $yesterday=$current.da

Re: [weewx-user] Temperature Value for this time yesterday

2019-02-04 Thread Thomas Keffer
The $current object has an undocumented feature that allows a timestamp to be specified. It looks something like this (NOT TESTED): #set $yesterday=$current.dateTime.raw - 86400 The temperature 24 hours ago was $current(timestamp=$yesterday).outTemp Because a timestamp 24 hours ago may not fall

Re: [weewx-user] Re: Beta testers for v3.9.0 needed

2019-02-03 Thread Thomas Keffer
It's probably best to delete those records. In any case, starting with commit e4288b1 there is a check for negative intervals. To appear in v3.9.0. -tk On Sun, Feb 3, 2019 at 8:37 AM Ξ wrote: > Andy, > > --backfil

Re: [weewx-user] Re: Beta testers for v3.9.0 needed

2019-02-03 Thread Thomas Keffer
On the ws28xx series, interval is calculated as the time difference between records. Perhaps your records were being emitted out of order from the console? In any case, the exception happened for a very old record (2015-04-28 06:15:00 EEST (1430190900)) Could you do your query again, except this

Re: [weewx-user] Re: Second crash after 11 days

2019-02-02 Thread Thomas Keffer
Well, that's no good. I've been doing some of my own tests here, and think that the weakrefs are an artifact of using pympler. I am running some experiments on my end with stretch. Unfortunately, I don't have a lot of time at the moment, so it may take a while. -tk On Sat, Feb 2, 2019 at 1:18 P

Re: [weewx-user] Re: ExtraTemp1

2019-02-02 Thread Thomas Keffer
I have created an extension, FilePile , that automates a lot of this. You specify what unit system your incoming data is in, and it will automatically convert it to the unit system used by the incoming record. Take a look at the README and see if everything is

Re: [weewx-user] Re: ExtraTemp1

2019-02-01 Thread Thomas Keffer
Seems like a reasonable theory. But, it still comes down to the same conclusion: you must make sure the unit system of the thing you're adding matches the unit system of the thing you're adding it to. The pond example should be modified so that its configuration stanza specifies what unit system

Re: [weewx-user] Re: Second crash after 11 days

2019-02-01 Thread Thomas Keffer
Rats. It should have leveled off by now. On Fri, Feb 1, 2019 at 1:13 PM Steve2Q wrote: > Tom, so far it is climbing. Started at 3.4, this AM it was 7.7, and now 9.1 > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this

Re: [weewx-user] Re: ExtraTemp1

2019-02-01 Thread Thomas Keffer
Well, it's possible that the unit system used by the records changes record to record. Some weather stations do that. You'll have to check and correct as necessary. -tk On Fri, Feb 1, 2019 at 1:11 PM John Masters wrote: > Ok tk, i will try again tomorrow - maybe sleep will help! Sorry for bei

Re: [weewx-user] Re: Second crash after 11 days

2019-02-01 Thread Thomas Keffer
... and climbing? Or, has it been stable? On Fri, Feb 1, 2019 at 1:01 PM Steve2Q wrote: > Weewxd using 9.1% of memory as of now. > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails f

<    3   4   5   6   7   8   9   10   11   12   >