Re: [weewx-user] Update interval less than 300 seconds?

2020-07-04 Thread gjr80
I think the error trace says it all: configobj.ConfigObjError: Parsing failed with several errors. First error at line 532. Someone or something has introduced an error in your weewx.conf, line 532 would be a good place to look. The error trace says there are multiple errors, so expect to find

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-04 Thread John Kline
I don’t know what issue you are having. It doesn’t seem like to could be caused by this extension, but it is best to eliminate that possibility right away. Let’s manually remove loopdata and weatherboard. Substitute weewx’s home directory for In these instructions. 1. sudo rm /bin/user/loop

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-04 Thread Geni 0815
even a simple wee_extension --list has not worked since loopdata 1.3.5 was installed pi@Wetter-Raspi:~ $ wee_extension --list > Traceback (most recent call last): > File "/usr/share/weewx/wee_extension", line 88, in > main() > File "/usr/share/weewx/wee_extension", line 67, in main >

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-04 Thread Geni 0815
doesn’t work either, I don’t want to run weewx anymore! pi@Wetter-Raspi:~ $ wee_extension --uninstall loopdata > Traceback (most recent call last): > File "/usr/share/weewx/wee_extension", line 88, in > main() > File "/usr/share/weewx/wee_extension", line 67, in main > config_path, co

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-04 Thread John Kline
wee_extension --uninstall loopdata will remove loopdata. You’ll need to restart weewx > On Jul 3, 2020, at 10:41 PM, Geni 0815 wrote: > >  > How can I stop loop data? > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
How can I stop loop data? -- 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, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
weewx debug = 1 does not issue errors Am Freitag, 3. Juli 2020 23:17:17 UTC+2 schrieb John Kline: > > OK, ignore my last email. The accumulators were correct and conversions > of observations were being done correctly. But not highs, lows, sums, ... > > This is fixed in loopdata 1.3.5. Please

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
After installing 1.3.5, sudo extension --list reports errors and weewx no longer works pi@Wetter-Raspi:~/NAS/weewx-loopdata $ sudo wee_extension --list > Extension NameVersion Description > weatherboard 1.1 WeatherBoard skin. > Belchertown 1.2b6 A clean modern skin with

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
Actually, you need a space before the km/h. So add: Labels km_per_hour = " km/h" This will result in: 3.5 / 7.7 km/h You can ignore the change to index.html line 83. > On Jul 3, 2020, at 3:49 PM, John Kline wrote: > >  > OK, as far as changing to km/h.

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
OK, as far as changing to km/h. It’s done the same way you would change a label for any report in WeeWX. In this case, just add the last two lines below to WeatherBoardReport in weewx.conf. This is assuming the target_report LoopData section is WeatherBoardReport (which it should be). [[We

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
OK, ignore my last email. The accumulators were correct and conversions of observations were being done correctly. But not highs, lows, sums, ... This is fixed in loopdata 1.3.5. Please pull it, install it and restart weewx. It should all work with this change. It’s fortunate (for me) that

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
I found the problem. The database is storing rain as cm and, as you might expect, the day accumulators were correct. I however, when I copied the accumulators at startup, was treating them as if they were in the report target units (in this case mm). I’ll push a fix today. > On Jul 3, 2020,

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
I’ve duplicated the daily rainfall discrepancy. I am asking WeeWX for the day summary and initializing my day accumulators with the day summary. day_summary = dbm._get_day_summary(time.time()) But the day summary accumulator for rain is reporting 1/10 of the actual rain. Before I can fix t

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
I'm using the latest driver wget -P / var / tmp https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/vantage.py Am Freitag, 3. Juli 2020 18:47:16 UTC+2 schrieb John Kline: > > > > On Jul 3, 2020, at 9:27 AM, Geni 0815 > > wrote: > >  > All fields are displayed again, we have a

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
Except in LoopDate, windspeed is displayed correctly at "km / h" everywhere. In all graphics and reports. Am Freitag, 3. Juli 2020 18:47:16 UTC+2 schrieb John Kline: > > > > On Jul 3, 2020, at 9:27 AM, Geni 0815 > > wrote: > >  > All fields are displayed again, we have absolute calm at the mom

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
> On Jul 3, 2020, at 9:27 AM, Geni 0815 wrote: > >  > All fields are displayed again, we have absolute calm at the moment so I can > not see how it works. > The error kph is desired km / h You can ask others how to change a label on a report. Once you do that, LoopData will use it. > Rain d

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
All fields are displayed again, we have absolute calm at the moment so I can not see how it works. The error kph is desired km / h Rain display is wrong where the 0.1mm would come from correctly 0.6mm Am Freitag, 3. Juli 2020 15:44:29 UTC+2 schrieb John Kline: > > You didn’t quite get the change

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
You didn’t quite get the change to appTemp correct. The JavaScript was trying to get a document element by the name of FMT_dewpoint, but that element no longer exists in index.html. Make the following changes and let me know how it goes. In index.html.tmpl: Change: $current.outTemp $current.a

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
Am Freitag, 3. Juli 2020 13:31:49 UTC+2 schrieb Geni 0815: > > > > Am Freitag, 3. Juli 2020 13:29:40 UTC+2 schrieb Geni 0815: >> >> The values "FMT_windSpeed": "0.0 kph", "FMT_HI_windGust": "14.5 kph", >> "FMT_10mMaxGust": "4.8 kph", have the label kph directly with them, this >> could be the p

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
Am Freitag, 3. Juli 2020 13:29:40 UTC+2 schrieb Geni 0815: > > The values "FMT_windSpeed": "0.0 kph", "FMT_HI_windGust": "14.5 kph", > "FMT_10mMaxGust": "4.8 kph", have the label kph directly with them, this > could be the problem > > # Options for extension 'loopdata' >> [LoopData] >> [[Fi

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
The values "FMT_windSpeed": "0.0 kph", "FMT_HI_windGust": "14.5 kph", "FMT_10mMaxGust": "4.8 kph", have the label kph directly with them, this could be the problem # Options for extension 'loopdata' > [LoopData] > [[FileSpec]] > loop_data_dir = /home/pi/wetter/loop-data > fil

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread John Kline
Your JavaScript has an error. Nothing is updated after it hits that error. Since the 10m and day high wind is only updated in the JavaScript, they are blank. Please send the LoopData section of WeeWX.conf and the index.html.tmpl and realtime_updater.inc files. > On Jul 3, 2020, at 3:56 AM,

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
Extension NameVersion Description weatherboard 1.1 WeatherBoard skin. Belchertown 1.2b6 A clean modern skin with real time streaming updates and interactive charts. Modeled after BelchertownWeather.com loopdata 1.3.4 Loop statistics for real time reporting.

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-03 Thread Geni 0815
No errors in the syslog appTemp works in loop-data.txt and in the display of weatherboard all wind displays are not displayed correctly and there is no refresh In the loop-date.txt there is always "FMT_SUM_rain": "0.1 mm", but the display is 0.6mm Am Freitag, 3. Juli 2020 08:32:56 UTC+2 schrieb J

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
OK, I’ve pushed new versions of loopdata and weatherboard to user FMT_SUM_rain rather than FMT_rain_day_total. You asked if appTemp could be displayed. Yes, it can be included in loop-data.txt by adding appTemp (or FMT_appTemp) to the Include section of LoopData in weewx.conf. Perhaps you are

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
One more place to change. Change the LoopData>Include section in weewx.conf. That should include FMT_SUM_rain rather than FMT_day_rain_total. In addition to changing WeatherBoard, I’ll change the doc in LoopData as day_rain_total is likely to be a source of confusion for many. > On Jul 2, 20

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
>> On Jul 2, 2020, at 10:28 PM, Geni 0815 wrote: >  > Errors are no longer logged That’s good. > The translation doesn't work anymore: > [[Rename]] > kph = kmh The README says: Rename : Used to specify which fields to include and which names should be used as keys (i.e., what these fields sho

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread Geni 0815
Errors are no longer logged The translation doesn't work anymore: [[Rename]] kph = kmh Rain amount is not in the loop-data.txt Currently live here: https://affolter.familyds.net/wetter/weatherboard/ Is it possible to get the appTemp displayed? Am Donnerstag, 2. Juli 2020 20:33:09 UTC+2 schrieb J

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
1.3.3 is pushed. I won’t try to format the sums of unix_epoch observation types. Please let me know how this works for you. Cheers, John > On Jul 2, 2020, at 11:22 AM, John Kline wrote: > >  > On second thought, I can think of reasons to have times in the packet. So, I > take back > being

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
On second thought, I can think of reasons to have times in the packet. So, I take back being very interested in the log info from version 1.3.2. I’ll push a 1.3.3 shortly that skips formatting the sum of unix_epoch observations. > On Jul 2, 2020, at 10:44 AM, John Kline wrote: > >  > OK, I

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
OK, I pushed 1.3.2. It will catch and skip the FMT_SUM_ when something goes wrong. It will also log the incident and include the obstype, the unit_type and the unit_group. I am VERY interested in seeing this information. Please send it. Cheers, John > On Jul 2, 2020, at 10:21 AM, John Kline

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread John Kline
It’s formatting a sum for a unix_epoch type. Sum doesn’t make sense for this type; but the observation, which I unfortunately don’t log, seems to have a scalar accumulator. This doesn’t seem right to me. I could skip summing, etc. for this type; but this is strange. I’ll put out an update tod

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-02 Thread Geni 0815
At the moment I have the following errors Since no loop-data.txt is generated, rsync is diabled Jul 2 17:55:23 Wetter-Raspi weewx[947] CRITICAL user.loopdata: > Traceback (most recent call last): > Jul 2 17:55:23 Wetter-Raspi weewx[947] CRITICAL user.loopdata: > File "/us

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-01 Thread John Kline
I added this section to the README: Rsync "errors" in the log: If one is using rsync, especially if the loop interval is short (e.g., 2s), it is expected that there will be log entries for connection timeouts, data timeouts and skipped packets. By default only one second is allowed to connect

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-01 Thread John Kline
It is normal to have some timeouts as the timeout is set to 1s. For example, today so far I’ve had 5 connection timeouts on loop-data. I’ve also had 3 gauge-data timeouts (I contributed the rsync code for rtgd). rsync: gauge-data: connection timeouts 3 rsync: loop-data: connec

Re: [weewx-user] Update interval less than 300 seconds?

2020-07-01 Thread Geni 0815
@John: This is the error message, where do I have to search? reported errors: [sender] io timeout after 1 seconds -- exiting. rsync > error: timeout in data send/receive (code 30) at io.c(204) [sender=3.1.3] > complete line: Jul 1 18:47:12 Wetter-Raspi weewx[22015] ERROR weeutil.rsyncupload:

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-30 Thread John Kline
weeutil.RsyncUpload was expecting a string for port. I was passing it an int. I didn’t catch this as I was not specifying a port. This should now be fixed in 1.3.1. Would you please give it a try? > On Jun 30, 2020, at 1:32 AM, Geni 0815 wrote: > >  >> >> Jun 30 10:27:05 Wetter-Raspi weew

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-30 Thread Geni 0815
> > Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: > Traceback (most recent call last): > Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: > File "/usr/share/weewx/user/loopdata.py", line 521, in process_queue > Jun 30 10:27:05 Wetter-Ras

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-30 Thread Geni 0815
> > Jun 30 09:53:09 Wetter-Raspi weewx[10609] CRITICAL user.loopdata: > Traceback (most recent call last): > Jun 30 09:53:09 Wetter-Raspi weewx[10609] CRITICAL user.loopdata: > File "/usr/share/weewx/user/loopdata.py", line 507, in process_queue > Jun 30 09:53:09 Wetter-Ras

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-30 Thread Geni 0815
@John: I have the following entry in the syslog, what is not suitable? Jun 30 09:24:21 Wetter-Raspi weewx[10361] INFO user.loopdata: > barometer_rate_secs: 10800 > Jun 30 09:24:21 Wetter-Raspi weewx[10361] INFO user.loopdata: > wind_rose_secs : 86400 > Jun 30 09:24:21 Wetter-Raspi weewx[1036

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-28 Thread Michael Meyer
Just installed 1.2.1! Get loop-data.txt! Thx for your help! John Kline schrieb am Sa., 27. Juni 2020, 21:18: > I just now updated this extension to 1.1. I would try it before resorting > to a clean install. > > On Jun 27, 2020, at 12:16 PM, Michael Meyer wrote: > >  > Hello John, I did grep a

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-27 Thread John Kline
I just now updated this extension to 1.1. I would try it before resorting to a clean install. > On Jun 27, 2020, at 12:16 PM, Michael Meyer wrote: > >  > Hello John, I did grep and get some results. Next time I used grep again no > results. I uninstalled weewx because I did the first install

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-27 Thread Michael Meyer
Hello John, I did grep and get some results. Next time I used grep again no results. I uninstalled weewx because I did the first installation with Debian. I did installation weewx with setup py. Again no loop_data.txt created. I will do a fresh Buster light image next. After that I will do also a c

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread John Kline
Well, I see loopdata in the log snippet you just sent. Would you try the grep again? grep loopdata /var/log/syslog And look for the loopdata file again? > On Jun 26, 2020, at 11:48 AM, Michael Meyer wrote: > >  > Yes I stopped, start and restart. > I will try to find out how to send files. >

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread John Kline
Not sure how to post files; but since you are running WeeWX 4 and Python 3. Did you restart WeeWX after you installed loopdata? It’s to imagine why you don’t see any occurrence of loopdata in the log? Do you see other weewx messages in the log? > On Jun 26, 2020, at 10:40 AM, Michael Meyer w

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread Michael Meyer
Weewx 4.1.1 is running I have Python 3.7 on my rpi. Any idea why I can't post the created myfile here? I just can post pictures but no files! I can create an attachment but couldn't send? jo...@johnkline.com schrieb am Freitag, 26. Juni 2020 um 18:19:36 UTC+2: > It appears that loopdata isn’t ru

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread John Kline
It appears that loopdata isn’t running. Let’s start with the obvious. As stated in the README: This extension requires Python 3 and WeeWX 4. Are you running WeeWX 4.x? Are you running Python 3? If are on WeeWX 4.x and Python 3, use the following guide to post the log and I’ll have a look. h

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread John Kline
Hi Michael, Would you send the output of (which assumes WeeWX is writing to /var/log/syslog)? grep loopdata /var/log/syslog Also, please cut and paste the loopdata section of weewx.conf. Lastly, please send a directory listing of /var/www/html/weewx Cheers, John > On Jun 26, 2020, at 3:07 AM,

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-26 Thread Michael Meyer
Hello, I installed your extension but the file loop-data.txt will not create. I changed weewx.conf to loop_data_dir = /var/www/html/weewx. Thx for any help jo...@johnkline.com schrieb am Freitag, 26. Juni 2020 um 02:19:42 UTC+2: > I have an extension you could try: > https://github.com/chaunce

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread rich T
Take a look @ https://github.com/poblabs/weewx-belchertown https://belchertownweather.com/ -- 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, send an email to weewx-user+unsubscr...@

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread John Kline
I should add, the gauges at https://www.paloaltoweather.com/LiveSeasonsGauges do not use my extension. They use Gary Roderick’s: https://github.com/gjr80/weewx-realtime_gauge-data Gary’s extension was the inspiration behind the loopdata extension. loopdata simply lets one pick and choose the o

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread John Kline
BTW, I have the following screen up on two tablets in my house. It’s great for checking how fast the wind is currently blowing or how hard it’s currently raining. https://www.paloaltoweather.com/weatherboard/ > On Jun 25, 2020, at 5:32 PM, Richard Zimmerman wrote: > >  > Thanks John. I see

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread Richard Zimmerman
Thanks John. I see how your web site updates every couple seconds. That's fantastic! I'll dig into the extension -- 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, send an email t

Re: [weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread John Kline
I have an extension you could try: https://github.com/chaunceygardiner/weewx-loopdata I use it to update many pages on my site (https://www.paloaltoweather.com/), including current conditions at. It’s relatively simple to install. You specify the report to target (e.g., SeasonsReport), and it

[weewx-user] Update interval less than 300 seconds?

2020-06-25 Thread Richard Zimmerman
I hate to post this here as it's likely a simple question, but I've been unable to find an answer from searching. I'm brand new to weewx having used wview for over a decade. So I have the generic setup and a Davis Vantage Pro2. My archive interval is 300s. Is there a way to have certain dat