No AQI on Belchertown Skin

533 views
Skip to first unread message

super zee

unread,
Oct 17, 2021, 1:02:42 AM10/17/21
to weewx-user
Can someone help me understand why the current AQI won't show up in the Belchertown skin?  Here is what I have in my weewx.conf:


            forecast_enabled = 1
      forecast_provider="aeris"
            forecast_api_id = "2XPqhckudySx8ukdCjsHz"
            forecast_api_secret = "zMGHGb4SlobEOm9QmTy73Zmd0g7xnhl2681vTd7x

And here is what is in the graph.conf:

[[Chart5]]
          title = Air Quality Index
          [[[aqiChart]]]

Can someone enlighten me as to what I'm doing wrong?

Thanks, 

Chris 
Message has been deleted

C Z

unread,
Oct 18, 2021, 3:01:55 PM10/18/21
to weewx-user
Thanks Doug.  Let me take a look at the new skin and try it out.  I saw it on Pat O'Brien's web site but didn't know where to download it.  Looks like he also added a web cam feature.  Very cool!


Chris 
On Sunday, October 17, 2021, 07:09:17 PM MST, Doug Jenkins <do...@dougjenkins.com> wrote:


Chris:

1. You need to be on the Belchertown 1.3b1 release of the skin in order to get the latest AQI fixes that were applied this year. here is the instructions how to do that:

https://github.com/poblabs/weewx-belchertown#how-to-install-the-development-version

2. You can not chart the AQI data inside of Belchertown skin. the AQI data is pulled when the skin queries AERIS during its forecast cycle. The data is not stored in the weewx database, so the graphs will not work. I checked my setup and I am not recording the AQI data in the archive table.

3. For ease, here is my AQI setup for belchertown. it is currently working:

[[[Extras]]]
           
            # For help refer to the docs at https://github.com/poblabs/weewx-belchertown
           
            #--- General Options ---
            # belchertown_debug = 0
            belchertown_locale = auto
            theme = light
            theme_toggle_enabled = 1
            site_title = Largo Weather
            station_observations = barometer, dewpoint, outHumidity, rainWithRainRate, cloudbase, visibility, cloud_cover
            beaufort_categoty = 1
            manifest_name = largoweather.com
            manifest_short_name = LW
            aeris_map = 0
            # radar_html = ''   #  (default seems to center on your lat/lon)
            # radar_html_dark = None
            radar_zoom = 10
            radar_marker = 1
            almanac_extras = 1
            highcharts_enabled = 1
            graph_page_show_all_button = 1
            graph_page_default_graphgroup = day
            highcharts_homepage_graphgroup = day
            highcharts_decimal = auto
            highcharts_thousands = auto
            #googleAnalyticsId = ""
            # pi_kiosk_bold = "false"
            # pi_theme = "auto"
            webpage_autorefresh = 300000
            reload_hook_images = 1
            reload_images_radar = 300
            # reload_images_hook_asi = -1
            # reload_images_hook_af = -1
            # reload_images_hook_as = -1
            # reload_images_hook_ac = -1
            # show_last_updated_alert = 1
            # last_updated_alert_threshold = 1800
           
            #--- Common Titles under Labels Section to Change ---
            home_page_header = "Current Station Weather Conditions"
            graphs_page_header = Weather Observation Graphs
            reports_page_header = NOAA Climate Reports
            records_page_header = Station Records
            about_page_header = About LargoWeather.com
            powered_by = Observations are powered by a <a href="/about" target="_blank">Acurite 6037 5n1 Weather Station</a>
            footer_copyright_text = 2021 Largo Weather
            footer_disclaimer_text = Never make important decisions based on info from this website.
           
            #--- MQTT Websockets (for Real Time Streaming) Options ---
            mqtt_websockets_enabled = 1
            mqtt_websockets_host = wxsocket.largoweather.com
            mqtt_websockets_port = 443
            mqtt_websockets_ssl = 1
            mqtt_websockets_topic = weather/loop
            disconnect_live_website_visitor = 1800000
           
            #--- Forecast Options ---
            forecast_enabled = 1
            forecast_provider = aeris
            forecast_api_id = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            forecast_api_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            forecast_units = us
            forecast_lang = en
            forecast_stale = 7200
            forecast_aeris_use_metar = 1
            forecast_interval_hours = 24
            forecast_alert_enabled = 3
            forecast_alert_limit = 5
            forecast_show_daily_forecast_link = 1
            forecast_daily_forecast_link = https://wx.aerisweather.com/local/us/fl/largo/forecast/YYYY/MM/DD
            aqi_enabled = 1
            aqi_location_enabled = 1

