ian,

please try the following modification.  in the file fousb.py, change line 
1321 from this:

                while dts > dt and count < num_rec:
                    raw_data = self.get_raw_data(ptr)
                    data = self.decode(raw_data)
                    if data['delay'] is None or data['delay'] > 30:
                        logerr('invalid data in get_records at 0x%04x, %s' %
                               (ptr, dts.isoformat()))
                        dts -= 
datetime.timedelta(minutes=fixed_block['read_period'])

to this:

                while dts > dt and count < num_rec:
                    raw_data = self.get_raw_data(ptr)
                    data = self.decode(raw_data)
                    if data['delay'] is None or data['delay'] < 1 or 
data['delay'] > 30:
                        logerr('invalid data in get_records at 0x%04x, %s' %
                               (ptr, dts.isoformat()))
                        dts -= 
datetime.timedelta(minutes=fixed_block['read_period'])

then restart weewx

m

-- 
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/086a4699-1005-41b3-845b-85fd9586d1c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to