homebridge-philips-air-purifier-complete 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [3.2.2] — 15/06/2026
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixed a Homebridge crash loop when restoring cached purifier accessories after the first
|
|
14
|
+
successful v3 platform startup. Optional HomeKit characteristics are now reused instead of
|
|
15
|
+
added again on restored services.
|
|
16
|
+
- Corrected package lockfile version metadata after the v3.2.1 release.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
9
20
|
## [3.2.1] — 15/06/2026
|
|
10
21
|
|
|
11
22
|
### Fixed
|
package/index.js
CHANGED
|
@@ -649,7 +649,7 @@ class PhilipsAirPurifierAccessory {
|
|
|
649
649
|
this.updatePurifierCharacteristics();
|
|
650
650
|
});
|
|
651
651
|
|
|
652
|
-
this.purifierService.
|
|
652
|
+
this.purifierService.getCharacteristic(Characteristic.RotationSpeed)
|
|
653
653
|
.onGet(() => MODE_TO_SPEED[this.state.mode] ?? 100)
|
|
654
654
|
.onSet(async (value) => {
|
|
655
655
|
this.log.info(`[SET] RotationSpeed: ${value}%`);
|
|
@@ -665,7 +665,7 @@ class PhilipsAirPurifierAccessory {
|
|
|
665
665
|
});
|
|
666
666
|
|
|
667
667
|
// Child Lock (LockPhysicalControls)
|
|
668
|
-
this.purifierService.
|
|
668
|
+
this.purifierService.getCharacteristic(Characteristic.LockPhysicalControls)
|
|
669
669
|
.onGet(() => this.state.childLock
|
|
670
670
|
? Characteristic.LockPhysicalControls.CONTROL_LOCK_ENABLED
|
|
671
671
|
: Characteristic.LockPhysicalControls.CONTROL_LOCK_DISABLED)
|
|
@@ -681,7 +681,7 @@ class PhilipsAirPurifierAccessory {
|
|
|
681
681
|
this.platformAcc.addService(Service.AirQualitySensor, 'Air Quality');
|
|
682
682
|
this.airQualitySensor.getCharacteristic(Characteristic.AirQuality)
|
|
683
683
|
.onGet(() => this.pm25ToAirQuality(this.state.pm25));
|
|
684
|
-
this.airQualitySensor.
|
|
684
|
+
this.airQualitySensor.getCharacteristic(Characteristic.PM2_5Density)
|
|
685
685
|
.onGet(() => this.state.pm25 || 0);
|
|
686
686
|
|
|
687
687
|
// HEPA Filter Maintenance
|
|
@@ -724,7 +724,7 @@ class PhilipsAirPurifierAccessory {
|
|
|
724
724
|
await this.executeCommand('light', [level.toString()], { lightLevel: level });
|
|
725
725
|
this.updateLightCharacteristics();
|
|
726
726
|
});
|
|
727
|
-
this.lightService.
|
|
727
|
+
this.lightService.getCharacteristic(Characteristic.Brightness)
|
|
728
728
|
.onGet(() => {
|
|
729
729
|
if (this.state.lightLevel === LIGHT.DIM) return 50;
|
|
730
730
|
if (this.state.lightLevel === LIGHT.OFF) return 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-philips-air-purifier-complete",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"customUi": true,
|
|
5
5
|
"description": "Homebridge plugin for Philips Air Purifier with bundled CoAP control library and Python 3.12+/Node.js 24 support",
|
|
6
6
|
"main": "index.js",
|