No, it is not good. But, the VP2 driver is used by hundreds, maybe
thousands of users. I'm sure it can be made to work.

What happened after putting in the fix for the extension radiationhours?

-tk

On Fri, May 15, 2020 at 7:21 AM Meteo Oberwallis <[email protected]>
wrote:

> Thx Tom. I hope, this failure its away. Its not good, when i must clear
> the Logger every Day.
>
> Am Freitag, 15. Mai 2020 16:10:26 UTC+2 schrieb Tom Keffer:
>>
>> Or, even simpler,
>>
>> tempe = event.record.get('outTemp', 15.0)
>>
>> -tk
>>
>> On Fri, May 15, 2020 at 7:04 AM Jacques Terrettaz <[email protected]>
>> wrote:
>>
>>> Hi Meteo Oberwallis,
>>>
>>> Try to modify the script /usr/share/weewx/user/radiationhours.py as
>>> follow :
>>>
>>> Replace (in line 20 ?) :
>>>
>>> tempe = float(event.record.get('outTemp'))
>>>
>>> by
>>>
>>> tempe = event.record.get('outTemp')
>>> if tempe is None:
>>>     tempe=15
>>>
>>> --
>>> 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/e23b1667-2355-4cfa-b554-55d8d0e9cd01%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/e23b1667-2355-4cfa-b554-55d8d0e9cd01%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/6e52ed1a-ba10-49c1-a6eb-0492eccd664b%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/6e52ed1a-ba10-49c1-a6eb-0492eccd664b%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/CAPq0zECfs-sxQFzSb-oK5keFm3_Fcr%3D%3DSxAZa%2BQAAKkB4VwgUQ%40mail.gmail.com.

Reply via email to