I have just rebuilt my Raspberry PI device and am in the process of putting
weewx back on.
I have a Maplin Weather Station so I am using the FineOffsetUSB driver.
Here are the relevant parts of the configuration file:
[Station]
station_type = FineOffsetUSB
[FineOffsetUSB]
model = WH1080
polling_mode = ADAPTIVE
When I run `wee_device --help` I get the following error message:
Using configuration file /etc/weewx/weewx.conf
No configuration for device 'driver'
To see if I could get more information I ran `weewxd` as root and I got
the following stack trace:
Traceback (most recent call last):
File "/usr/bin/weewxd", line 64, in <module>
weewx.engine.main(options, args)
File "/usr/share/weewx/weewx/engine.py", line 841, in main
engine = engine_class(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 70, in __init__
self.setupStation(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 88, in setupStation
driver = config_dict[stationType]['driver']
File "/usr/local/lib/python2.7/dist-packages/configobj.py", line 554, in
__getitem__
val = dict.__getitem__(self, key)
KeyError: 'driver'
I am pretty sure that the configuration file is correct, but am very happy
to be corrected.
- weewx version = 3.6.2-1
- raspbian version = 8
- python version = 2.7.9
Does anyone have any ideas on what this might be? Happy to provide more
information if required, although there are no logs being generated so
would need some advice on what extra information and how to gather it.
Thanks, Russell
--
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].
For more options, visit https://groups.google.com/d/optout.