[weewx-user] "First Light", working, but with some problems

2023-09-30 Thread Craig Young
After writing a new driver for my station and configuring weewx to support its data stream I was able to run weewx live for a few minutes, then shut it down to check SYSLOG (debug=2). There appears to be two problems (see attached syslog excerpt): a) The database and reports are updating on

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread vince
Yes - thanks Here's my 4GB RAM pi4 speeds writing to SD card... Sep 30 20:35:18 pi4 weewx[29063] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.99 seconds Sep 30 20:35:19 pi4 weewx[29063] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport

Re: [weewx-user] WUnderground test

2023-09-30 Thread vince
The WeatherFlowUDP driver is a nice example of one that listens for broadcast data and does the right thing. You could use that perhaps as a basis for doing your own driver that matches your gear. The WeatherFlowUDP driver is 'very' stable and reliable so it would be a great starting point

[weewx-user] Re: A low level priority question: A question about multi-instances of WeeWx and a more powerful processor on the horizon

2023-09-30 Thread vince
A pi4 can run quite a lot very easily especially if you dockerize your weewx setups. The new v5 as Tom mentioned would make it much simpler as well if you wanted to go that way (one installation of 'code' and different trees for data/skins/config files) although you would need to cook up your

Re: [weewx-user] A low level priority question: A question about multi-instances of WeeWx and a more powerful processor on the horizon

2023-09-30 Thread Tom Keffer
One v5 change that makes it easier to run multiple instances is that all station data has now been cleanly separated from the "code." So you can put skins, configuration files, and even extensions in a separate place for each station. That makes it a lot easier to keep track of what instance is

Re: [weewx-user] A low level priority question: A question about multi-instances of WeeWx and a more powerful processor on the horizon

2023-09-30 Thread p q
I haven't been following the story of having multiple Weewx on a single computer. What's the problem? Performance - then having a faster computer would help? Instances relying on the same resources to do the same thing? Having more compute power won't help that, but it might make it more practical

[weewx-user] A low level priority question: A question about multi-instances of WeeWx and a more powerful processor on the horizon

2023-09-30 Thread DR
I have three different RaspPi units running WeeWx from some of my stations (like most with this hobby, some obsessions like more than one seems somewhat common). I know it has been said that neither WeeWx was designed to do, nor is easy to accomplish, multiple instances running on a single

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
I hope this worked and is useful to you ... On Saturday, September 30, 2023 at 5:52:22 PM UTC-7 kd4e wrote: > Log is running. It says at least for 5 minutes? > > On Saturday, September 30, 2023 at 8:28:41 PM UTC-4 vince wrote: > >> Wow that is a very interesting little pi killer for $35 or so.

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
Log is running. It says at least for 5 minutes? On Saturday, September 30, 2023 at 8:28:41 PM UTC-4 vince wrote: > Wow that is a very interesting little pi killer for $35 or so. > I'd be interested in some data from your syslog re: how long it takes to > generate the html from the skins

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread vince
Wow that is a very interesting little pi killer for $35 or so. I'd be interested in some data from your syslog re: how long it takes to generate the html from the skins templates when it runs them... On Saturday, September 30, 2023 at 5:04:42 PM UTC-7 kd4e wrote: Being able to devote an inovato

Re: [weewx-user] WUnderground test

2023-09-30 Thread Craig Young
The data logger is a broadcast type, meaning it outputs the current data every 60 seconds (ie, it is not polled by the driver). If the weewx driver fails to get one or more of these data then the data base is not accurate and hence any daily totals will be wrong. For me, the most important

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
OK. Clean install with careful model settings, etc. Working 100% Awesomeness! Thanks for this - I've been wanting to use it for years but always some distraction. I've referred many others to WeeWx. Being able to devote an inovato Quadra to the project keeps the setup neater. The HTML page

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
OK, I had already upgraded to v5 - so I just switched to a second inovato Quadra box with a clean install. I'll install V4.10.2, run it, and post a good log. It will take just a few minutes ... On Saturday, September 30, 2023 at 4:02:40 PM UTC-7 Tom Keffer wrote: > Let's stick with V4.10.2. >

