Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "purpleair", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Retrieve AQI (with AQandU conversion) from a Purpleair sensor via the CLI or as a library to your node script", | ||
@@ -5,0 +5,0 @@ "main": "lib/aqi.js", |
@@ -7,2 +7,18 @@ # purpleair | ||
## determine your purpleair sensor ID | ||
Open the Purple Air map: | ||
https://www.purpleair.com/map?mylocation | ||
and click on the sensor closest to your location. | ||
The URL bar will change to something like: | ||
`https://www.purpleair.com/map?opt=1/mAQI/a10/cC0&select=62217#15.69/37.737125/-122.414218` | ||
The sensor ID will be the value of the `select` parameter. In the above URL, the ID is 62217: | ||
`https://www.purpleair.com/map?opt=1/mAQI/a10/cC0&select=`**`62217`**`#15.69/37.737125/-122.414218` | ||
## cli usage | ||
@@ -9,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6399
87