Author Topic: Repost from Weather Display topic  (Read 300 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Repost from Weather Display topic
« on: June 07, 2023, 08:50:20 AM »
So sorry I think I might have put this is the wrong place: so here it is again.

So I just noticed my Air Quality states Good, when in the NE we are all under an Unhealthy air quality status.

So, I'm just looking for a quick reference on where to look for the settings for the program and if/where the links should point to receive the air quality report for my area.

I'm not sure if that comes out of AVP or BGM

Also I know there are settings in the wxaqrissV2.php script but for some reason I believe there are also settings in the ajax-dashboard??

Thanks for any direction!

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Repost from Weather Display topic
« Reply #1 on: June 07, 2023, 09:49:47 AM »
Well I don't know what I did but it appers to be working now, lol.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Repost from Weather Display topic
« Reply #2 on: June 07, 2023, 09:57:45 AM »
Well perhaps not - At lest I am receiving unhealthy reports but I'm not sure it for my area. AVP Wilkes Barre Scranton PA 191 and I'm about 20 miles from there and my site is reading 171, and I have no air quality measuring devices so I must be getting a reading elsewhere.

??? So puzzled once again.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Repost from Weather Display topic
« Reply #3 on: June 07, 2023, 12:22:00 PM »
So I believe my problem is probably in both scripts --get-aqi-rss.php //Current Air Quality URL
$urlRealtime = "http://feeds.enviroflash.info/rss/realtime/9.xml";  //Baltimore, MD

I'm not in the Baltimore region and I believe this code should be changed to my area - but I don't know where to find that : "http://feeds.enviroflash.info/rss/realtime/9.xml";  //Baltimore, MD

In the wxaqirssV2.php script it also refers to Baltimore but again I don't know what I need to change it to.
Also a line states -- $hourlyaqianimation = "http://www.epa.gov/airnow/today/anim_aqi_va_wv_md_de_dc.gif";   I believe that should have something like "ny_pa_nj"; in it instead of the va_wv_md_de_dc.gif designation.

Again thanks for any help
« Last Edit: June 07, 2023, 05:36:59 PM by yamiacaveman »

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 441
    • Penn Lake Weather
Re: Repost from Weather Display topic
« Reply #4 on: June 07, 2023, 05:35:49 PM »
so I think i got it -- in the get-aqi-rss.php  //Current Air Quality URL
$urlRealtime = "http://feeds.enviroflash.info/rss/realtime/9.xml";  //Baltimore, MD

and also the wxaqirssV2.php had the same lines.

So I found this  https://feeds.enviroflash.info/  found my city and plugged in those numbers and it seems to work.

I am sure I am missing something else because there is this http://www.epa.gov/airnow/today/anim_aqi_va_wv_md_de_dc.gif and Ibelieve it should be something like $region = "ny_pa_nj"; /* Default region

So if anyone has anything else to add please do.