Closed danswett closed 1 year ago
You will need to email purple air for your own API key.
I will upload a fix shortly--O(days), not O(hours)--just need to update the docs a bit, make sure tests still pass.
Thank you!!
On Wed, Jun 15, 2022 at 8:32 PM Doug Claar @.***> wrote:
You will need to email purple air for your own API key.
I will upload a fix shortly--O(days), not O(hours)--just need to update the docs a bit, make sure tests still pass.
— Reply to this email directly, view it on GitHub https://github.com/dclaar/purple_air/issues/17#issuecomment-1157193623, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4JWNNZIDHRLXYWLWT3BX3VPKN27ANCNFSM5YS3FADQ . You are receiving this because you authored the thread.Message ID: @.***>
As noted, you will need an API read key, but should be fixed!
Files changed:
README.md | 30 ++++++++++++++++++++++--------
copy_for_web.py | 23 ++++++++++++++---------
copy_to_stick.md | 24 ++++++++++++++++--------
flash/apps/WebAQI.py | 25 ++++++-------------------
flash/aqi.py | 6 ++++--
flash/test_WebAQI.py | 23 +++++------------------
6 files changed, 67 insertions(+), 64 deletions(-)
Really, you need to copy these new versions:
flash/apps/WebAQI.py
flash/aqi.py
And modify your aqi_web.json
, adding the comma and the read_api_key
bit:
{"name": 0, "correction_index": 2, "sensor_location": "38889", "brightness": 2, "read_api_key": "########-####-####-####-############"
}
Thank you!!
On Sat, Jun 18, 2022 at 2:05 PM Doug Claar @.***> wrote:
As noted, you will need an API read key, but should be fixed!
Files changed:
README.md | 30 ++++++++++++++++++++++-------- copy_for_web.py | 23 ++++++++++++++--------- copy_to_stick.md | 24 ++++++++++++++++-------- flash/apps/WebAQI.py | 25 ++++++------------------- flash/aqi.py | 6 ++++-- flash/test_WebAQI.py | 23 +++++------------------ 6 files changed, 67 insertions(+), 64 deletions(-)
Really, you need to copy these new versions:
flash/apps/WebAQI.py flash/aqi.py
And modify your aqi_web.json, adding the comma and the read_api_key bit:
{"name": 0, "correction_index": 2, "sensor_location": "38889", "brightness": 2, "read_api_key": "########-####-####-####-############"}
— Reply to this email directly, view it on GitHub https://github.com/dclaar/purple_air/issues/17#issuecomment-1159562855, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4JWNPSKHJDOPVKCUQGXCLVPY22NANCNFSM5YS3FADQ . You are receiving this because you authored the thread.Message ID: @.***>
Alas the new purple air API change has broken this wonderful integration.
New API requires an API key.
Will try to find time to poke at this myself, but wanted to raise the issue as well since both of my M5Sticks are now broken.