Re: [weewx-user] Number of days on which the average Temperature was above a certain value

2020-05-15 Thread Tom Keffer
Rolf, I actually found a way around the limitations. You can do this now with V4.0.0. See the extension weewx-xstats and let me know if you have any questions. -tk On Fri, May 15, 2020 at 1:43 AM Rolf Zanchettin wrote: > > Hi Tom, > > thanks for the

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread nineback
Thanks Tom. I updated the logger.py file and all is well. I also changed the formatter to verbose so I could get date/time stamps. Tom From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: Friday, May 15, 2020 7:09 PM To: weewx-user Subject: Re: [weewx-user] Noisy logging,

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Tom Keffer
Sorry, Tom. This is due to a bug in how weewx configures the logger. The problem is that weewx does not convert strings to int when configuring. It was fixed a couple weeks ago (commit 6348741

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Chris Nelson
Thinking out loud here... Running as the Pi user? Have write access to /var/log? -- 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

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread nineback
I tried to follow the instructions in the v4 logging wiki, https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging. I added this to my weewx.conf file: [Logging] [[loggers]] # Root logger [[[root]]] handlers = rotate,# 1 [[handlers]]

[weewx-user] Upload-time is chaos

2020-05-15 Thread Keimpe Bleeker
Hi all, last major issue: how can I arrange that the time of the last MQTT-organized upload looks a bit legible (see the attached screenshot)? I'm using Weewx 4.0.0 and Belchertown 1.1, connected to a Davis Vantage Pro2 and it's my first 'live' Weewx-setup (http://oentsjerk.eu/). Thanks in

[weewx-user] Re: NOAA Reports not corrcet - Belchertown

2020-05-15 Thread Dirk
I still have this problem. All reports are generated and uploaded to the Server, but only 2 of them are to see on the webpage. Any ideas? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Chris Nelson
Thanks Tom, I re-read your logged page in detail after I posted this issue. A couple of suggestions for the not fully initiated: - This link points to the Python logger documentation, whereas I thought I'd be reading about the

Re: [weewx-user] Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Jacques Terrettaz
The formula include a small correction of the Davis radiation sensor values depending on the temperature. If the temperature is not available, a default temperature of 15°C is used. You can use alternatively 25.0 instead of 15.0 as default temperature - tempe = event.record.get('outTemp',

Re: [weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Meteo Oberwallis
The error has now disappeared and I have also found out why this happens. If the console lost the connection to the outside, then the expansion had a problem because there was no value. That is why weewx was stopped. Now it runs even after the data logger has been deleted and no data from the

Re: [weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Tom Keffer
No, it is not good. But, the VP2 driver is used by hundreds, maybe thousands of users. I'm sure it can be made to work. What happened after putting in the fix for the extension radiationhours? -tk On Fri, May 15, 2020 at 7:21 AM Meteo Oberwallis wrote: > Thx Tom. I hope, this failure its

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread Tom Keffer
Take a look at this thread and see if it helps. -tk On Fri, May 15, 2020 at 7:07 AM José C. Morales C. wrote: > May be a network problem ? > > I dont think so > > How is your RPI3 connected to your network ? Wifi?, wired? >

Re: [weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Meteo Oberwallis
Thx Tom. I hope, this failure its away. Its not good, when i must clear the Logger every Day. Am Freitag, 15. Mai 2020 16:10:26 UTC+2 schrieb Tom Keffer: > > Or, even simpler, > > tempe = event.record.get('outTemp', 15.0) > > -tk > > On Fri, May 15, 2020 at 7:04 AM Jacques Terrettaz > wrote: >

[weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Meteo Oberwallis
Hello Jacques Ok. Its Work! Thank you. I will test this. def newArchiveRecord(self, event): """Gets called on a new archive record event.""" seuil = 0 tempe = event.record.get('outTemp') if tempe is None: tempe=15 radiation = event.record.get('radiation')

Re: [weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Tom Keffer
Or, even simpler, tempe = event.record.get('outTemp', 15.0) -tk On Fri, May 15, 2020 at 7:04 AM Jacques Terrettaz wrote: > Hi Meteo Oberwallis, > > Try to modify the script /usr/share/weewx/user/radiationhours.py as follow > : > > Replace (in line 20 ?) : > > tempe =

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread José C . Morales C .
> > May be a network problem ? I dont think so How is your RPI3 connected to your network ? Wifi?, wired? wired > Can you ping the IP address of your IP datalogger from the terminal > windows of your RPI3 ? pi@raspberrypi:~ $ ping 192.168.1.103 PING 192.168.1.103 (192.168.1.103) 56(84)

[weewx-user] Re: Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Jacques Terrettaz
Hi Meteo Oberwallis, Try to modify the script /usr/share/weewx/user/radiationhours.py as follow : Replace (in line 20 ?) : tempe = float(event.record.get('outTemp')) by tempe = event.record.get('outTemp') if tempe is None: tempe=15 -- You received this message because you are subscribed

Re: [weewx-user] Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Tom Keffer
The reading stops because weewxd crashed. It crashed because you're trying to convert a None value to a float value. Fix the extension radiationhours.py first, then try again. -tk On Fri, May 15, 2020 at 6:00 AM Meteo Oberwallis wrote: > Hello. > > I have the problem that the reading stops at

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread Jacques Terrettaz
José, May be a network problem ? How is your RPI3 connected to your network ? Wifi?, wired? Can you ping the IP address of your IP datalogger from the terminal windows of your RPI3 ? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

[weewx-user] Rain information by MQTT

2020-05-15 Thread Wifi75
hello everyone, weewx send me the following information via mqtt, could you explain the meaning of each of them? *rain_cm=* *dayRain_cm=* *rain24_cm=* *hourRain_cm=* *rainRate_cm_per_hour=* *rain_total=* Thanks -- You received this message because you are subscribed to the Google Groups

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread José C . Morales C .
Hi Jacques Thanks for answered, this i think is the code May 15 09:04:34 raspberrypi weewx[4205] CRITICAL weewx.engine: > ret > urn VantageService(engine, config_dict) > May 15 09:04:34

Re: [weewx-user] Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Meteo Oberwallis
Hello. I have the problem that the reading stops at once. If I then check, this message always comes. As soon as I delete the archive memory from the data logger, weewx can be started again. I can rule out that the data logger is defective. After this procedure everything works again. Am

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread Tom Keffer
On Fri, May 15, 2020 at 1:14 AM Jacques Terrettaz wrote: > Hi Tom, > > If I am not wrong, Weatherlink IP is the Davis IP datalogger, and weewx > can normally connect to it using the vantage driver with ethernet > connection. > Right you are! I was thinking of WeatherLink Live. -tk -- You

Re: [weewx-user] Re: Installing multiple weewx instances with weewx 4

2020-05-15 Thread Tom Keffer
I run 3 instances of weewx V4 on one machine, all using the same code base, but different versions of weewx.conf. It should not be a problem. It also doesn't matter how you install the code base. The key is weewx.conf. It contains the information on where each instance is to find its drivers,

Re: [weewx-user] Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Tom Keffer
It looks like your extension 'radationhours' is not prepared for the case where outTemp is either missing from a record, or has a value of None. You must check for these cases. Also, it should not be necessary to cast the value as a float: it's already either a float, or None. As for why outTemp

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Tom Keffer
Version 4.0 allows much more control over what gets logged . To suppress everything below log level WARN, put this at the bottom of weewx.conf: [Logging] [[loggers]] [[[weewx.manager]]] level = WARN -tk On Thu, May 14, 2020

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Banana Bob
Andrew Thanks for that excellent explanation. Now all I have to do is find out the Rain Year for New Zealand. James On Friday, 15 May 2020 20:02:58 UTC+12, Andrew Milner wrote: > > countries often measure annual rainfall as being the 12 monthes from the > start of the rainy period (often

[weewx-user] Re: Belchertown skin 1.1 released!

2020-05-15 Thread Rolf Zanchettin
Hi Pat, first of all a big thanks for your aweseome Belchertown skin. I have adapted the skin slightly and created a new section to include between the header and the station info. For this i have extended the "index.html.tmpl" and the "skin.conf" accordingly. This works very well so far. Is

Re: [weewx-user] Number of days on which the average Temperature was above a certain value

2020-05-15 Thread Rolf Zanchettin
Hi Tom, thanks for the reply. That would be awesome :-) Best regards Rolf Am Donnerstag, 14. Mai 2020 20:45:04 UTC+2 schrieb Tom Keffer: > > Nope. Not possible with the present version of xtypes. > > But, it's given me some ideas on how to modify xtypes to make it possible. > Maybe in

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread Jacques Terrettaz
Hi José Could you please post the log beginning with the start of Weewx until the error occurs ? Le jeudi 14 mai 2020 19:48:10 UTC+2, José C. Morales C. a écrit : > > Thanks Tom > > The log say > > May 14 13:37:18 raspberrypi weewx[8856] CRITICAL weewx.engine: >> raise

Re: [weewx-user] Can Weewx works with weatherLinkIP and Meteobridge?

2020-05-15 Thread Jacques Terrettaz
Hi Tom, If I am not wrong, Weatherlink IP is the Davis IP datalogger, and weewx can normally connect to it using the vantage driver with ethernet connection. Le jeudi 14 mai 2020 19:38:12 UTC+2, Tom Keffer a écrit : > > WeeWX does not support either weatherLinkIP, nor Meteobridge >

Re: [weewx-user] Installing multiple weewx instances with weewx 4

2020-05-15 Thread Gert Andersen
Hi I have just installed using install.py and using the files from Michael and now it's working. Next step to use mqtt and Belchertown for 3 instances. Thanks for your help. Gert On Friday, May 15, 2020 at 10:03:30 AM UTC+2, steeple ian wrote: > > Multiple instances working well for me

Re: [weewx-user] Installing multiple weewx instances with weewx 4

2020-05-15 Thread steeple ian
Multiple instances working well for me with WeeWX4.0.0 Python3.7 following the wiki instructions. I'm am using Debian10 (Raspbian) on a RaspberryPi4 I have tried it with setup.py and Deb package and both work fine using the multi startup script. Currently running three instances with setup.py

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Andrew Milner
countries often measure annual rainfall as being the 12 monthes from the start of the rainy period (often september) rather than the annual calender period from january 1. weewx caters for this by allowing the user to define the month when the annual period should start, in this case the

[weewx-user] Re: Installing multiple weewx instances with weewx 4

2020-05-15 Thread Gert Andersen
Hi Michael Thanks a lot, I'll try once more. I'll let you know about the result. Gert On Friday, May 15, 2020 at 9:33:26 AM UTC+2, Michael wrote: > > Hi Gert, > > I don't think it has anything to do with the installation method. > My installation of weewx is in /home/weewx > And in this

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Banana Bob
Andrew Thanks very much for your help What does the term Rain Year mean? James On Friday, 15 May 2020 18:35:05 UTC+12, Andrew Milner wrote: > > rain_year_start is a date set in weewx.conf - in the station_url section, > and should be set to the month in which the rain year starts. > > the rain

[weewx-user] Re: Installing multiple weewx instances with weewx 4

2020-05-15 Thread Michael
Hi Gert, I don't think it has anything to do with the installation method. My installation of weewx is in /home/weewx And in this directory are also both .conf files. Michael Am Freitag, 15. Mai 2020 08:40:44 UTC+2 schrieb Gert Andersen: > > Hi Michael > > Sounds good it's possible. > > My

[weewx-user] Problem with Davis VP2 (Data logger or Konsole)?

2020-05-15 Thread Meteo Oberwallis
Hello everbody. I have the following problem. The data readout of the Vantage Pro2 console worked without problems for a long time. But I've had this problem for a few weeks now. The solution then seems to be to delete the data logger (with wee_device --clear-memory) and restart weewx. Then

[weewx-user] Re: Installing multiple weewx instances with weewx 4

2020-05-15 Thread Gert Andersen
Hi Michael Sounds good it's possible. My installation is not based install.py and maybe that was the problem. Even if I changed the pointers to my installation, weewx-multi could not be started. Maybe I should try install.py. Could you please post your files you use with weewx 4(weewx-multi

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Andrew Milner
rain_year_start is a date set in weewx.conf - in the station_url section, and should be set to the month in which the rain year starts. the rain year is then the period from rain year start to current date so yes, i think you are misreading the column - the column represents a time period

[weewx-user] Re: Acutrite bridge with interceptor - sensor selection

2020-05-15 Thread Andre Pio
Thanks for the tip. I turned logging on and can see that all sensors are captured in the log but still need to figure out which one is picked to send to WU and how can see dara from all other sensors. -- You received this message because you are subscribed to the Google Groups "weewx-user"

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Banana Bob
Sorry but maybe I am reading this page incorrectly. I was assuming that Rain Year was a column for how much Rain fell in the year. Does it have another meaning? On Friday, 15 May 2020 18:18:10 UTC+12, Andrew Milner wrote: > > Oh - I see what you mean - the year column and the rain year column

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Andrew Milner
Oh - I see what you mean - the year column and the rain year column are showing same values for ALL readings. Doesn't that just imply that your rain year start is set to start January 1st rather than to some date in 2019?? On Friday, 15 May 2020 09:06:19 UTC+3, Banana Bob wrote: > > If you

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Banana Bob
If you right click on the screenshot and select view image you will get a large version. It will show exactly what I said that the last row contains the same data as the previous row. On Friday, 15 May 2020 18:01:39 UTC+12, Andrew Milner wrote: > > very hard to say from the screenshot!! Do you

[weewx-user] Re: Noticed that the statistics.html page giving wrong data.

2020-05-15 Thread Andrew Milner
very hard to say from the screenshot!! Do you have any rain recorded for between september 2019 and january 2020 which you believe should be added to the rain year total?? On Friday, 15 May 2020 08:49:14 UTC+3, Banana Bob wrote: > > [image: Screenshot from 2020-05-15 17-46-11.png] > Please