I've written a driver for the same, and what I found while doing so, is 
that sometimes the weather link live device just doesn't want to 
participate, or there's some other network error. it seems that grebleem 
hasn't handled that any better than I did (thought I'm working on fixing 
that now)

On Friday, September 25, 2020 at 6:04:59 AM UTC-6 [email protected] wrote:

> It looks like the extension author forgot to check 'rain_rate_last' for 
> None values. Try filing an issues report with him/her.
>
> On Fri, Sep 25, 2020 at 3:37 AM '[email protected]' via weewx-user <
> [email protected]> wrote:
>
>> Hi,
>>
>> I am using WLL from https://github.com/grebleem/weewx-weatherlinkliveudp
>>
>> Basically it is working but I have from time to time crashes of Weewx 
>> with the following errors:
>>
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weewxd", line 154, in main
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****      
>> engine.run()
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 188, in run
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****      for 
>> packet in self.console.genLoopPackets():
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/user/weatherlinkliveudp.py", line 440, in genLoopPackets
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****      packet 
>> = self.station.decode_data_wll(current_conditions['data'])
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/user/weatherlinkliveudp.py", line 239, in decode_data_wll
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****      
>> packet['rainRate'] = iss_udp_data['rain_rate_last'] * 
>> self.rainbarrel.bucketsize
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****  TypeError: 
>> unsupported operand type(s) for *: 'NoneType' and 'float'
>> Sep 25 12:34:15 Weewx weewx[2970] CRITICAL __main__:     ****  Exiting.
>>
>>
>> When I restart (or sometimes two restarts are needed) then it is working 
>> again some days.
>>
>> Any IDeas?
>>
>> Br,
>> JOhannes
>>
>> -- 
>> 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/eb5ce2d0-8607-4006-bade-a1687e443366n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/eb5ce2d0-8607-4006-bade-a1687e443366n%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/9df90421-159e-48b6-a2f8-ce6313cc3aefn%40googlegroups.com.

Reply via email to