You are missing a section [Simulator] in your configuration file. A station type (in this case, "Simulator"), must have a matching stanza (in this case, "[Simulator]").
Don't just set station_type to "Simulator". Instead, use *wee_config --reconfigure <http://www.weewx.com/docs/latest/utilities.htm#Action_--reconfigure>*. On Wed, Aug 23, 2023 at 6:38 AM Karl Napp <[email protected]> wrote: > Hi, > I'm new using weex. > I cannot start weewx with station_type = Simulator in wweex.conf. > Following error appears: > > Traceback (most recent call last): > File "/usr/share/weewx/weewxd", line 249, in <module> > main() > File "/usr/share/weewx/weewxd", line 148, in main > engine = weewx.engine.StdEngine(config_dict) > File "/usr/share/weewx/weewx/engine.py", line 81, in __init__ > self.setupStation(config_dict) > File "/usr/share/weewx/weewx/engine.py", line 103, in setupStation > driver = config_dict[station_type]['driver'] > File "/usr/lib/python3/dist-packages/configobj.py", line 554, in > __getitem__ > val = dict.__getitem__(self, key) > KeyError: 'Simulator' > > Any ideas ? thanks in advance > > -- > 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/bcfb67fb-aba4-4d77-bf4d-0671c0678821n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/bcfb67fb-aba4-4d77-bf4d-0671c0678821n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEAnF9Y6%3DMzE-JHNR%3DfUwNd7rszotvik-3piBhob%2BpBAmw%40mail.gmail.com.
