Author Topic: Purple Air scripts  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Purple Air scripts
« on: May 15, 2022, 04:48:33 PM »
So I have my station up.  I have it enabled in Weather Display, as a graph is started.  Where's the Purple Air scripts for Saratoga Templates?

Sensor ID 145458  Bismarck North Dakota.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: Purple Air scripts
« Reply #1 on: May 16, 2022, 04:49:23 PM »
Tried making my own simple page.  But the widget is a foot long.
https://www.bismarckweather.net/wxaqi.php

But yet when I put the widget in a simple HTML page, it's fine.  Anyone know why that is?
https://www.bismarckweather.net/test.html
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: Purple Air scripts
« Reply #2 on: May 17, 2022, 10:59:47 AM »
Well, for anyone else, I resorted to an IFRAME to fix the issue.  Not ideal, but it works for now.  I just IFRAMED to wxaqi.html on my site.

I'm guessing something in the formatting of the wxnewpage.php template interfering with the code for the widget.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Online ConligWX

  • Forecaster
  • *****
  • Posts: 839
  • #conligwx
    • conligwx.org
Re: Purple Air scripts
« Reply #3 on: May 17, 2022, 12:02:26 PM »
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


 

anything