homebridge-melcloud-control 3.7.0 → 3.7.1
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 +6 -0
- package/README.md +0 -3
- package/config.schema.json +3 -27
- package/index.js +3 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- do not configure it manually, always using Config UI X
|
|
17
17
|
- required Homebridge v2.0.0 and above
|
|
18
18
|
|
|
19
|
+
## [3.7.1] - (14.03.2025)
|
|
20
|
+
|
|
21
|
+
## Changes
|
|
22
|
+
|
|
23
|
+
- removed possibility to disable indyvidual accessory due to duplicated function with displayMode
|
|
24
|
+
|
|
19
25
|
## [3.7.0] - (13.03.2025)
|
|
20
26
|
|
|
21
27
|
## Changes
|
package/README.md
CHANGED
|
@@ -211,7 +211,6 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
211
211
|
| `ataDevices.id` | Read only data, do not change it. |
|
|
212
212
|
| `ataDevices.type` | Read only data, do not change it. |
|
|
213
213
|
| `ataDevices.typeString` | Read only data, do not change it. |
|
|
214
|
-
| `ataDevices.disableAccessory` | If enabled, the accessory will be disabled. |
|
|
215
214
|
| `ataDevices.name` | Here You can schange the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
|
|
216
215
|
| `ataDevices.displayMode` | Here select device control mode `None/Disabled`, `Heater/Cooler`, `Thermostat`. |
|
|
217
216
|
| `ataDevices.heatDryFanMode` | Here select the operatiing mode for `Heat`, if this mode is not supported, it will be disabled. |
|
|
@@ -233,7 +232,6 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
233
232
|
| `atwDevices.id` | Read only data, do not change it. |
|
|
234
233
|
| `atwDevices.type` | Read only data, do not change it. |
|
|
235
234
|
| `atwDevices.typeString` | Read only data, do not change it. |
|
|
236
|
-
| `atwDevices.disableAccessory` | If enabled, the accessory will be disabled. |
|
|
237
235
|
| `atwDevices.name` | Here You can schange the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
|
|
238
236
|
| `atwDevices.displayMode` | Here select main control mode `None/Disabled`, `Heater/Cooler`, `Thermostat`. |
|
|
239
237
|
| `atwDevices.temperatureSensor` | This enable extra `Room` temperature sensors to use with automations in HomeKit app. |
|
|
@@ -259,7 +257,6 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
259
257
|
| `ervDevices.id` | Read only data, do not change it. |
|
|
260
258
|
| `ervDevices.type` | Read only data, do not change it. |
|
|
261
259
|
| `ervDevices.typeString` | Read only data, do not change it. |
|
|
262
|
-
| `ervDevices.disableAccessory` | If enabled, the accessory will be disabled. |
|
|
263
260
|
| `ervDevices.name` | Here You can schange the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
|
|
264
261
|
| `ervDevices.displayMode` | Here select main control mode `None/Disabled`, `Heater/Cooler`, `Thermostat`. |
|
|
265
262
|
| `ervDevices.temperatureSensor` | This enable extra `Room` temperature sensors to use with automations in HomeKit app. |
|
package/config.schema.json
CHANGED
|
@@ -232,13 +232,6 @@
|
|
|
232
232
|
"required": false,
|
|
233
233
|
"readonly": true
|
|
234
234
|
},
|
|
235
|
-
"disableAccessory": {
|
|
236
|
-
"title": "Disable Accessory",
|
|
237
|
-
"type": "boolean",
|
|
238
|
-
"default": false,
|
|
239
|
-
"description": "Here You can disable this accessory.",
|
|
240
|
-
"required": false
|
|
241
|
-
},
|
|
242
235
|
"name": {
|
|
243
236
|
"title": "Name",
|
|
244
237
|
"type": "string",
|
|
@@ -801,13 +794,6 @@
|
|
|
801
794
|
"required": false,
|
|
802
795
|
"readonly": true
|
|
803
796
|
},
|
|
804
|
-
"disableAccessory": {
|
|
805
|
-
"title": "Disable Accessory",
|
|
806
|
-
"type": "boolean",
|
|
807
|
-
"default": false,
|
|
808
|
-
"description": "Here You can disable this accessory.",
|
|
809
|
-
"required": false
|
|
810
|
-
},
|
|
811
797
|
"name": {
|
|
812
798
|
"title": "Name",
|
|
813
799
|
"type": "string",
|
|
@@ -1236,13 +1222,6 @@
|
|
|
1236
1222
|
"required": false,
|
|
1237
1223
|
"readonly": true
|
|
1238
1224
|
},
|
|
1239
|
-
"disableAccessory": {
|
|
1240
|
-
"title": "Disable Accessory",
|
|
1241
|
-
"type": "boolean",
|
|
1242
|
-
"default": false,
|
|
1243
|
-
"description": "Here You can disable this accessory.",
|
|
1244
|
-
"required": false
|
|
1245
|
-
},
|
|
1246
1225
|
"name": {
|
|
1247
1226
|
"title": "Name",
|
|
1248
1227
|
"type": "string",
|
|
@@ -1758,7 +1737,7 @@
|
|
|
1758
1737
|
"key": "accounts[].ataDevices[].typeString",
|
|
1759
1738
|
"readonly": true
|
|
1760
1739
|
},
|
|
1761
|
-
"accounts[].ataDevices[].
|
|
1740
|
+
"accounts[].ataDevices[].displayMode",
|
|
1762
1741
|
{
|
|
1763
1742
|
"key": "accounts[].ataDevices[]",
|
|
1764
1743
|
"type": "section",
|
|
@@ -1767,7 +1746,6 @@
|
|
|
1767
1746
|
"expanded": false,
|
|
1768
1747
|
"items": [
|
|
1769
1748
|
"accounts[].ataDevices[].name",
|
|
1770
|
-
"accounts[].ataDevices[].displayMode",
|
|
1771
1749
|
"accounts[].ataDevices[].heatDryFanMode",
|
|
1772
1750
|
"accounts[].ataDevices[].coolDryFanMode",
|
|
1773
1751
|
"accounts[].ataDevices[].autoDryFanMode",
|
|
@@ -1861,7 +1839,7 @@
|
|
|
1861
1839
|
"key": "accounts[].atwDevices[].typeString",
|
|
1862
1840
|
"readonly": true
|
|
1863
1841
|
},
|
|
1864
|
-
"accounts[].
|
|
1842
|
+
"accounts[].atwDevices[].displayMode",
|
|
1865
1843
|
{
|
|
1866
1844
|
"key": "accounts[].atwDevices[]",
|
|
1867
1845
|
"type": "section",
|
|
@@ -1870,7 +1848,6 @@
|
|
|
1870
1848
|
"expanded": false,
|
|
1871
1849
|
"items": [
|
|
1872
1850
|
"accounts[].atwDevices[].name",
|
|
1873
|
-
"accounts[].atwDevices[].displayMode",
|
|
1874
1851
|
"accounts[].atwDevices[].refreshInterval"
|
|
1875
1852
|
],
|
|
1876
1853
|
"condition": {
|
|
@@ -1968,7 +1945,7 @@
|
|
|
1968
1945
|
"key": "accounts[].ervDevices[].typeString",
|
|
1969
1946
|
"readonly": true
|
|
1970
1947
|
},
|
|
1971
|
-
"accounts[].
|
|
1948
|
+
"accounts[].ervDevices[].displayMode",
|
|
1972
1949
|
{
|
|
1973
1950
|
"key": "accounts[].ervDevices[]",
|
|
1974
1951
|
"type": "section",
|
|
@@ -1977,7 +1954,6 @@
|
|
|
1977
1954
|
"expanded": false,
|
|
1978
1955
|
"items": [
|
|
1979
1956
|
"accounts[].ervDevices[].name",
|
|
1980
|
-
"accounts[].ervDevices[].displayMode",
|
|
1981
1957
|
"accounts[].ervDevices[].refreshInterval"
|
|
1982
1958
|
],
|
|
1983
1959
|
"condition": {
|
package/index.js
CHANGED
|
@@ -124,15 +124,9 @@ class MelCloudPlatform {
|
|
|
124
124
|
const emitLog = !enableDebugMode ? false : log.info(`Found configured ATA devices: ${ataDevices.length}.`);
|
|
125
125
|
for (const device of ataDevices) {
|
|
126
126
|
|
|
127
|
-
//check accessory is enabled
|
|
128
|
-
const disableAccessory = device.disableAccessory || false;
|
|
129
|
-
if (disableAccessory) {
|
|
130
|
-
continue;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
127
|
//chack device from config exist on melcloud
|
|
134
128
|
const deviceId = device.id;
|
|
135
|
-
const displayMode = device.displayMode > 0
|
|
129
|
+
const displayMode = device.displayMode > 0;
|
|
136
130
|
const deviceExistInMelCloud = devices.some(dev => dev.DeviceID === deviceId);
|
|
137
131
|
if (!deviceExistInMelCloud || !displayMode) {
|
|
138
132
|
continue;
|
|
@@ -196,15 +190,9 @@ class MelCloudPlatform {
|
|
|
196
190
|
const emitLog = !enableDebugMode ? false : log.info(`Found configured ATW devices: ${atwDevices.length}.`);
|
|
197
191
|
for (const device of atwDevices) {
|
|
198
192
|
|
|
199
|
-
//check accessory is enabled
|
|
200
|
-
const disableAccessory = device.disableAccessory || false;
|
|
201
|
-
if (disableAccessory) {
|
|
202
|
-
continue;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
193
|
//chack device from config exist on melcloud
|
|
206
194
|
const deviceId = device.id;
|
|
207
|
-
const displayMode = device.displayMode > 0
|
|
195
|
+
const displayMode = device.displayMode > 0;
|
|
208
196
|
const deviceExistInMelCloud = devices.some(dev => dev.DeviceID === deviceId);
|
|
209
197
|
if (!deviceExistInMelCloud || !displayMode) {
|
|
210
198
|
continue;
|
|
@@ -268,15 +256,9 @@ class MelCloudPlatform {
|
|
|
268
256
|
const emitLog = !enableDebugMode ? false : log.info(`Found configured ERV devices: ${ervDevices.length}.`);
|
|
269
257
|
for (const device of ervDevices) {
|
|
270
258
|
|
|
271
|
-
//check accessory is enabled
|
|
272
|
-
const disableAccessory = device.disableAccessory || false;
|
|
273
|
-
if (disableAccessory) {
|
|
274
|
-
continue;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
259
|
//chack device from config exist on melcloud
|
|
278
260
|
const deviceId = device.id;
|
|
279
|
-
const displayMode = device.displayMode > 0
|
|
261
|
+
const displayMode = device.displayMode > 0;
|
|
280
262
|
const deviceExistInMelCloud = devices.some(dev => dev.DeviceID === deviceId);
|
|
281
263
|
if (!deviceExistInMelCloud || !displayMode) {
|
|
282
264
|
continue;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.7.
|
|
4
|
+
"version": "3.7.1",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|