This is a node server to pull AQI data from the Purple Air network and make it available to a Universal Devices ISY994i Polyglot interface with Polyglot V2
(c) 2020 Robert Paauwe
- Backup Your ISY in case of problems!
- Really, do the backup, please
- Go to the Polyglot Store in the UI and install.
- Add NodeServer in Polyglot Web
- After the install completes, Polyglot will reboot your ISY, you can watch the status in the main polyglot log.
- Once your ISY is back up open the Admin Console.
- Configure the node server per configuration section below.
The settings for this node are:
- How often to poll the Purple Air service for current AQI data (in seconds)
- Not used
* A list of Purple Air devices to monitor. For the 'key', enter a name to use to identify the device (under 14 characters, no special characters). For the 'value' enter the Purple Air sensor ID. This is typically just a number.
- sys.node.[address].ST (Node sever online)
- sys.node.[address].CLITEMP (current temperature)
- sys.node.[address].CLIHUM (current humidity)
- sys.node.[address].BARPRES (current barometric pressure)
- sys.node.[address].GV0 (current PM2.5 value speed)
- sys.node.[address].GV1 (Age of data in minutes)
- sys.node.[address].GV3 (10 minute average)
- sys.node.[address].GV4 (30 minute average)
- sys.node.[address].GV5 (60 minute average)
- sys.node.[address].GV6 (6 hour average)
- sys.node.[address].GV7 (24 hour average)
- sys.node.[address].GV8 (1 week average)
- sys.node.[address].GV10 (EPA Air Quality Index number)
- sys.node.[address].GV11 (EPA Air Quality Index category)
- sys.node.[address].GV12 (Data confidence)
- Polyglot V2.
- ISY firmware 5.0.x or later
Open the Polyglot web page, go to nodeserver store and click "Update" for "Purple Air".
Then restart the Purple Air nodeserver by selecting it in the Polyglot dashboard and select Control -> Restart, then watch the log to make sure everything goes well.
The nodeserver keeps track of the version number and when a profile rebuild is necessary. The profile/version.txt will contain the profile_version which is updated in server.json when the profile should be rebuilt.
- 1.0.5 06/05/2022
- Switch to using new API
- 1.0.4 08/31/2020
- Fix confidence level calculation
- 1.0.3 08/31/2020
- Remove test message
- Trap and report connection errors
- 1.0.2 08/29/2020
- Change to allow multiple Purple air device nodes.
- 1.0.1 08/29/2020
- Add data confidence
- Fix typo
- 1.0.0 08/27/2020
- Initial version.