Ultimeter 2100 WeeWx Behind Actual Rain Rain Rate is Actual Rain Total

135 views
Skip to first unread message

Burt Wizeman

unread,
Apr 25, 2020, 12:01:31 AM4/25/20
to weewx-user
WeeWix is treating Rain Rate as the actual Rain Total for the day when running with the Ultimeter 2100.  Throughout this storm, the rain gauge data displayed on the Ultimeter has been quite a bit ahead of what WeeWix is generating both for CWOP and the WeeWx html pages.  Any idea why the lag?  I have purged all items before Epoch time, and verified the clock (ntp running at startup and refreshed periodically by software) any one have an idea?


Rain Rate3.54 in/hr #Acutal Rain Total on Ultimeter 2100
Rain Today2.56 in #What is published
 -

Tom Keffer

unread,
Apr 25, 2020, 8:21:34 AM4/25/20
to weewx-user
There are many ways of calculating rain rate. WeeWX calculates a sliding average over the last 15 minutes. You console may use something else.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/180bc7c3-bb0e-48fe-a70d-bbecaab3d745%40googlegroups.com.

Burt Wizeman

unread,
Apr 30, 2020, 9:24:31 AM4/30/20
to weewx-user
Still looking into the rain.  To refresh the discussion, as of the moment of this writing, the Ultimeter is displaying .82 inches since midnight.  It is at midnight that the daily data is reset to 0.  Yet, WeeWx in Linux and CWOP show .53. 53 HEX is 82 Decimal!   What is happening is that the number 53HEX is being sent from the Ultimeter data string which is Hex but displays .82 decimal on the display which is expected.  But what CWOP is getting is the HEX value of .53.  This is labeled as Rain last 24 hours 0.53 inches 
So the driver is not converting the Hex 53 to the decimal equivalent, it is passing it through giving CWOP .53
I won't be able to look at the driver until Saturday.  Can you point me to the Ultimeter driver section for the function to convert data to Hex?

Thanks,
Burt
K4SRQ

Tom Keffer

unread,
Apr 30, 2020, 10:09:49 AM4/30/20
to weewx-user
0x53 is actually 83 decimal. 

Looking through the Ultimeter code, it seems to be converted from hexadecimal to decimal correctly. 

Try running with debug=2. The driver will include the raw data in the system log.

-tk

--
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+...@googlegroups.com.

Burt Wizeman

unread,
Apr 30, 2020, 11:40:48 AM4/30/20
to weewx-user
Will do,
Thanks,
Burt


On Thursday, April 30, 2020 at 10:09:49 AM UTC-4, Tom Keffer wrote:
0x53 is actually 83 decimal. 

Looking through the Ultimeter code, it seems to be converted from hexadecimal to decimal correctly. 

Try running with debug=2. The driver will include the raw data in the system log.

-tk

On Thu, Apr 30, 2020 at 6:24 AM Burt Wizeman <k4s...@gmail.com> wrote:
Still looking into the rain.  To refresh the discussion, as of the moment of this writing, the Ultimeter is displaying .82 inches since midnight.  It is at midnight that the daily data is reset to 0.  Yet, WeeWx in Linux and CWOP show .53. 53 HEX is 82 Decimal!   What is happening is that the number 53HEX is being sent from the Ultimeter data string which is Hex but displays .82 decimal on the display which is expected.  But what CWOP is getting is the HEX value of .53.  This is labeled as Rain last 24 hours 0.53 inches 
So the driver is not converting the Hex 53 to the decimal equivalent, it is passing it through giving CWOP .53
I won't be able to look at the driver until Saturday.  Can you point me to the Ultimeter driver section for the function to convert data to Hex?

Thanks,
Burt
K4SRQ


On Saturday, April 25, 2020 at 12:01:31 AM UTC-4, Burt Wizeman wrote:
WeeWix is treating Rain Rate as the actual Rain Total for the day when running with the Ultimeter 2100.  Throughout this storm, the rain gauge data displayed on the Ultimeter has been quite a bit ahead of what WeeWix is generating both for CWOP and the WeeWx html pages.  Any idea why the lag?  I have purged all items before Epoch time, and verified the clock (ntp running at startup and refreshed periodically by software) any one have an idea?


Rain Rate3.54 in/hr #Acutal Rain Total on Ultimeter 2100
Rain Today2.56 in #What is published
 -

--
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...@googlegroups.com.

Burt Wizeman

unread,
Apr 30, 2020, 3:12:37 PM4/30/20
to weewx-user
Hey Tom,
Earlier my numbers to you were wrong.  I caught it between updates from when I first noticed it.  The numbers were .53 at CWOP and PWS, .83 on the display.  Sorry, I was in a rush to get to work.  If I could have an email to contact you at, I am reviewing the app for our West Central Florida Section of the ARRL Technical Newsletter.  Peet is big here with Hams in Florida as they are on the other coast.  I will follow through with data for debug=2.

Thanks,
Burt
K4SRQ
burt at k4srq.net

Tom Keffer

unread,
Apr 30, 2020, 3:42:17 PM4/30/20
to weewx-user
Hi, Burt

