On Friday, February 7, 2020 at 6:46:40 AM UTC-6, Thomas Keffer wrote: > > I'm going to need an aspirin. > > > On Thu, Feb 6, 2020 at 3:01 PM P Simmons <[email protected] <javascript:>> > wrote: > >> Sorry for delay, needed a nap. |-) >> >> # PYTHONPATH=bin python3 bin/weewx/drivers/ws23xx.py --readings >> --port=/dev/ttyS0 >> Traceback (most recent call last): >> File "bin/weewx/drivers/ws23xx.py", line 2117, in <module> >> data = s.get_raw_data(SENSOR_IDS) >> File "bin/weewx/drivers/ws23xx.py", line 790, in get_raw_data >> raw_data = read_measurements(self.ws, measures) >> File "bin/weewx/drivers/ws23xx.py", line 2030, in read_measurements >> nybbles = ws2300.read_batch(batches) >> File "bin/weewx/drivers/ws23xx.py", line 1202, in read_batch >> response = self.read_data(address + start_pos, bytes_) >> File "bin/weewx/drivers/ws23xx.py", line 1180, in read_data >> return reduce(flatten, response, ())[:nybble_count] >> File "bin/weewx/drivers/ws23xx.py", line 1179, in <lambda> >> flatten = lambda a,b: a + (ord(b) % 16, ord(b) / 16) >> TypeError: ord() expected string of length 1, but int found >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/dc7b9510-1c6b-4230-9441-86746c46fb73%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/dc7b9510-1c6b-4230-9441-86746c46fb73%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >
I may have inadvertently munged an earlier reply... The latest ws23xx.py is happily running, outputting acceptable records, and weewx is showing the results. Kudos! I appreciate your patience and assistance. Paul -- 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/8d5d31af-1b22-41a1-989f-04dff6e13123%40googlegroups.com.
