Reads Air Quality Data from a PurpleAir Sensor
A Raycast extension that lets you get data from a PurpleAir Sensor.
To use this extension, you must have an PurpleAir API key, a specific sensor ID, and add it during the extension configuration screen.
You can request an API key from PurpleAir by following these instructions. You only need a READ key.
You can find a sensor to monitor by visiting the PurplAir Map and picking a sensor, looking at the URL and copying the five digit number after select= in the URL. It should be a number like 166601.
You can now add multiple sensor IDs separated by commas to monitor several locations at once. This is great for tracking air quality in different areas that matter to you.
Support for private sensors has been added through read keys. The order of read keys must match the order of private sensor IDs in your list.
The extension automatically finds and displays the nearest PurpleAir sensor to your current location, helping you get relevant local air quality data without manual configuration. This feature can be disabled in preferences.
For each sensor, the extension provides:
The extension has been optimized for better performance with streamlined data processing and enhanced AQI calculation logic that matches PurpleAir's official map.