I have installed the udp driver but when I try to start the service I get 
this in the loag
Jul  4 12:43:27 raspberrypi weewx[5895] INFO weewx.engine: Loading station 
type WeatherFlow (user.weatherflowudp)
Jul  4 12:43:27 raspberrypi weewx[5895] ERROR weewx.engine: Import of 
driver failed: 'WeatherFlowUDP' (<class 'KeyError'>)
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****  
Traceback (most recent call last):
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
  self.console = loader_function(config_dict, self)
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/user/weatherflowudp.py", line 180, in loader
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
  return WeatherFlowUDPDriver(**config_dict[DRIVER_NAME])
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****    
  val = dict.__getitem__(self, key)
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL weewx.engine:     ****  
KeyError: 'WeatherFlowUDP'
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL __main__: Unable to load 
driver: 'WeatherFlowUDP'
Jul  4 12:43:27 raspberrypi weewx[5895] CRITICAL __main__:     ****  
Exiting...

In weewx.conf I have
 station_type = WeatherFlow
[WeatherFlow]
     driver = user.weatherflowudp
##############################################################################

and in /usr/share/weewx/user  I have weatherflowudp.py

This is on a pi 4

TIA

-- 
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/a949c831-c23d-449d-91de-919c30d778d7n%40googlegroups.com.

Reply via email to