Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Ξ
Tom, It's much appreciated you've spent the time to look into this, if there's nothing wrong with WeeWX - there's nothing wrong with WeeWX :) I'll ask Bob if he can have a gander at this. I have to admit though I find it a bit stranger using metric would be considered an unusual circumstances, i

[weewx-user] v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread Richard Whitcombe
I accidentally updated to v5.0 (Debian apt update) and since then my install has basically been broken and i cant seem to work out why. Running on a RaPi for years with no issue, using Belchertown skin. What im seeing now is the service seems to start fine, but after each 5 min cycle the entire

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread 'michael.k...@gmx.at' via weewx-user
I think from the perspective that - the metric system for storing values in the database is not default - the "normal user" shouldn't get in touch with database values und "normal circumstances" - hence, the vast majority of installations will not use the metric system in the db

[weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Mks Mk
Hi updated weewx using this command sudo apt update. Hardware : raspberry pi 3 b+ OS : Raspberry Pi OS (bullseye) Lite 64-bit weewx: 4.10.2 after the update we got this error: INFO weewx.manager: Added record 2024-01-18 09:45:00 +03 (1705560300) to database 'weewx.sdb' INFO weewx.mana

Re: [weewx-user] Database Error Message

2024-01-18 Thread mh081...@gmail.com
I have the same Problem as i mentioned in a Post from Monday. I currently don't have a Solution. sanphillipo schrieb am Donnerstag, 18. Januar 2024 um 03:48:53 UTC+1: > I changed it yesterday to 300 and it made no difference. > > > > Sent from my Verizon, Samsung Galaxy smartphone > > > ---

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Ξ
OK thanks, but that's been set from the very beginning that is to say when weewx was set up when the db was empty. Personally, I see no reason why I should use anything non-metric, that's just a US thing. On Thursday, January 18, 2024 at 12:14:34 PM UTC+2 michael.k...@gmx.at wrote: > I think f

Re: [weewx-user] ftpupload suddenly stopped working, but....

2024-01-18 Thread Tom Keffer
It would be useful to know what the ISP means by "maintenance." Perhaps they require a secure form of FTP now? If you have already been using FTPS, some server/Python combinations have issues supporting it. See the options secure_data and reuse_ssl in the User's Guide [[FTP]] section

Re: [weewx-user] Integrate rain24 with Packetsloop

2024-01-18 Thread Tom Keffer
Unfortunately (for you), WeeWX mostly uses observation type "rain", the amount of rain that fell since the last loop packet (what you are calling "instantaneous rain"). You should assign the rain since midnight to type "dayRain". Then calculate "rain" as the difference between successive "dayRain

Re: [weewx-user] v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread Tom Keffer
You can revert to V4.10.2 by removing weewx, then reinstalling with the desired version: *sudo apt remove weewx* *sudo apt install weewx=4.10.2-1* But before you do, we have been getting several reports of slow report times using the Belchertown skin, but can't reproduce it. Perhaps you could ans

Re: [weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Tom Keffer
Could you please use the utility "weectl debug " to post your weewx.conf? *weectl debug > /var/tmp/debug.txt* The utility will attempt to obfuscate any passwords, but it's not always 100% accurate. Look over /var/tmp/debug.txt to see if it

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread Karen K
@Tom: May be, you want to have a look into the belchertown.py file. It contains a lot of SQL queries, that do not use the normal way to access the WeeWX database. They are used to get several alltime statistics and other aggregations. Could there be some reason? -- You received this message be

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread Tom Keffer
I don't really want to debug Pat's file. It's huge and, as you say, does things in a very non-standard way. I was hoping someone more familiar with it (Pat?) could take a look. On Thu, Jan 18, 2024 at 5:23 AM Karen K wrote: > @Tom: May be, you want to have a look into the belchertown.py file. It

[weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread 'Cameron D' via weewx-user
There might be two separate issues - I had the slow reports, but not associated with restarting weewx. What happens if you disable the reports ? does weewx runs happily or still restart? On Thursday 18 January 2024 at 8:14:23 pm UTC+10 Richard Whitcombe wrote: > I accidentally updated to v5.0

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Ξ
And thanks again, I've pinged Bob if he can look at it. All the best! On Thursday, January 18, 2024 at 3:16:16 PM UTC+2 Tom Keffer wrote: > Again, I would look to the driver. It is calculating rain from differences > of dayRain, which, I suspect, is prone to unpredictable values after a > powe

Re: [weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Mks Mk
finding in skin.conf file (Seasons) weewx v4.10.2 under [DisplayOptions] sensor_connections = we kept (sensor_connections) blank (sorry, can not remember the reason) and weewx v4.10.2 never complained about it, but weewx v5.0 did not like it! we edited skin.conf file (Seasons): [DisplayOp

[weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread vince
On Thursday, January 18, 2024 at 2:14:23 AM UTC-8 Richard Whitcombe wrote: What im seeing now is the service seems to start fine, but after each 5 min cycle the entire thread seems to kill itself and reload/reinitialise from scratch. INFO weewx.cheetahgenerator: Generated 12 files for report St

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread vince
Tom - can you point us to where 'synthetic types' are documented in layman's terms so we know how to look for them ? The pattern so far seems to be (a) Belchertown and (b) certain drivers that might not have complete measurement sets. I see Acurite and Interceptor in a couple reports if I rem

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread bell...@gmail.com
Vince, Does this help? http://www.weewx.com/docs/5.0/reference/weewx-options/stdwxcalculate/ rich On Thursday 18 January 2024 at 13:37:05 UTC-5 vince wrote: > Tom - can you point us to where 'synthetic types' are documented in > layman's terms so we know how to look for them ? > > The pattern so

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread vince
Dunno. Tom uses the term 'synthetic' but that is not in any docs I can find. I can find it only twice in some tests buried in the git repo. On Thursday, January 18, 2024 at 11:10:02 AM UTC-8 bell...@gmail.com wrote: > Vince, > Does this help? > http://www.weewx.com/docs/5.0/reference/weewx-opt

[weewx-user] Re: I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Blaine
Yes of course, thank you so much! Here is a google drive link for the database file: https://drive.google.com/file/d/1go14o-HMW-Xz-YqS1cD_j992r2Zg_EV7/view?usp=sharing On Wednesday, January 17, 2024 at 11:13:59 AM UTC-8 michael.k...@gmx.at wrote: > Can you share your database? Maybe I can tak

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Blaine
Thank you for the reply! Yes, I have tried this many times. It continues to regenerate them with the missing data. On Wednesday, January 17, 2024 at 6:29:41 PM UTC-8 Tom Keffer wrote: Have you tried completely deleting all NOAA reports and letting weewx regenerate them? On Wed, Jan 17, 2024 at

Re: [weewx-user] ftpupload suddenly stopped working, but....

2024-01-18 Thread Steve2Q
Tom. I finally got a support tech who was able to solve the problem. Apparently Dreamhost has made some OS changes which can cause problems with FTP. I would like to change to SFTP, but I am not sure how to go about it. The options you referred to do not exist in my weewx.conf file, and I rea

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Bob Atchley
Sorry I'm picking this thread up a bit late. Looking at the output of the SQL commands I'm seeing unexpected behaviour (apart from the rain spikes). The Bresser weather station has a buffer that with the 15 minute interval you are using should allow up to 150 days of data to be recovered. But

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread vince
Tom - the NOAA stuff builds from this db ok for me v5 pip on pi3+. The Seasons skin NOAA file for 2024-01 'is' being updated every archive period. The historical files dating back to 2014 generated fine. Unrelated but interesting. - this db shows the Belchertown taking too long issue

Re: [weewx-user] Error after updating weewx to version 5

2024-01-18 Thread Tom Keffer
That makes sense. We've seen this before: https://groups.google.com/g/weewx-development/c/Kjp4pnx3x1M/m/6AUNe0niAAAJ On Thu, Jan 18, 2024 at 8:38 AM Mks Mk wrote: > finding > > in skin.conf file (Seasons) weewx v4.10.2 under > > [DisplayOptions] > sensor_connections = > > we kept (sensor_con

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread Tom Keffer
Sorry. "Synthetic" isn't the best word. What I mean are plots and statistics of derived types, such as ET or, for some hardware, windchill. In previous versions of WeeWX they were not first class citizens. For example, only types that appeared in the database could be plotted. Now if there's an xt

[weewx-user] import data into Weewx 5.0 error

2024-01-18 Thread bhouseski
Hey all, I am trying to get old weatherlink data into my Weewx 5.0 setup. the I run the appropriate command: 'weectl import --import-config=/var/tmp/csv.conf --dry-run' I get the following: 'WeeWX 5.0.0b15 or greater is required, found 5.0.0. Nothing done, exiting.' Not sure what this means

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread vince
Thanks. So how do the victims know where they are inducing that new issue or how they can disable the new behavior if theywere happy in v4? Would a feature flag be possible ? On Thursday, January 18, 2024 at 1:55:51 PM UTC-8 Tom Keffer wrote: > Sorry. "Synthetic" isn't the best word. > > What I

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Tom Keffer
Using Blaine's database, I was able to isolate the performance problems. It's in the template records/index.html.tmpl Specifically, apparent temperature (appTemp). It does not appear in the database, so a simple tag such as $alltime.appTemp.max requires searching the engine database, calculating

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-18 Thread Jim Wilkerson
The logs I attached from my previous post are from a 5.0 installation. My one point is that I sue the openSUSE normal installation update via YaST but the config file is still showing version 4.10.2. ~> weewxd --version 5.0.0 shows the current running version. Also, I see debug enabled: 2024

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-18 Thread matthew wall
On Thursday, January 18, 2024 at 7:16:20 PM UTC-5 wil...@gmail.com wrote: The logs I attached from my previous post are from a 5.0 installation. My one point is that I sue the openSUSE normal installation update via YaST but the config file is still showing version 4.10.2. when you upgrade we

[weewx-user] Re: import data into Weewx 5.0 error

2024-01-18 Thread gjr80
This problem is due to small bug in our version comparison. This will be fixed in the next release. If you wish to use weectl import before the next release you have a couple of options: 1. you can download a file containing the fix for this problem and replace your v5.0.0 version of this file.

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-18 Thread Ξ
Hi Bob, You've already explained to me about the buffer in another thread, but I haven't got around to to empty it or change the setting, I'll go there tomorrow and do just that! Thanks again! When looking at the data for 15-Dec-23 specifically, it does appear that 14 is the sum of all the pre

[weewx-user] Errno13 on 5.0 new installation

2024-01-18 Thread Jacques Desroches
Hi, I've installed weeewx 5.0.0 and in simulator all is running good. But when I switch to my Accurite (0) error appears jan 18 18:55:20 NouveauMeteo weewxd[6870]: INFO weewx.restx: AWEKAS: Posting not enabled. jan 18 18:55:20 NouveauMeteo weewxd[6870]: INFO weewx.engine: 'pyephem' detected, ex

[weewx-user] Re: Errno13 on 5.0 new installation

2024-01-18 Thread matthew wall
On Thursday, January 18, 2024 at 8:14:19 PM UTC-5 mete...@gmail.com wrote: jan 18 18:55:20 NouveauMeteo weewxd[6870]: ERROR weewx.drivers.acurite: release interface failed: [Errno 13] Access denied (insufficient permissions) jan 18 18:55:20 NouveauMeteo weewxd[6870]: CRITICAL weewx.drivers.acur

[weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread Richard Whitcombe
Disabling Belchertown or selecting Standard/Sofaskin and it all appears normal - report generation is 3 seconds or so as it used to be. Re-enabling Belchertown and problem returns - 3+ minutes, pegged out performance, main loop crashing. FWIW whatever causes this is new in 5.0 as its been fine on

Re: [weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread Tom Keffer
Please see this thread for an analysis of the problem and a solution. https://groups.google.com/g/weewx-user/c/yfqGGuFw-L8/m/8Ba9Kd86AAAJ On Thu, Jan 18, 2024 at 6:14 PM Richard Whitcombe wrote: > Disabling Belchertown or selecting Standard/Sofaskin and it all appears > normal - report genera

[weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread Richard Whitcombe
Should add yes, to confirm i see 2 threads of weewxd.py at 100% CPU at this point. On Friday 19 January 2024 at 11:14:09 UTC+9 Richard Whitcombe wrote: > Disabling Belchertown or selecting Standard/Sofaskin and it all appears > normal - report generation is 3 seconds or so as it used to be. > R

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Richard Whitcombe
Can you explain in laymans terms how to do that? Do you mean add a new DB field using SQL or similar and leave it blank or something else? Or outline trouble shooting steps to isolate the cause in simple terms (ie familiar with linux and the basics of weewx but not the core detailed functionali

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-18 Thread vince
Ignore the version in weewx.conf, it's where your .conf file started with (notionally) - the one you see in syslog is the running version. I'd suggest you install rsyslog and copy the util/rsyslog/weewx.conf file into place (and reset rsyslog) and then you'll have traditional syslogging rather

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread vince
Docs are at https://www.weewx.com/docs/5.0/utilities/weectl-database/ but what I did for a pip installation using Blaine's db was: source ~/weewx-venv/bin/activate weectl database add-column appTemp weectl calc-missing (answer y when prompted above) If you have a packaged install of weewx you ca

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread 'michael.k...@gmx.at' via weewx-user
Or, to speed things up, do the "calc-missing" on another machine with a more potent CPU. Back to Blaine's problem: if the NOAA files are generated on other installations with his database, there is obviously another problem with his installation.I don't have an idea what to look for, if deleted

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Graham Eddy
i found putting the db into a RAM disk for the duration helps in these situations (i had to do that for a weewx migration some time ago) ⊣GE⊢ > On 19 Jan 2024, at 3:36 pm, 'michael.k...@gmx.at' via weewx-user > wrote: > > Or, to speed things up, do the "calc-missing" on another machine with a

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread vince
Re: the Belchertown issue many seem to be facing, I notice that Blaine's db uses the original old wview schema, not the newer bigger 'wview_extended' schema that came out a few years ago. I suspect this is the pattern we've missed. Folks who have the old schema do not have any of the elements

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-18 Thread vince
Followup on this one - If the original poster can check to see if their database uses the old original (small) wview schema that would likely help. Easiest way is to look to see how many elements are in the database. One way to see how many elements you have in your db would be: - cp weewx.