Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-12-12 Thread Alberto Sánchez
I have had the same issue and I have solved it in the same way... El domingo, 14 de abril de 2019, 7:13:33 (UTC+2), Leon Shaner escribió: > > Hey, Cameron, > > You are absolutely right! I did some digging and determined that my > WMR300 is set to 1 minute internal data logging interval, which is

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-15 Thread Leon Shaner
Hey, Cameron, First off, Matt did take my diff for adding a rain counter warning message to the wmr300.py already. =D It's a start in that it logs a warning. See my other note on what I did to trigger an e-mail via cron and mailx. =D As an aside, 1% of the maximum rain-counter is something

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-15 Thread Cameron D
Hi Leon, I too use 1 minute intervals. I wrote the code changes to automatically clear the history when it reaches x% full. The current version has these changes in, so you should be OK for now. But search through the list archives to find the threads about WMR300 hanging - I have posted a pa

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Cameron D
Hi Leon, it seems you still have a problem with the archive data. As far as I recall the history in the console does not wrap around, so once it is full then the console never saves any more. Your version of the driver is set to clear the history after it reaches 20% however your last index va

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Leon Shaner
Hey, TK, Gah. Embarrassing. :S So it turns out, I am still getting this message in the logs, after all. :-( Apr 13 14:46:16 nixie weewx[1182]: wmr300: possible missed rain event: new=10160.0 old=None Apr 13 14:46:16 nixie weewx[1182]: wmr300: rain=None rain_total=10160.0 last_rain=None

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Thomas Keffer
rain is not supplied directly by the WMR300, so it is not in the sensor map. It is calculated from differences in rain_total (see line 1295 in the driver). If you want the driver to emit rain_total (not a bad idea, IMO)

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Leon Shaner
Well, this is interesting. From the logs... Apr 13 13:57:23 nixie weewx[368]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 'heatindex_1', 'inTemp': 'temperatur

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Leon Shaner
Hi, TK, Haha. Well certainly it has rained. One reason the DB rain data is so sparse with that huge gap after July 2016 is that the rain data hadn't been cleared in years and upon installing weewx for the first time, last week, the ingestion was taking forever...which I was happy to allow, bu

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Thomas Keffer
I see. So, as far as the database is concerned, it has not rained since 2016? Unless you live in the Atacama desert, that's clearly not right! The problem must be getting the rain value from the WMR300 and into WeeWX, and has nothing to do with the WU. Did you try resetting the rain counter (see

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Leon Shaner
Hey, TK, Sorry. I did query for rain already and it's all 0.0, except as shown in the second output I pasted. Regards, Leon -- Leon Shaner :: Dearborn, Michigan (iPad Pro) > On Apr 13, 2019, at 11:06 AM, Thomas Keffer wrote: > > You can't look for rain where rainRate is non-zero, because the

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Thomas Keffer
You can't look for rain where rainRate is non-zero, because the latter is only loosely connected to the former. Instead, do a simple query for rain: select datetime(dateTime,'unixepoch','localtime'), rain, rainRate from archive where date(dateTime,'unixepoch','localtime')="2019-04-12"; See if any

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-13 Thread Leon Shaner
Hey, TK, Thanks for the pointers. I didn't know about the archive table and it wasn't obvious, just grepping for rain in the .dump output. Do you know if there is a difference in the way that "real time" data is read from the WMR300A vs. reading the historical data? I wonder if the "bug" is i

Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-04-12 Thread Thomas Keffer
Let me clarify something: the WU wants the total rain that fell in the last hour. So, obvious archive fields such as rain, or rainRate, are not used. Instead, WeeWX calculates the total rain over the last 60 minutes for every post, using the archive table. The daily summaries are not involved at al

[weewx-user] WMR300A -> Wunderground, no rain data

2019-04-12 Thread Leon Shaner
Hi, hi. For unknown reasons, Wunderground isn't showing any rain-data for my KMIDEARB5 station. I used sqlite3 to query the weewx.sdb, to confirm that there is rain and rainRate data and there is. But what's interesting is that there are positive rainRate values for today, but in the rain da