Why aren’t the widgets working on my website anymore?
PurpleAir Local Air Quality Sensors
Same… all of a sudden the widgets aren’t working.
Same problem here, my web page normally displays three widgets and now the spinner just spins and the widgets are never displayed. Links to the map showing where each sensor is does work. So sensors seem to be OK, just the widgets are failing.
Same… endpoint is not returning valid JS
$ curl 'https://www.purpleair.com/widget.json?callback=jQuery35107784175020361858_1730334496234&show=135112&key=xxxx&_=1730334496235'
jQuery35107784175020361858_1730334496234 ({"mapVersionString":""})
It looks like widget.json got changed to pa.widget.js when you get new widget code from the map. Hopefully the old URL can be fixed.
Edit: nevermind, the new widget code is also broken
Yes @skyepn @richard47 @StormChaser45662 @ctandy
The widget issue should be fixed as of this morning. Please let us know if you continue to have problems.
The only thing that still isn’t working on the widget is that is still showing I don’t have a micro SD card in it
We released some updates for the widget that should have fixed this issue. Please let us know if you’re still experiencing it.
It still doesn’t show that my microSD card in installed on the widget on my website, but it still does on the PurpleAir Website.
http://stormchasercenter.net/PurpleAir.aspx
@StormChaser45662, we recently pushed another update for the widget. Among other things, the SD detection issue is now fixed (we’ve verified this on your site as well).
@StormChaser45662 @ctandy @richard47 @skyepn
We’ve pushed an update to the widget with some fixes and improvements. If anything isn’t working properly, please let us know and include either your widget code or a public link.
I’m trying to input a Widget on my high school course’s page:
“”<divid=‘PurpleAirWidget_97817_module_US_EPA_AQI_conversion_C0_average_10_layer_US_EPA_AQI’>Loading PurpleAir Widget… /div>
But it shows this:
Any reason why it’s showing the wrong sensor?
You need the following coding: below:
<div id='PurpleAirWidget_97817_module_US_EPA_AQI_conversion_C0_average_0_layer_US_EPA_AQI'>PurpleAir Widget Loading...</div>
<script src='https://www.purpleair.com/pa.widget.js?key=3SC22UPQB38KU9G9&module=US_EPA_AQI&conversion=C0&average=0&layer=US_EPA_AQI&container=PurpleAirWidget_97817_module_US_EPA_AQI_conversion_C0_average_0_layer_US_EPA_AQI'></script>