--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2cfe7671-0233-4197-aecc-c0f5d6b0b7d0%40googlegroups.com.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e2c78b92-725e-4b16-a12a-953abd01e6c0%40googlegroups.com.
Could you please go into the file ws23xx.py and change the global variable DEBUG_SERIAL to True (line 803)? Then try running the driver directly. For example:PYTHONPATH=bin python3 bin/weewx/drivers/ws23xx.py --readingsWhile you're at it, try both python2 and python3.-tk
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0b622079-5955-4efd-bbc0-305bac967075%40googlegroups.com.
Guess I forgot to mention one important detail: send the log!-tk
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ad4c5b6f-b521-4939-b25e-8e43f5ebf125%40googlegroups.com.
/var/log/weewx.log? What's that? Did you try /var/log/syslog?On Wed, Feb 5, 2020 at 4:46 PM P Simmons <mbat...@gmail.com> wrote:-
On Wednesday, February 5, 2020 at 5:53:34 PM UTC-6, Thomas Keffer wrote:Guess I forgot to mention one important detail: send the log!-tkRepeated test... no log entries in /var/log/weewx.log during driver runs... only console results. Next?
Appended a "testing bookmark" in /var/log/syslog with "echo". Repeated testing command series. No additional entries in /var/log/syslog either.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1279b4df-1c31-4d9e-8ee1-87677cdbcc44%40googlegroups.com.
This remote debugging is hard!Give this version a try.-tk
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7b25f8c9-ed63-42b7-b094-ebbbde2afccd%40googlegroups.com.
I guess that's progress. Try this one.I'm just blinding replacing python 2 idioms with six idioms. No idea about the underlying logic.-tk
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/586925c3-625c-435f-93de-903ac781ec69%40googlegroups.com.
Steady progress.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/28f95110-020a-4ffb-ae78-0a548e16c16f%40googlegroups.com.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4f95799a-fb13-4299-bd27-f15518c43402%40googlegroups.com.
Gsry
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dc7b9510-1c6b-4230-9441-86746c46fb73%40googlegroups.com.
I'm going to need an aspirin.
On Thu, Feb 6, 2020 at 3:01 PM P Simmons <mbat...@gmail.com> 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 weewx...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dc7b9510-1c6b-4230-9441-86746c46fb73%40googlegroups.com.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e3c78854-a4ec-4d00-a627-e4c8bc1be9f6%40googlegroups.com.
I don't know how much ownership you claim, Matthew, but that's some of the most convoluted Python code I've had to debug. 21 different classes just to deal with conversions?
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/fce08d84-eb15-45f8-8c72-7cea3995e233%40googlegroups.com.
Thank goodness it's not that common a station!