--
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/sovTR1uUxIU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/0649b36f-0388-4fbc-9310-526069b5780cn%40googlegroups.com
.

C Z

unread,
Oct 20, 2021, 10:10:52 AM10/20/21
to weewx-user
Doug
When it downloads the zip file, it downloads weewx-belchertown.master.zip.  Is this the right file?   Do I just change the command to sudo wee_extension -- install weewx-belchertown.master.zip?

Chris 


Doug Jenkins

unread,
Oct 20, 2021, 2:35:00 PM10/20/21
to weewx-user
Chris:

Yes.  Make sure you used the link from Pat's documentation (https://github.com/poblabs/weewx-belchertown/archive/master.zip) to download the latest commit from github.

Then backup your weewx.conf file and any files that you changed in the skins/Belchertown/* directory as these will be overwritten with this master.zip file.

Finally, you would run sudo wee_extension --install master.zip in the directory where you downloaded the file. This will replace your belchertown skin with the latest.

If this helps, here are the commands (on ubuntu)

# CODE START
cd ~
sudo wee_extension --install master.zip
sudo service weewx restart
# CODE END

Let me know if this helps!

super zee

unread,
Oct 21, 2021, 10:07:58 AM10/21/21
to weewx-user
Okay thanks Doug.  Let me try it.  
If I want to backup copy my whole Belchertown folder, can I use cp /etc/weewx/skins/Belchertown /etc/weewx/skins/Belchertown-old  ?

Will the cp command copy a whole folder to back it up?  Or is it just for files?

Chris 

Clifford Snow

unread,
Oct 21, 2021, 10:52:28 AM10/21/21
to weewx...@googlegroups.com
On Thu, Oct 21, 2021 at 7:08 AM 'super zee' via weewx-user <weewx...@googlegroups.com> wrote:
Okay thanks Doug.  Let me try it.  
If I want to backup copy my whole Belchertown folder, can I use cp /etc/weewx/skins/Belchertown /etc/weewx/skins/Belchertown-old  ?

Will the cp command copy a whole folder to back it up?  Or is it just for files?

I believe the copy command you want is cp -R /etc/weewx/skins/Belchertown /etc/weewx/skins/Belchertown-old 

The -R recursively copies all folders to the new location. See man cp

Best,
Clifford
--
@osm_washington
OpenStreetMap: Maps with a human touch

super zee

unread,
Oct 24, 2021, 1:13:13 AM10/24/21
to weewx-user
Thanks Clifford.  Let me try cp -r

Chris 

super zee

unread,
Oct 27, 2021, 12:18:42 PM10/27/21
to weewx-user
Thanks Doug!  Your code worked like a charm.  Here is the current site.  I will keep adding the code from Pat to incorporate the web cam.  


Chris Z
WG7B    

Doug Jenkins

unread,
Nov 8, 2021, 5:10:44 PM11/8/21
to weewx...@googlegroups.com
No problem Chris! The site looks great and operates well on my side of the world :)

Pat did mention that to get the webcam working, there is a specific comment and commit you need to get from his GitHub. I would just go to his github and search for it. He has it working on his site now and probably will have the code for his release general release.

Good luck and good reporting! 

Doug

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/85ffb56e-0d86-4a66-83e0-75c067ecf952n%40googlegroups.com.


--

super zee

unread,
Nov 9, 2021, 12:38:09 AM11/9/21
to weewx-user
I got it working.  I put the code in from Pat that adds a webcam tab behind the radar.

Chris 

Reply all
Reply to author
Forward
0 new messages