Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-20 Thread Neville Davis
HI At the end of testing..starting from only seasons skin, MQTT disabled etc, direct run weewx, all the way to fully operational and not once did the rainRate cease to operate including shutdowns reboots etc. Simply could not fault it. We have had now rainfall last couple of days so I was

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-19 Thread Neville Davis
I don't have any rain calculations or gathering in my script for PiWeather...just looks at the other sensors NOT rain. I am currently going through a test and with only Seasons skin and running weewx directly rainRate is calculatedcould not wait for weekend :) As I look at the scrolling

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-19 Thread Tom Keffer
That's all fine, so long as the field 'rain' comes from a single source. Which one is it? On Tue, Jan 19, 2021 at 2:10 PM Neville Davis wrote: > Hi just revisited my weewx.conf I believe I only have one driver > PiWeather, the OWFS is configured as a service as per the instructions in >

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-19 Thread Neville Davis
Hi just revisited my weewx.conf I believe I only have one driver PiWeather, the OWFS is configured as a service as per the instructions in owfs.py.. Place this file, owfs.py, in the weewx 'user' directory or wee_extension will install it there. To use as a driver: [Station]

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-19 Thread Neville Davis
Hi I have been using this configuration for several years..The overall hardware design is my own...I am a hardware guy more then a software type but had some experience with sql years ago (I am 76) and wanted use replication to backup to my local nas, so I migrated to Mysql when I built

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-19 Thread Tom Keffer
Sorry, I did not notice that you are using MySQL (any particular reason?) I'm finding your configuration very confusing. Are you using the driver PiWeather? Or, OWFS? I'm seeing PiWeather in your configuration file, but OWFS in the log. You have a lot of moving parts in your configuration.

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-18 Thread Neville Davis
Hi using SELECT dateTime,rain,rainRate FROMarchive WHERE rain>0 order by dateTime desc limit 200; the last 200 records for rain On Tuesday, January 19, 2021 at 12:31:55 PM UTC+10 Neville Davis wrote: > Hi > > Using sequel pro > > SELECT dateTime,rain,rainRate > FROMarchive > WHERE

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-18 Thread Neville Davis
Hi Using sequel pro SELECT dateTime,rain,rainRate FROMarchive WHERE rainRate>0 order by dateTime desc limit 50; On Tuesday, January 19, 2021 at 11:55:55 AM UTC+10 Neville Davis wrote: > Hi > installed sqlite3 but when run I get nothing printed. the same query with > rain I also get

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-18 Thread Neville Davis
Hi installed sqlite3 but when run I get nothing printed. the same query with rain I also get nothing printed, it just returns to sqlite3 prompt. Nothing on console, user logs etc I am going to try the same query to see if I can get the data using Sequel Pro. I use this app to check my db

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-18 Thread Tom Keffer
Your weewx.conf seems to be configured correctly. And, it's definitely "rainRate" (not "rainrate"). Let's take a look at the database, using the tools sqlite3. You may have to install it: *sudo apt install sqlite3* *sqlite3 /home/weewx/archive/weewx.sdb* sqlite> *select

Re: [weewx-user] Re: Rain Rate Calc Problem?

2021-01-17 Thread Banana Bob
It may be of interest to you that I had problems with the rain rate being reported as 0.00 all the time. I eventually tracked this down to the weewx.conf file having cm/hr rather than mm/hr as the measurement required. This was in the Units Group section of Standard Report and Defaults lower

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-25 Thread James Bellanca
I do appreciate the guess, but I know they’re all using the stone conf file since there’s only one! :-) Sent from my iPhone > On Dec 24, 2020, at 6:56 PM, Tom Keffer wrote: > >  > Hard to say without seeing the log, but if I had to hazard a guess, I'd say > you're not consistently using the

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
Hard to say without seeing the log, but if I had to hazard a guess, I'd say you're not consistently using the same copy of weewx.conf for all runs. One of the copies does not have rainRate in [StdWXCalculate]. But, that's just a guess. On Thu, Dec 24, 2020 at 1:58 PM James Bellanca wrote: >

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Appreciate the help so far. I had to wait for it to start raining again to do anything haha. And ok, so this is very strange behavior. I stopped the weewx service, and ran it directly (log of the terminal window is attached). rainRate calculates fine, AND updates the database fine, just like

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
The log does not include when weewx started up, so we can't tell which weewx.conf it is using, what the sensor map was, nor what services are being loaded. Otherwise, it looks normal. Do a restart, then post the log through the first archive cycle. If rainRate is being calculated (and your

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Here's a little more info. I added from log.debug lines in the wxxtypes.py rainRater class. In get_scalar that calculated rainRate, right before "return rr", I added: log.debug("rr=%s", rr) In _setup in the if not... section right before the except error trap, I added: log.debug("Log row %s %s

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Both running on Python 3. $ ps ax | grep python 831 ?Sl 468:45 *python3* /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf Attaching 3 files - the weewx.conf files from both 4.1.1 and 4.2.2, and the logs from 4.2.0 from 12/21 through today. It's

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
In addition to Peter's questions, what do you have for a sensor map? On Wed, Dec 23, 2020 at 9:46 PM p q wrote: > Any messages in the log? Did you switch python versions? > > On Wed, Dec 23, 2020, 9:21 PM James Bellanca wrote: > >> Btw, I've even checked/compared the rain rate data in the SDB

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-23 Thread p q
Any messages in the log? Did you switch python versions? On Wed, Dec 23, 2020, 9:21 PM James Bellanca wrote: > Btw, I've even checked/compared the rain rate data in the SDB files, and > all other data is populated the same between the two instances, except the > blank rain rate field. Look at

[weewx-user] Re: Rain Rate Calc Problem?

2020-12-23 Thread James Bellanca
Btw, I've even checked/compared the rain rate data in the SDB files, and all other data is populated the same between the two instances, except the blank rain rate field. Look at the data in the first 10 rows of each file for 12/21. (Ignore the fact that Excel presents some of the small rain

[weewx-user] Re: Rain Rate Calc Problem?

2020-12-23 Thread James Bellanca
Btw, I've even checked/compared the rain rate data in the SDB files, and all other data is populated the same between the two instances, except the blank rain rate field. On Wednesday, December 23, 2020 at 11:21:09 PM UTC-5 James Bellanca wrote: > I installed and have been using WeeWx 4.1.1 on