No Rain Data in WeeWx

185 views
Skip to first unread message

Scott Gray

unread,
Mar 6, 2020, 10:50:10 PM3/6/20
to weewx-user
I am running weewx 3.9.2 on a Raspberry Pi. I have a Peet Bro’s. Ultimeter 2000. It has stopped sending, or weewx has stopped reporting my rain data. It did show a while back, but then stopped reporting to Wunderground. It is also not showing on local index.html page.it shows all other data, temp, wind, barometric pressure, and humidity.

The head unit shows rain totals for the day, for instance today .6 inch

I have the Ultimeter set to send the data in “data logging” mode.

Has anyone encountered this? Any suggestions for solutions or further troubleshooting?

I have been running in debug mode. I have attached some logs from a period of time in which we did have rain and rain amount was shown on weather station head unit.

I do see an error in the log, unsure how to address or if it is the cause.

Any assistance would be appreciated.
syslog
syslog.1
syslog.2.gz
syslog.3.gz

Scott Gray

unread,
Mar 10, 2020, 10:45:10 AM3/10/20
to weewx-user
Is anyone able to offer any assistance?

gjr80

unread,
Mar 10, 2020, 10:21:05 PM3/10/20
to weewx-user
Hi,

I have no experience with the ultimeter so can offer no help with the hardware. You mention an error in the log, do you mean this:

Feb 27 07:05:17 raspberrypi weewx[11354]: ultimeter: Failed attempt 1 of 5 to get readings: Unexpected buffer length 59

If so I don't believe it will be the cause, I only saw the failure on attempt 1 of 5 to get the readings, on the face of it it woudl appear that attempt 2 of 5 worked (or another fail wouls have been logged).

About all I can suggest is enabling the serial debug option in the ultimeter driver, that will log the raw data the driver obtains from your station, not sure what that will show and it may take a bit of decoding. If there is no rain data there then the driver won't be passing anything on to WeeWX. To enable serial debug edit wewx.conf, locate the [Ultimeter] stanza and add the option debug_serial = 1. It shoudl look something like:

[Ultimeter]

   
....
    debug_serial
= 1
   
....

Also make sure you keep debug = 1. Save weewx.conf and restart WeeWX. Have a look at the log and see what data is being logged from your station? what shows when its raining?

You could also try running WeeWX directly when itis raining, that will show you the loop and archive data that WeeWX is seeing, though if WeeWX is notreporting any rain there may well be no rain data there.

Gary

sfg...@gmail.com

unread,
Mar 13, 2020, 12:43:51 AM3/13/20
to weewx...@googlegroups.com
Thank you, Gary. I will give those a try, I’ll report back of any success.

Scott

Sent from my iPhone

On Mar 10, 2020, at 9:21 PM, gjr80 <gjrod...@gmail.com> wrote:


--
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/ac83c99a-8893-468d-aea2-dd90bd529519%40googlegroups.com.

Scott Gray

unread,
Apr 12, 2020, 10:42:14 PM4/12/20
to weewx-user
Gary,

I have not found a solution, but I have taken the additional steps. Attached is the syslog after debug serial was enabled, a screenshot of the results of direct run of weewx, and a photo of the rain display of the station.

The display is showing 2.23in total for the day.

The direct run shows rain: 0.0 and rain_total:655.35

The debug serial shows the following returns from the station:

Apr 12 17:53:05 raspberrypi weewx[5222]: ultimeter: station said: 21 21 30 30 35 46 30 30 33 32 30 32 32 39 46 46 46 46 32 37 30 34 30 32 46 37 30 33 41 30 2D 2D 2D 2D 30 30 36 36 30 33 46 35 30 30 44 41 30 30 30 30 0D 0A
Apr 12 17:53:06 raspberrypi weewx[5222]: ultimeter: station said: 21 21 30 30 35 46 30 30 33 32 30 32 32 39 46 46 46 46 32 37 30 34 30 32 46 37 30 33 41 30 2D 2D 2D 2D 30 30 36 36 30 33 46 35 30 30 44 41 30 30 30 30 0D 0A
Apr 12 17:53:07 raspberrypi weewx[5222]: ultimeter: station said: 21 21 30 30 35 45 30 30 35 33 30 32 32 39 46 46 46 46 32 37 30 34 30 32 46 37 30 33 41 30 2D 2D 2D 2D 30 30 36 36 30 33 46 35 30 30 44 41 30 30 30 30 0D 0A
Apr 12 17:53:08 raspberrypi weewx[5222]: ultimeter: station said: 21 21 30 30 35 45 30 30 35 33 30 32 32 39 46 46 46 46 32 37 30 34 30 32 46 37 30 33 41 30 2D 2D 2D 2D 30 30 36 36 30 33 46 35 30 30 44 41 30 30 30 30 0D 0A

