As Gary said, you need to include a [WMR200] stanza in weewx.conf. Normally, this is done automatically by the setup.py script but, for whatever reasons, that does not seem to have happened. No problem --- it can be done by the utility wee_config:
cd /home/weewx ./bin/wee_config --reconfigure --driver=weewx.drivers.wmr200 --no-prompt weewx.conf -tk On Wed, Mar 21, 2018 at 11:56 AM, Peter Sundin <[email protected]> wrote: > When try to Run the main program directly with following command: > sudo ./bin/weewxd weewx.conf > I get following reply in the terminal > > pi@raspberrypi:/home/weewx $ sudo ./bin/weewxd weewx.conf > Traceback (most recent call last): > File "./bin/weewxd", line 64, in <module> > weewx.engine.main(options, args) > File "/home/weewx/bin/weewx/engine.py", line 865, in main > engine = engine_class(config_dict) > File "/home/weewx/bin/weewx/engine.py", line 71, in __init__ > self.setupStation(config_dict) > File "/home/weewx/bin/weewx/engine.py", line 89, in setupStation > driver = config_dict[stationType]['driver'] > File "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in > __getitem__ > val = dict.__getitem__(self, key) > KeyError: 'WMR200' > > -- > 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. > -- 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.
