homebridge-melcloud-control 4.2.5-beta.0 → 4.2.5-beta.10
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/README.md +3 -3
- package/config.schema.json +36 -18
- package/package.json +1 -1
- package/src/deviceata.js +272 -247
- package/src/deviceatw.js +200 -179
- package/src/deviceerv.js +143 -137
- package/src/melcloud.js +9 -15
- package/src/melcloudata.js +18 -27
- package/src/melcloudatw.js +10 -20
- package/src/melclouderv.js +10 -20
- package/src/melcloudhome.js +14 -22
package/README.md
CHANGED
|
@@ -272,7 +272,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
272
272
|
| `ataDevices[].buttonsSensors[]` | Array of buttons sensors. |
|
|
273
273
|
| `ataDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
|
|
274
274
|
| `ataDevices[].buttonsSensors[].mode` | Here select button mode, VH - Vane Horizontal, VV - Vane Horizontal. |
|
|
275
|
-
| `ataDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 -
|
|
275
|
+
| `ataDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch +Occupancy Sensor`, `6 - Switch +Contact Sensor`. |
|
|
276
276
|
| `ataDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
|
|
277
277
|
| `atwDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
|
|
278
278
|
| `atwDevices[].id` | Read only data, do not change it. |
|
|
@@ -309,7 +309,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
309
309
|
| `atwDevices[].buttonsSensors[]` | Array of buttons sensors. |
|
|
310
310
|
| `atwDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
|
|
311
311
|
| `atwDevices[].buttonsSensors[].mode` | Here select button mode. |
|
|
312
|
-
| `atwDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 -
|
|
312
|
+
| `atwDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch +Occupancy Sensor`, `6 - Switch +Contact Sensor`. |
|
|
313
313
|
| `atwDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
|
|
314
314
|
| `ervDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
|
|
315
315
|
| `ervDevices[].id` | Read only data, do not change it. |
|
|
@@ -339,7 +339,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
339
339
|
| `ervDevices[].buttonsSensors[]` | Array of buttons sensors. |
|
|
340
340
|
| `ervDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
|
|
341
341
|
| `ervDevices[].buttonsSensors[].mode` | Here select button mode. |
|
|
342
|
-
| `ervDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 -
|
|
342
|
+
| `ervDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch +Occupancy Sensor`, `6 - Switch +Contact Sensor`. |
|
|
343
343
|
| `ervDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
|
|
344
344
|
| `refreshInterval` | Here set the background account data refresh time in (sec) , only for old MELCLoud, default `120s`. |
|
|
345
345
|
| `log{}` | Log object. |
|
package/config.schema.json
CHANGED
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
"title": "Display Type",
|
|
720
720
|
"type": "integer",
|
|
721
721
|
"minimum": 0,
|
|
722
|
-
"maximum":
|
|
722
|
+
"maximum": 6,
|
|
723
723
|
"default": 0,
|
|
724
724
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
725
725
|
"anyOf": [
|
|
@@ -730,34 +730,40 @@
|
|
|
730
730
|
]
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
|
-
"title": "
|
|
733
|
+
"title": "Motion Sensor",
|
|
734
734
|
"enum": [
|
|
735
735
|
1
|
|
736
736
|
]
|
|
737
737
|
},
|
|
738
738
|
{
|
|
739
|
-
"title": "
|
|
739
|
+
"title": "Occupancy Sensor",
|
|
740
740
|
"enum": [
|
|
741
741
|
2
|
|
742
742
|
]
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
|
-
"title": "
|
|
745
|
+
"title": "Contact Sensor",
|
|
746
746
|
"enum": [
|
|
747
747
|
3
|
|
748
748
|
]
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
|
-
"title": "
|
|
751
|
+
"title": "Switch + Motion Sensor",
|
|
752
752
|
"enum": [
|
|
753
753
|
4
|
|
754
754
|
]
|
|
755
755
|
},
|
|
756
756
|
{
|
|
757
|
-
"title": "
|
|
757
|
+
"title": "Switch + Occupancy Sensor",
|
|
758
758
|
"enum": [
|
|
759
759
|
5
|
|
760
760
|
]
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"title": "Switch + Contact Sensor",
|
|
764
|
+
"enum": [
|
|
765
|
+
6
|
|
766
|
+
]
|
|
761
767
|
}
|
|
762
768
|
]
|
|
763
769
|
},
|
|
@@ -1536,7 +1542,7 @@
|
|
|
1536
1542
|
"title": "Display Type",
|
|
1537
1543
|
"type": "integer",
|
|
1538
1544
|
"minimum": 0,
|
|
1539
|
-
"maximum":
|
|
1545
|
+
"maximum": 6,
|
|
1540
1546
|
"default": 0,
|
|
1541
1547
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
1542
1548
|
"anyOf": [
|
|
@@ -1547,34 +1553,40 @@
|
|
|
1547
1553
|
]
|
|
1548
1554
|
},
|
|
1549
1555
|
{
|
|
1550
|
-
"title": "
|
|
1556
|
+
"title": "Motion Sensor",
|
|
1551
1557
|
"enum": [
|
|
1552
1558
|
1
|
|
1553
1559
|
]
|
|
1554
1560
|
},
|
|
1555
1561
|
{
|
|
1556
|
-
"title": "
|
|
1562
|
+
"title": "Occupancy Sensor",
|
|
1557
1563
|
"enum": [
|
|
1558
1564
|
2
|
|
1559
1565
|
]
|
|
1560
1566
|
},
|
|
1561
1567
|
{
|
|
1562
|
-
"title": "
|
|
1568
|
+
"title": "Contact Sensor",
|
|
1563
1569
|
"enum": [
|
|
1564
1570
|
3
|
|
1565
1571
|
]
|
|
1566
1572
|
},
|
|
1567
1573
|
{
|
|
1568
|
-
"title": "
|
|
1574
|
+
"title": "Switch + Motion Sensor",
|
|
1569
1575
|
"enum": [
|
|
1570
1576
|
4
|
|
1571
1577
|
]
|
|
1572
1578
|
},
|
|
1573
1579
|
{
|
|
1574
|
-
"title": "
|
|
1580
|
+
"title": "Switch + Occupancy Sensor",
|
|
1575
1581
|
"enum": [
|
|
1576
1582
|
5
|
|
1577
1583
|
]
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"title": "Switch + Contact Sensor",
|
|
1587
|
+
"enum": [
|
|
1588
|
+
6
|
|
1589
|
+
]
|
|
1578
1590
|
}
|
|
1579
1591
|
]
|
|
1580
1592
|
},
|
|
@@ -2132,7 +2144,7 @@
|
|
|
2132
2144
|
"title": "Display Type",
|
|
2133
2145
|
"type": "integer",
|
|
2134
2146
|
"minimum": 0,
|
|
2135
|
-
"maximum":
|
|
2147
|
+
"maximum": 6,
|
|
2136
2148
|
"default": 0,
|
|
2137
2149
|
"description": "Select the characteristic type to be displayed in HomeKit app.",
|
|
2138
2150
|
"anyOf": [
|
|
@@ -2143,34 +2155,40 @@
|
|
|
2143
2155
|
]
|
|
2144
2156
|
},
|
|
2145
2157
|
{
|
|
2146
|
-
"title": "
|
|
2158
|
+
"title": "Motion Sensor",
|
|
2147
2159
|
"enum": [
|
|
2148
2160
|
1
|
|
2149
2161
|
]
|
|
2150
2162
|
},
|
|
2151
2163
|
{
|
|
2152
|
-
"title": "
|
|
2164
|
+
"title": "Occupancy Sensor",
|
|
2153
2165
|
"enum": [
|
|
2154
2166
|
2
|
|
2155
2167
|
]
|
|
2156
2168
|
},
|
|
2157
2169
|
{
|
|
2158
|
-
"title": "
|
|
2170
|
+
"title": "Contact Sensor",
|
|
2159
2171
|
"enum": [
|
|
2160
2172
|
3
|
|
2161
2173
|
]
|
|
2162
2174
|
},
|
|
2163
2175
|
{
|
|
2164
|
-
"title": "
|
|
2176
|
+
"title": "Switch + Motion Sensor",
|
|
2165
2177
|
"enum": [
|
|
2166
2178
|
4
|
|
2167
2179
|
]
|
|
2168
2180
|
},
|
|
2169
2181
|
{
|
|
2170
|
-
"title": "
|
|
2182
|
+
"title": "Switch + Occupancy Sensor",
|
|
2171
2183
|
"enum": [
|
|
2172
2184
|
5
|
|
2173
2185
|
]
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"title": "Switch + Contact Sensor",
|
|
2189
|
+
"enum": [
|
|
2190
|
+
6
|
|
2191
|
+
]
|
|
2174
2192
|
}
|
|
2175
2193
|
]
|
|
2176
2194
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.2.5-beta.
|
|
4
|
+
"version": "4.2.5-beta.10",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|