On Thursday, February 6, 2020 at 11:36:40 AM UTC-6, Thomas Keffer wrote:
>
> Steady progress.
>
>
>
> # 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 1175, in read_data
checksum = sum([six.byte2int(b) for b in response]) % 256
File "bin/weewx/drivers/ws23xx.py", line 1175, in <listcomp>
checksum = sum([six.byte2int(b) for b in response]) % 256
TypeError: 'int' object is not subscriptable
--
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/28f95110-020a-4ffb-ae78-0a548e16c16f%40googlegroups.com.