Cannot integrate WeatherFlow Tempest

94 views
Skip to first unread message

Don Vawter

unread,
Jul 4, 2021, 3:08:20 PM7/4/21
to weewx-user
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

gjr80

unread,
Jul 4, 2021, 4:46:15 PM7/4/21
to weewx-user
I assume you are using this driver? If so have a close look at the install instructions and you will see the correct driver stanza is [WeatherFlowUDP] not [WeatherFlow]. Similarly, station_type needs to be WeatherFlowUDP not WeatherFlow.

If you installed the driver using wee_extension and configured WeeWX to use the driver using wee_config then something seems to have gone astray as the appropriate driver stanza name should have been automatically set for you.

Gary
Reply all
Reply to author
Forward
0 new messages