Hello everybody

I'm using weewx on a Raspi 3B together with the Vaisala WXT520. The WXT is 
sending automatic messages (ASCII, 0R1: 3s, 0R2: 15s, 0R3: 60s, 0R0: 60s).
After starting weewx everthing looks OK but after sometimes houres, 
sometimes days, weewx stop working. In the syslog I can see the following 
entries:
Apr  2 02:55:25 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Rc' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:55:35 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Sn' (b'0.4N0R0'):could not convert string to float: b'0.4N0R'
Apr  2 02:55:39 raspberrypi weewx[27403] INFO user.wxt5x0: unknown unit 
'b'D'' for rain
Apr  2 02:55:45 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Hp' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:55:53 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Hp' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:55:55 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Hp' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:56:00 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Hp' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:56:02 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Hp' (b'0.00R0'):could not convert string to float: b'0.00R'
Apr  2 02:56:09 raspberrypi weewx[27403] ERROR user.wxt5x0: parse failed 
for b'Rc' (b'0.0.9N'):could not convert string to float: b'0.0.9'
Apr  2 02:56:09 raspberrypi weewx[27403] INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Apr  2 02:56:09 raspberrypi weewx[27403] INFO weewx.engine: Shutting down 
StdReport thread
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__: Caught 
unrecoverable exception:
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****  '<' 
not supported between instances of 'NoneType' and 'float'
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****  
Traceback (most recent call last):
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****    
File "/usr/share/weewx/weewxd", line 157, in main
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****      
engine.run()
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****    
File "/usr/share/weewx/weewx/engine.py", line 208, in run
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****      
for packet in self.console.genLoopPackets():
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****    
File "/usr/share/weewx/user/wxt5x0.py", line 501, in genLoopPackets
Apr  2 02:56:09 raspberrypi weewx[27403] CRITICAL __main__:     ****      
packet = self._data_to_packet(data)
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****    
File "/usr/share/weewx/user/wxt5x0.py", line 533, in _data_to_packet
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****      
packet['rain_total'], self.last_rain_total)
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****    
File "/usr/share/weewx/user/wxt5x0.py", line 542, in _delta_rain
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****      
if rain < last_rain:
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****  
TypeError: '<' not supported between instances of 'NoneType' and 'float'
Apr  2 02:56:10 raspberrypi weewx[27403] CRITICAL __main__:     ****  
Exiting.

After restarting weewx everthing is working again.
So for me it looks like there are "collisions" between the automatic 
messages and the polled messages.
Can I reconfigure weewx to not poll the WXT and only use the automatic 
messages?

Kind regards
Sven

-- 
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/bf96db33-54cf-4e97-bd2d-7660e4cb50d4n%40googlegroups.com.

Reply via email to