Unless you're sending sensitive password information, I'd prefer to keep the exchange here. That way, others can learn, and it becomes a thread-of-record should someone have a similar problem in the future.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/777a04bc-2c60-4918-8471-b58929a1ba71%40googlegroups.com.

Burt Wizeman

unread,
May 1, 2020, 12:05:48 AM5/1/20
to weewx-user
Good Evening Tom,

Thanks for taking a look at this.  No rain tonight so I poured some water into the bucket to get some data.  It happened at 22:40:15.  Now for some clarification:
My Ultimeter currently reads .90 for the daily rain after the experimental water.  That is the total rain over 24 hours.  What is being sent in the string from WeeWx is .56 and .03 is the amount weewx sensed from my water dump into the rain bucket. 
So the Ultimeter says .90 now, the string to CWOP and PWS says .56.  I have included  a minicomp dump from the datastream out of the 2100.



Thanks Again for your help

Burt
K4SRQ



On Thursday, April 30, 2020 at 3:42:17 PM UTC-4, Tom Keffer wrote:
Hi, Burt

Unless you're sending sensitive password information, I'd prefer to keep the exchange here. That way, others can learn, and it becomes a thread-of-record should someone have a similar problem in the future.

-tk

mylog
minicom.txt.cap

Tom Keffer

unread,
May 1, 2020, 11:23:59 AM5/1/20
to weewx-user
I think the problem is differences in what "today's rain" means.

The ultimeter driver emits observation types rain_total and daily_rain. These are direct from the hardware, so they should match what you're seeing on the console. You can check by running weewxd directly from the command line. It will print out all values.

However, the values being sent to CWOP are observation types rain24 and dayRain. If they are not supplied by the hardware, then WeeWX calculates them from the database.

So, you're looking at two different things, both, in their own way, correct.

But, this makes me think that the Ultimeter driver really should be emitting rain24 and dayRain.

Run weewxd directly and see what it says.

-tk




To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/db7f8992-2c28-4885-b85f-f444ad65b0f5%40googlegroups.com.

Burt Wizeman

unread,
May 1, 2020, 2:02:56 PM5/1/20
to weewx-user
Will do.  I will work with it tomorrow.  Can't wait to dig in!

Thanks Tom,
Burt  

Burt Wizeman

unread,
May 2, 2020, 5:22:32 PM5/2/20
to weewx-user
You are correct -  From weewxd after dumping some water into the bucket, the display reports .14 and in the output of weewxd  'daily_rain: 0.14' and  'rain_total 5.84' which was at 5.7 until I added the water for today's test.   I have attached the output.   So, is there a way for the hardware to directly send the data to the cwop and pws sentence, mapped appropriately, bypassing the calc?  Remember that both PWS and CWOP show the same rain.

BTW, I installed Version 4 with Python 3.8.  No hitches!

Thanks Tom 
weewxd.txt

Tom Keffer

unread,
May 2, 2020, 6:14:45 PM5/2/20
to weewx-user
You could put the following in the [StdCalibrate] section of weewx.conf:

[StdCalibrate]
    [[Corrections]]
        dayRain = daily_rain

This will set type dayRain to what is being emitted by your hardware. It will then be passed on to CWOP, instead of looked up in the database.

Unfortunately, CWOP also wants rain over the last 24 hours, and rain over the last hour, but the Ultimeter does not emit those. So, they will continue to have to be calculated from the database.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dc71892b-6514-45d0-9926-7b252733406b%40googlegroups.com.

Burt Wizeman

unread,
May 3, 2020, 9:09:17 AM5/3/20
to weewx-user
Good testimony of just how great a program WeeWx is by catching the gap and doing the calcs for MADIS and MW.  I am really impressed with this application.  Given the context of this application's complexity, this upgrade was spectacularly smooth.

I was wondering why CWOP did rain as they do and then I found this in the CWOP FAQ (added for knowledge collection)   

 The APRS weather format allows for three types of precipitation measurements to be coded into the data packet as discussed above. However, MADIS only accepts two of these, the rate (rxxx in hundredths of inches per hour) and the 24 hour precipitation (pxxx in hundredths of inches). So, if your data packet does not contain rxxx or pxxx, there are no rain data that can be forwarded to MADIS or MesoWest.
I
Also from the CWOP wx page for a given station is this text below the rain chart: (emphasis added)

"Rain displayed depends on what is being sent from the station, may be cumulative, last hour, last 24 hours, or since midnight"
 
So, as you pointed out, the data was not wrong. I am glad to have the option to put the current day's total up there.  

Thanks Tom,
Burt
K4SRQ


On Saturday, May 2, 2020 at 6:14:45 PM UTC-4, Tom Keffer wrote:
You could put the following in the [StdCalibrate] section of weewx.conf:

[StdCalibrate]
    [[Corrections]]
        dayRain = daily_rain

This will set type dayRain to what is being emitted by your hardware. It will then be passed on to CWOP, instead of looked up in the database.

Unfortunately, CWOP also wants rain over the last 24 hours, and rain over the last hour, but the Ultimeter does not emit those. So, they will continue to have to be calculated from the database.

-tk

Reply all
Reply to author
Forward
0 new messages