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


On Sun, Apr 12, 2020 at 7:42 PM Scott Gray <[email protected]> wrote:

> 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?
>
>
>
>
> On Tuesday, March 10, 2020 at 9:21:05 PM UTC-5, gjr80 wrote:
>>
>> 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
>> <http://weewx.com/docs/usersguide.htm#Running_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
>>
>>
>> On Wednesday, 11 March 2020 00:45:10 UTC+10, Scott Gray wrote:
>>>
>>> Is anyone able to offer any assistance?
>>>
>>> On Friday, March 6, 2020 at 9:50:10 PM UTC-6, Scott Gray wrote:
>>>>
>>>> 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.
>>>>
>>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/b650dfa3-9151-42e0-a107-4781a59d596f%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b650dfa3-9151-42e0-a107-4781a59d596f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECy_k0fJ_v%3DXdT2xAkDhH2f6MSQuxso9dr3NjtBo8JgrQ%40mail.gmail.com.

Reply via email to