Releases: DMBlakeley/homebridge-awair2
Update for issue #66
- [Bug] Corrected issue -
Multiple air data API calls during a single polling interval #66
. Determined that accessories were being duplicated resulting in additional API calls. For the HobbyistRequest failed with status code 429
, was returned on API calls as API call limits were exceeded. - Update if statement logic with
()
to ensure consistency and readability. - Update logging for consistency.
Fix config entries are only applied when their values evaluate to true (#65)
Checking whether a config entry exists is currently done by checking if their value evaluates to true after type conversion. This is for example a problem when trying to set carbonDioxideThreshold to 0.
'awair-pm' IAQ method update
[Enhancement] If awair-pm
selected, Glow and Glow-C will use awair-aqi
method with configured endpoint
and limit
.
Add awair-pm Air Quality Method
Add awair-pm
'air quality method'. When 'awair-pm' selected, the HomeKit Air Quality tile only reflects the particulates value, which is useful for automating air purifiers.
Updates to README.md and Config Schema
- [Enhancement] Update config schema titles to provide better description and consistency across titles.
- [Enhancement] Update README.md to be consistent with config schema changes. Clarify that when upgrading from 5.6.4 to 5.7.x that you should first uninstall plug-in, reboot, reinstall, configure and reboot. This is due to change in device accessory cache format.
Introduce Display and LED controls for selected models
v5.7.x of the plugin introduces control of the Awair device display for Awair Omni, Awair r2, and Awair Element. Reference Wiki for details and examples of HomeKit automations for this feature.
When migrating from v5.6.3 to v5.7.x please first uninstall homebridge-awair2 (copy your Developer Token first), restart Homebridge to clear 'homebridge-awair' cached accessories, install homebridge-awair2, add your Developer Token, and finally restart Homebridge one more time.
Update carbonDioxideThreshold default values
Change carbonDioxideThreshold
default from 0 to 1000 and carbonDioxideThresholdOff
default from 0 to 800.
Add new images to screenshot folder for Awair2 Wiki.
New install updates
While performing a new install on Raspberry-Pi 4B it was found that changing 'placeholder' values to 'default' in config.shema.jsan provided a simpler installation.
Added check that carbonDioxideThresholdOff
is less than carbonDioxideThreshold
. If not, set to default
values.
Housekeeping
Remove unused functions (getLocalData, getLocalConfig, getApiUsage).
Correct Awair device type
Correctly define Awair devices as 'air quality monitor', not 'air purifier'.