Author Topic: is purpleair down ?  (Read 1355 times)

0 Members and 1 Guest are viewing this topic.

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 180
    • home site
is purpleair down ?
« on: July 21, 2019, 12:34:42 AM »
Getting a "This application is temporarily over its serving quota. Please try again later." trying to access their website and my PA is not responding to requests for data via wget of the /json url locally either.   Weewx hasn't been able to get anything for almost 6 hours now from the station either.
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture (docker)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: is purpleair down ?
« Reply #1 on: July 21, 2019, 12:57:42 AM »
yes its down , no need tear into weewx ..however raises the question of devices having cloud dependancies , frustrating spending hours fixing something that isnt broken locally..

 [ You are not allowed to view attachments ]




Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 180
    • home site
Re: is purpleair down ?
« Reply #2 on: July 21, 2019, 01:51:05 AM »
Yes.

That said, I did find a workaround that seems to avoid the cloud dependency.

In poking around I noticed that a wget of http://purpleair/json (the hostname of my unit is 'purpleair' in the local hosts file) is now redirecting to http://purpleair-NNNN/json (where NNNN is the serial number of my PA unit).  A wget of http://purpleair-NNNN/json worked as expected.  Cool.

So I added an alias to my local hosts file and edited weewx.conf to 'also' use purpleair-NNNN as the hostname (just in case) and restarted weewx and it works again 'without' the cloud dependency.

I can't speculate on whether the surprising redirect is something in their code that is some failsafe if their cloud goes away or not.  Also can't guess whether using purpleair-NNNN for the hostname will continue to work in my wget (and weewx doing basically the same thing).

But it's a workaround that works for me.  Give it a try.
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture (docker)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline cjohlandt

  • Senior Member
  • **
  • Posts: 73
    • Cedar Ridge Weather
Re: is purpleair down ?
« Reply #3 on: July 21, 2019, 07:44:09 AM »
Looks like Purple Air is back online this morning.  I'm curious if your work around is still working.

-Chris

Sent from my Pixel 3 XL using Tapatalk

Davis Vantage Pro2 Plus Wireless, WeatherLink Live
WXM WiFi (identical to Ecowitt WS69), Ecowitt GW2000
PurpleAir PA-II

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 180
    • home site
Re: is purpleair down ?
« Reply #4 on: July 21, 2019, 11:57:59 AM »
Looks like Purple Air is back online this morning.  I'm curious if your work around is still working.

Yes, it is still working for both a 'curl' and from the weewx purpleair extension.

WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture (docker)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline cjohlandt

  • Senior Member
  • **
  • Posts: 73
    • Cedar Ridge Weather
Re: is purpleair down ?
« Reply #5 on: July 21, 2019, 10:26:15 PM »
Thanks.  Good to know.

Sent from my Pixel 3 XL using Tapatalk

Davis Vantage Pro2 Plus Wireless, WeatherLink Live
WXM WiFi (identical to Ecowitt WS69), Ecowitt GW2000
PurpleAir PA-II