The one thing that gives me pause with my version is that it reads the lines in fixed length chunks: 52 bytes. Unfortunately, not all Ultimeters support the full buffer. Some emit 48 bytes, other 44. The amount is changeable via a [Ultimeter] setting, but earlier versions could handle all 3 buffer lengths without a change.
We could go back to the v0.11 strategy of reading a byte at a time, but let's see if this works first. -tk On Wed, Feb 13, 2019 at 9:22 AM mwall <[email protected]> wrote: > > > On Wednesday, February 13, 2019 at 12:15:22 PM UTC-5, Steve2Q wrote: >> >> A general question; if it turns out that both 11rc3 and 0.20 work, is >> there any other advantage to changing to 0.20? Is it more compatible with >> future changes in Weewx or perhaps with Python 3? >> > > it may not affect you, but there are more reasons why 0.20 and later are > preferred: > > - handling of negative temperatures > - handling of set/get time - it is different for different ultimeter > hardware > - handling of NULL values from the ultimeter - different models have > different behavior > > the 0.11 version of the driver did not deal with these things > > > -- > 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. > -- 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.
