I just checked the syslog again. The polling of the DHT_22
(extra_sensors_service) appears to be occurring about every second. I do
see an "unexpected buffer length" when it tries to poll WS1. See below.
===================syslog (September 14, 2020 4:40P CDT========







*Sep 14 16:42:00 raspberrypi /weewxd: extrasensors: found humidity value of
63.29999923706055 %Sep 14 16:42:00 raspberrypi /weewxd: extrasensors: found
temperature value of 75.01999931335449 FSep 14 16:42:00 raspberrypi
weewx[1032] INFO weewx.drivers.ws1: Failed attempt 1 of 5 to get readings:
Unexpected buffer length 51Sep 14 16:42:10 raspberrypi weewx[1032] INFO
weewx.drivers.ws1: Failed attempt 2 of 5 to get readings: Unexpected buffer
length 51Sep 14 16:42:20 raspberrypi weewx[1032] INFO weewx.drivers.ws1:
Failed attempt 3 of 5 to get readings: Unexpected buffer length 51Sep 14
16:42:31 raspberrypi /weewxd: extrasensors: found humidity value of
63.29999923706055 %Sep 14 16:42:31 raspberrypi /weewxd: extrasensors: found
temperature value of 75.01999931335449 FSep 14 16:42:31 raspberrypi
weewx[1032] INFO weewx.drivers.ws1: Failed attempt 1 of 5 to get readings:
Unexpected buffer length 51*
===========================
TIA

Michael H Grossie
[email protected]


On Mon, Sep 14, 2020 at 4:33 PM Michael Grossie <[email protected]>
wrote:

> Vince, thanks for responding.   I would consider that if the system had
> not been running for almost 10 days prior, without an issue. The error that
> you mentioned appears to have occurred because of the "engine" shutting
> down.
>
> Also that same code has been running flawless for the last four hours.
> That is why I question a space issue, or just a glitch in the SD card.
> I can post the entire syslog if that will help, and the entire
> Extra_sensors_Service script if needed.
>
> Michael H Grossie
> [email protected]
>
>
> On Mon, Sep 14, 2020 at 2:55 PM vince <[email protected]> wrote:
>
>> On Monday, September 14, 2020 at 12:19:07 PM UTC-7, Michael Grossie wrote:
>>>
>>> *  File "/home/weewx/bin/user/extra_sensors_service.py", line 26, in
>>> load_data*
>>> *    self.get_DHT22(event)*
>>> *  File "/home/weewx/bin/user/extra_sensors_service.py", line 36, in
>>> get_DHT22*
>>> *    temperature = temperature * 9.0/5.0 + 32*
>>> *TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'*
>>>
>>>
>> Wild guess, but it's not possible to do that calculation if temperature
>> is not gotten by the get_DHT22(event) above.
>>
>> Perhaps you need to catch that in a try/except check ?
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/hJ3ZNKmKO6s/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/2f3ebb50-a51d-47e5-a5ab-c0dc0b50c46bo%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/2f3ebb50-a51d-47e5-a5ab-c0dc0b50c46bo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAJBcQpV7A%2BeYZEOE%3DaMVRbZwRC7oXNoYq3x%3DUE3hRK0gre7vmw%40mail.gmail.com.

Reply via email to