I read this as 48 data bytes + 2 for header + cr +lf = 52


On Thursday, 21 February 2019 15:39:42 UTC+2, Steve2Q wrote:
>
> A follow up: According to Peet Bros web site the Ultimeter 2100 (and 
> several other models) emit data in 48 byte chunks in Data Logger Mode, 
> while ultimeter.py (version .20) apparently expects 52 bytes. Could this be 
> the problem?. Here is a snip from their web site:
>
>
>    - *Data Logger Mode**:  to manually select, press CLEAR + WIND SPEED 
>    for 3 seconds. ** While in this mode, records are sent out 
>    continuously at up to about 120 per minute.  The total record size is 48 
>    hex digits + header, carriage return and line feed.  (All models)* 
>    - *Packet Mode**:  to manually select, press CLEAR + WIND CHILL for 3 
>    seconds.  While in this mode, one record is output every five minutes (at 
> 5 
>    min past the hour, 10 min past, 15 min past, etc.). The total record 
> length 
>    is 52 hex digits + header, carriage return and line feed.  (All models)*
>
> and this:
>
> *DATA LOGGER MODE - RECORD STRUCTURE* 
>
>    - *Header = !!  (or || if in Multiple Output Mode) * 
>    - *Data Fields * 
>       - *1. Wind Speed (0.1 kph) * 
>       - *2. Wind Direction (0-255) * 
>       - *3. Outdoor Temp (0.1 deg F) * 
>       - *4. Rain* Long Term Total (0.01 inches) * 
>       - *5. Barometer (0.1 mbar) * 
>       - *6. Indoor Temp (0.1 deg F) * 
>       - *7. Outdoor Humidity (0.1%) * 
>       - *8. Indoor Humidity (0.1%) * 
>       - *9. Date (day of year) * 
>       - *10. Time (minute of day) * 
>       - *11. Today's Rain Total (0.01 inches)* * 
>       - *12. 1 Minute Wind Speed Average (0.1kph)* *
>    - *Carriage Return & Line Feed *
>
>
> **Some instruments may not include field 12, some may not include 11 or 
> 12. Please contact Peet Bros. if this presents any problem. Total size: 40, 
> 44 or 48 characters (hex digits) + header, carriage return and line feed. *
>
> *PACKET MODE - RECORD STRUCTURE* 
>
>    - *Header = $ULTW * 
>    - *Data Fields * 
>       - *1. Wind Speed Peak over last 5 min. (0.1 kph) * 
>       - *2. Wind Direction of Wind Speed Peak (0-255) * 
>       - *3. Current Outdoor Temp (0.1 deg F) * 
>       - *4. Rain Long Term Total (0.01 in.) * 
>       - *5. Current Barometer (0.1 mbar) * 
>       - *6. Barometer Delta Value(0.1 mbar) * 
>       - *7. Barometer Corr. Factor(LSW) * 
>       - *8. Barometer Corr. Factor(MSW) * 
>       - *9. Current Outdoor Humidity (0.1%) * 
>       - *10. Date (day of year) * 
>       - *11. Time (minute of day) * 
>       - *12. Today's Rain Total (0.01 inches)** 
>       - *13. 5 Minute Wind Speed Average (0.1kph)* *
>    - *Carriage Return & Line Feed*
>
>
>
> **Some instruments may not include field 13, some may not include 12 or 
> 13. Please contact Peet Bros. if this presents any problem. *
>
> *Packet Mode records are output every five minutes:  first, upon selection 
> of Packet Mode; then, at every 5 minutes past the hour (12:00, 12:05, 
> 12:10, etc.), continuosly.*
>
> *Total size: 44, 48 or 52 characters (hex digits) + header, carriage 
> return and line feed. *
>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to