Hi Gary, It did put one in, at the bottom of the weewx.conf
I commented out the three for the purple and the pm10.
# Options for extension 'aqi'
[AqiService]
[[standard]]
data_binding = aqi_binding
standard = user.aqi.us.NowCast
[[air_sensor]]
data_binding = wx_binding
usUnits = usUnits
dateTime = dateTime
pm2_5 = pm2_5
# temp = purple_temperature
# pressure = purple_pressure
# pm10_0 = pm10_0_atm
From: [email protected] <[email protected]> On Behalf Of
gjr80
Sent: Saturday, July 10, 2021 8:02 PM
To: weewx-user <[email protected]>
Subject: Re: [weewx-user] Highchart Air Quality
You have a service that WeeWX is trying to load and the service expects to find
a [AqiService] top level stanza in weewx.conf but the stanza does not exist.
This could be due a number of reasons; it could be differing case (case matters
here), a typo, incorrect hierarchy (it may be present as [[AqiService]]) etc.
You need to look carefully at weewx.conf. If you used an extension installer it
may have been installed/configured correctly to start with but subsequent
edits/changes to weewx.conf may have broken it. This is easily done if
installing/uninstalling/configuring a number of services, particularly if
manually editing weewx.conf.
Gary
On Saturday, 10 July 2021 at 21:10:35 UTC+10 Mitchell Tuckness wrote:
I am getting these errors:
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: ****
self.loadServices(config_dict)
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** obj =
weeutil.weeutil.get_object(svc)(self, config_dict)
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File
"/home/weewx/bin/user/aqi/service.py", line 97, in __init__
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: ****
standard_config_dict = config_dict['AqiService']['standard']
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File
"/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** val =
dict.__getitem__(self, key)
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** KeyError:
'AqiService'
Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** Exiting.
--
You received this message because you are subscribed to a topic in the Google
Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/Pq9ZwFkyDvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/10a131d2-15e0-4078-9570-53988c0d5d79n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/10a131d2-15e0-4078-9570-53988c0d5d79n%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/0be901d7765a%2465d374d0%24317a5e70%24%40maladomini.com.