Re: [weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread Tom Keffer
Let's stick with V4.10.2. If you're not getting any graphs, the first thing you need to do is show us the log. See the Wiki article *Help! Posting to weewx-user * for how to get a good log. On Sat, Sep 30, 2023 at 3:30 PM kd4e

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread Lorin Tremblay
Well I commented out in skin.conf of the highchart # Highcharts week json data #[[[WeekJSON]]] #template = json/week.json.tmpl # Highcharts year json data #[[[YearJSON]]] #template = json/year.json.tmpl And my weekly now works! Thanks

[weewx-user] Re: Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
How would I force the Beta v5.0 to download and overwrite whatever version I have installed, please? On Saturday, September 30, 2023 at 6:15:53 PM UTC-4 kd4e wrote: > I'm setting up WeeWx on an inovato Quadra with an Acu-Rite weather station > (label says Model 01536 but lsusb says Chaney

[weewx-user] Getting no chart or graph - just the looped data

2023-09-30 Thread kd4e
I'm setting up WeeWx on an inovato Quadra with an Acu-Rite weather station (label says Model 01536 but lsusb says Chaney Instrument Model 01036 weather sensor). I'm getting no chart or graph - just the looped data. @Tom Keefer the current version of WeeWX, v4.10.2, as well as the beta version

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread kd4e
I'm getting no chart or graph - just the looped data - I think I followed a link here from a related thread - then forgot I was elsewhere ... I'll copy this to a new thread. On Saturday, September 30, 2023 at 5:47:03 PM UTC-4 Tom Keffer wrote: > kd4e, I'm not sure why you put your post under

Re: [weewx-user] WUnderground test

2023-09-30 Thread gjr80
Hmm, let me throw a question back at you. Why store dayRain in the database? The restx uploaders will use dayRain if available in the current archive record otherwise they will manually calculate the value (dayRain does not need to be saved to database for it to be available in the current

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread gjr80
On Sunday, 1 October 2023 at 07:03:25 UTC+10 kidn...@gmail.com wrote: Ok thanks for the insight, Highchart is overwriting my week.json, but not my other, day.json, month.json or year.json…. Now the question is why? Simple, the weewx-highcharts extensions produces two json files; week.json and

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread Tom Keffer
kd4e, I'm not sure why you put your post under this thread. Are you getting this error? If so, the current version of WeeWX, v4.10.2, as well as the beta version of v5.0, have the fix. If this is not your problem, you should really start a new thread. I'm not sure why you need genplot.py, but

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread kd4e
OK, after a dumb pill, or two, I renamed the existing genplot.py then got the linked genplot.py and copied it to /usr/share/weewx/weeplot/ then ran "sudo weewxd" No joy - same loop. Do I need to rerun "wee_config --reconfigure" or anything for it to take effect, please? On Saturday, September

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread Kidney
Ok thanks for the insight, Highchart is overwriting my week.json, but not my other, day.json, month.json or year.json…. Now the question is why?On Sep 30, 2023, at 14:45, jterr...@gmail.com wrote:Lorin,According to your "week" configuration, Belchertown should normally create a json file named

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread kd4e
Cool, thanks! Should a file like that have been auto-generated during install or setup? I don't find one. There is a weeplot in /usr/share/weewx On Saturday, September 30, 2023 at 4:25:09 PM UTC-4 vince wrote: > https://raw.githubusercontent.com/weewx/weewx/V5/bin/weeplot/genplot.py > for the

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread vince
https://raw.githubusercontent.com/weewx/weewx/V5/bin/weeplot/genplot.py for the latest v5 version On Saturday, September 30, 2023 at 1:22:51 PM UTC-7 kd4e wrote: > I'm just setting up WeeWx on an inovato Quadra with an Acu-Rite weather > station (label says Model 01536 > but lsusb says Chaney

Re: [weewx-user] re: "AttributeError: tuype object 'ImageDraw' has no attribute 'textsize'"

2023-09-30 Thread kd4e
I'm just setting up WeeWx on an inovato Quadra with an Acu-Rite weather station (label says Model 01536 but lsusb says Chaney Instrument Model 01036 weather sensor). Anyhow, I'm getting looped data and no chart or graph. Where would I find the development version of genplot.py - I don't seem

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread jterr...@gmail.com
Lorin, According to your "week" configuration, Belchertown should normally create a json file named week.json. (http://www.gestionlgt.com/Chalet/json/week.json). Your problem seems to be due to the fact that another template is overwriting the week.json file, and that the format of this json

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread Lorin Tremblay
Found out that I was creating the issue by running it myself, but the weewx run as root so that problem doesn't occurs when it runs by itself So the problem is really specific to only the week graph, every other thing work flawlessly other than the week repport.

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread vince
The log file pretty clearly says which file it can't write to. So you need to fix the permissions on that file. Pretty simple. Without any details on your setup it's hard to say more than that, other than if you're doing unusual things like writing across the network to a filesystem mounted

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-09-30 Thread Mks Mk
Below is NOAA file code ,how can we insert *$daylight* in it? #errorCatcher Echo #set $YM="%Y %m" #set $D=" %d" #set $M=" %b" #set $Time=" %H:%M" #set $NODAY=" N/A" #set $Temp="%6.1f" #set $Wind="%6.1f" #set $Dir="%6.0f" #set $Count="%6d" #set $NONE=" N/A" #if $unit.unit_type_dict.group_rain ==

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-09-30 Thread Karen K
Yes. Mks Mk schrieb am Samstag, 30. September 2023 um 03:08:55 UTC+2: > when it comes to coding the best we can do is copy and paste, all we > wanna know is if this tag (*$daylight*) actually does work within NOAA > template file. > thank you for your help > > On Friday, September 29, 2023 at