I am goign to check with Peet to see if they have any clues, but the station is in the Data Logger mode, as it should be. I have not updated the station, and this was working earlier.  I cannot say with certainty that it worked on version 3.9.2. It worked previously for a long period of time, but my raspbian os corrupted and I rebuilt the device and reinstalled.

Would anything in the Ultimeter driver have changed in the latest build?
syslog_ultimeter_debugserial
ultimeter_display.jpg
weewx_direct_run.jpg

Thomas Keffer

unread,
Apr 13, 2020, 7:41:29 PM4/13/20
to weewx-user
The debug serial line you included is:

Apr 12 17:53:05 raspberrypi weewx[5222]: ultimeter: station said: 21 21 30 30 35 46 30 30 33 32 30 32 32 39 46 46 46 46 32 37 30 34 30 32 46 37 30 33 41 30 2D 2D 2D 2D 30 30 36 36 30 33 46 35 30 30 44 41 30 30 30 30 0D 0A

These are hexadecimal values coded in ASCII. The part for "long-term rain" is highlighted.

The ASCII values "46 46 46 46", is "F F F F", or hex 0xffff, or decimal 65535. Scaled by 0.01" per count, that gives 655.35. 

I don't know why your Ultimeter is emitting 0xffff for total rain. Perhaps Peet Bros can answer that?

-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.

sfg...@gmail.com

unread,
Apr 15, 2020, 12:38:07 AM4/15/20
to weewx...@googlegroups.com
Thank you

Sent from my iPhone

On Apr 13, 2020, at 6:41 PM, Thomas Keffer <tke...@gmail.com> wrote:


You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/cKVU1Ot8Tz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECy_k0fJ_v%3DXdT2xAkDhH2f6MSQuxso9dr3NjtBo8JgrQ%40mail.gmail.com.

sfg...@gmail.com

unread,
Apr 15, 2020, 12:42:55 AM4/15/20
to weewx...@googlegroups.com
I really appreciate you taking the time to look at this.

Scott


Sent from my iPhone

On Apr 13, 2020, at 6:41 PM, Thomas Keffer <tke...@gmail.com> wrote:


You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/cKVU1Ot8Tz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECy_k0fJ_v%3DXdT2xAkDhH2f6MSQuxso9dr3NjtBo8JgrQ%40mail.gmail.com.

sfg...@gmail.com

unread,
Apr 15, 2020, 1:29:45 AM4/15/20
to weewx...@googlegroups.com
If I may ask one more question.

Rain is showing 0.0 in the direct run but field 11 is today's rain total. The value for that field in the serial debug is 30 30 44 41 or 0x00da or 218 decimal (2.18) inches, yet WeeWx is reporting 0.0


Sent from my iPhone

> On Apr 13, 2020, at 6:41 PM, Thomas Keffer <tke...@gmail.com> wrote:
>
> 46 46 46 46

Thomas Keffer

unread,
Apr 15, 2020, 7:52:46 AM4/15/20
to weewx-user
The field "rain" is the total amount of rain that fell during an archive interval. It is calculated as the difference in total rain between the beginning and end of the interval. So, if total_rain does not change, then the "rain" field will show zero. 

Is there a way to "reset" your station? It's possible the total rain counter has simply overflowed and, instead of wrapping around, it just stays at 0xffff.

-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.

sfg...@gmail.com

unread,
Apr 15, 2020, 11:14:08 AM4/15/20
to weewx...@googlegroups.com
Resetting totals cleared the issue. I reset. Put some water through the gauge, rain amounts on the device and weewx now agree.

Thank you, very much.

Scott

Sent from my iPhone

On Apr 15, 2020, at 6:52 AM, Thomas Keffer <tke...@gmail.com> wrote:


You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/cKVU1Ot8Tz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB4z%3DEf%3D735ZTQTdnKawPJ7SzzCc1PV3XC-tCtvyqNuLg%40mail.gmail.com.

Thomas Keffer

unread,
Apr 15, 2020, 11:16:41 AM4/15/20
to weewx-user
Glad to hear it!

Reply all
Reply to author
Forward
0 new messages