homebridge-cmd4 8.0.0 → 8.0.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 +3 -19
- package/Cmd4Platform.js +5 -3
- package/RUNNING_CHANGELOG.md +19 -0
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,9 @@
|
|
|
1
1
|
# Homebridges-cmd4 - CMD4 Plugin for Homebridge - Supports ~All Accessory Types and now all Characteristics too!!
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
##### Documentation Changes
|
|
5
|
-
* Document changes for homebridge v2 where TargetAirQuality and TargetSlatState are deprecated ([80ef143](https://github.com/ztalbot2000/homebridge-cmd4/commit/80ef143fa68ff7abedd6bcf4b715d2dab3ae8451))
|
|
6
|
-
* Update documentation for deprecated characteristics ([15b4821](https://github.com/ztalbot2000/homebridge-cmd4/commit/15b482135fbd97e0d379ea2602fd1566bab8a952))
|
|
2
|
+
#### 8.0.2 (2024-10-20)
|
|
7
3
|
|
|
8
4
|
##### Bug Fixes
|
|
9
|
-
* fix for homebridge v2 where TargetSlateStte and TargetAirQuality are deprecated ([6acfbb2](https://github.com/ztalbot2000/homebridge-cmd4/commit/6acfbb26bf56a355d76f3f96dafabdfefd26bbb6))
|
|
10
|
-
* Fix for homebridge v2 Formats&Perms&Units only available directly from HAP ([2a9d6e9](https://github.com/ztalbot2000/homebridge-cmd4/commit/2a9d6e976647f1fa7e1a3ee34e5080a3c28eae73))
|
|
11
|
-
* Fix lint error ([286dc68](https://github.com/ztalbot2000/homebridge-cmd4/commit/286dc68441c776a93f0f0d913db326fa9ccafeec))
|
|
12
|
-
* Fix for homebridge v2 Formats&Perms&Units only available directly from HAP ([999f226](https://github.com/ztalbot2000/homebridge-cmd4/commit/999f226855de026b3bb0e9ecdd237fc7d0976f22))
|
|
13
|
-
* Fix add beta tag ([9b36408](https://github.com/ztalbot2000/homebridge-cmd4/commit/9b364087ec489c5dfda503ceaf1429b626a929c0))
|
|
14
|
-
* Fix for homebridge v2 where some device types are deprecated ([e483326](https://github.com/ztalbot2000/homebridge-cmd4/commit/e483326d93d447f81be5978f337ce80834798145))
|
|
15
|
-
* stop committing npm package ([630f4fb](https://github.com/ztalbot2000/homebridge-cmd4/commit/630f4fb6f6cbd876b3fe21ee4689eb40a6adeacc))
|
|
16
|
-
* Fix: Update hap perms for homebridge v2 & deprecate devices for name changes ([5eb9ede](https://github.com/ztalbot2000/homebridge-cmd4/commit/5eb9ede93de6b80920defeacf704e7c560ee9bda))
|
|
17
|
-
* Fix: For homebridge V2 which removed Perms.READ and Perms.WRITE for PAIRED_READ & PAIRED_WRITE ([5e888b0](https://github.com/ztalbot2000/homebridge-cmd4/commit/5e888b09cee178ec722499e5429f2dba4fb5c8a9))
|
|
18
|
-
* Fix: homebridge V2 requires updated package fakegato-history ([61011e5](https://github.com/ztalbot2000/homebridge-cmd4/commit/61011e58378aff7eab351cc97ce05a167f759ca2))
|
|
19
|
-
* Fix: Set read for h omebridge v2 & Remove deprecated Characteristic.getValue() tests ([b1a8702](https://github.com/ztalbot2000/homebridge-cmd4/commit/b1a870288d73bdcd7abb26a439b9d8e722ad53ea))
|
|
20
|
-
|
|
21
5
|
|
|
22
|
-
|
|
6
|
+
* github-version-checker is an unused dependency and is also obsolete, so remove it ([ad220e82](https://github.com/ztalbot2000/homebridge-cmd4/commit/ad220e82b66accf630021dc8c4c136948b720acd))
|
|
7
|
+
* Also for 146, put back reachable as per Wongs fix ([0e131097](https://github.com/ztalbot2000/homebridge-cmd4/commit/0e131097087899cad530c132b699639e384b3ce0))
|
|
23
8
|
|
|
24
|
-
* Support only Platform Accessories as per Homebridge recommendation ([0ee6efc](https://github.com/ztalbot2000/homebridge-cmd4/commit/0ee6efcc09b7c87f346299fb9ccab5940fba7ee0))
|
|
25
9
|
|
package/Cmd4Platform.js
CHANGED
|
@@ -472,12 +472,14 @@ class Cmd4Platform
|
|
|
472
472
|
// true = from existing.
|
|
473
473
|
this.createServicesForAccessoriesChildren( accessory, true )
|
|
474
474
|
|
|
475
|
+
// Since 'updateReachability()' function and the key 'reachable' are deprecated in
|
|
476
|
+
// Homebridge_v2, We will define the key 'reachable' and set the locally read in copy
|
|
477
|
+
// of the value to 'true' explicitly to flag that this accessory is restored from cache.
|
|
478
|
+
existingAccessory.reachable = true;
|
|
475
479
|
|
|
476
480
|
} else
|
|
477
481
|
{
|
|
478
|
-
//
|
|
479
|
-
// the accessory does not yet exist, so we need to create it
|
|
480
|
-
//
|
|
482
|
+
// The accessory does not yet exist, so we need to create it.
|
|
481
483
|
this.log.info('Adding new platformAccessory:', displayName);
|
|
482
484
|
|
|
483
485
|
// Create the new PlatformAccessory
|
package/RUNNING_CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
## ChangeLog
|
|
7
|
+
* <a href="#Whats-new-in-8-0-2">**Whats new in 8.0.2**</a>
|
|
8
|
+
* <a href="#Whats-new-in-8-0-1">**Whats new in 8.0.1**</a>
|
|
7
9
|
* <a href="#Whats-new-in-8-0-0">**Whats new in 8.0.0**</a>
|
|
8
10
|
* <a href="#Whats-new-in-7-1-0">**Whats new in 7.1.0**</a>
|
|
9
11
|
* <a href="#Whats-new-in-7-0-3">**Whats new in 7.0.3**</a>
|
|
@@ -92,6 +94,23 @@
|
|
|
92
94
|
* <a href="#Whats-new-in-2-1">**Whats new in 2.1**</a>
|
|
93
95
|
* <a href="#Whats-new-in-2-0">**Whats new in 2.0**</a>
|
|
94
96
|
|
|
97
|
+
<a name="Whats-new-in-8-0-2">## Whats new in 8.0.2</a>
|
|
98
|
+
#### 8.0.2 (2024-10-20)
|
|
99
|
+
|
|
100
|
+
##### Bug Fixes
|
|
101
|
+
|
|
102
|
+
* github-version-checker is an unused dependency and is also obsolete, so remove it ([ad220e82](https://github.com/ztalbot2000/homebridge-cmd4/commit/ad220e82b66accf630021dc8c4c136948b720acd))
|
|
103
|
+
* Also for 146, put back reachable as per Wongs fix ([0e131097](https://github.com/ztalbot2000/homebridge-cmd4/commit/0e131097087899cad530c132b699639e384b3ce0))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<a name="Whats-new-in-8-0-1">## Whats new in 8.0.1</a>
|
|
107
|
+
#### 8.0.1 (2024-08-16)
|
|
108
|
+
|
|
109
|
+
##### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* Bug [#147](https://github.com/ztalbot2000/homebridge-cmd4/pull/147) Accesories removed from home app after upgrade to 8.0 ([de25e94f](https://github.com/ztalbot2000/homebridge-cmd4/commit/de25e94fac8cf331142ea4523218db0f8cf447b0))
|
|
112
|
+
|
|
113
|
+
|
|
95
114
|
<a name="Whats-new-in-8-0-0">## Whats new in 8.0.0</a>
|
|
96
115
|
### 8.0.0 (2024-06-28)
|
|
97
116
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-cmd4",
|
|
3
3
|
"description": "Exec Plugin for Homebridge supporting all accessorys and characteristics",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "John Talbot"
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"chalk": "^4.1.0",
|
|
21
21
|
"command-exists": "^1.2.9",
|
|
22
22
|
"fakegato-history": ">=0.6.5",
|
|
23
|
-
"github-version-checker": ">=2.2.0",
|
|
24
23
|
"latest-version": "^5.1.0",
|
|
25
24
|
"moment": "*"
|
|
26
25
|
},
|
|
@@ -114,4 +113,4 @@
|
|
|
114
113
|
"release:minor": "tools/generateChangeLog --type minor --cleanup",
|
|
115
114
|
"release:major": "tools/generateChangeLog --type major --cleanup"
|
|
116
115
|
}
|
|
117
|
-
}
|
|
116
|
+
}
|