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

0 Members and 1 Guest are viewing this topic.

Offline vinceskahan

  • Member
  • *
  • Posts: 21
    • 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.
Davis VP2 to a Seagate Dockstar (pogoplug) running weewx
Home site:        http://www.skahan.net/weewx
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:             CW6681

Offline weather34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 875
    • Weather34 Meteobridge MB-SMART
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 ]



"It is better to fail in originality than to succeed in imitation."--Herman Melville

https://weather34.com/homeweatherstation/meteobridge-mb-smart.html

Offline vinceskahan

  • Member
  • *
  • Posts: 21
    • 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.
Davis VP2 to a Seagate Dockstar (pogoplug) running weewx
Home site:        http://www.skahan.net/weewx
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:             CW6681

Offline cjohlandt

  • Member
  • *
  • Posts: 48
    • 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
Weather Display 10.37S73

Offline vinceskahan

  • Member
  • *
  • Posts: 21
    • 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.

Davis VP2 to a Seagate Dockstar (pogoplug) running weewx
Home site:        http://www.skahan.net/weewx
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:             CW6681

Offline cjohlandt

  • Member
  • *
  • Posts: 48
    • 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
Weather Display 10.37S73

 

anything