I’m in the process of co-locating my PurpleAir sensors but am having difficulties with downloading the data from October 27-29th, 2022. I followed the normal procedures - edit the start and end dates, 10-minute average but the downloaded Excel sheet is empty. Any suggestions?
The sensors no longer report data to ThingSpeak.com, and that is where the tool you are using gets data. We will update it to use the new API, but that is a work in progress, so please bear with us. In the meantime, the API (api.purpleair.com) will provide all historical data.
Just to add, I have tried using the API through the Sample request on the PurpleAir API website, but I get the following error:
“description”: “API calls to this endpoint (get_sensor_history) have been restricted. Please try again later or contact PurpleAir for more information.”
To clarify on what Kevin shared - there is a limit to the amount of data one calls or downloads at one time.
If one has a loop in a program/script, then one can make several calls to ‘build’ that data file.
There is more information on this endpoint limitation provided by PurpleAir in other community forum posts.