homebridge-melcloud-control 4.1.0-beta.1 → 4.1.0
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 -0
- package/README.md +3 -0
- package/config.schema.json +10 -2
- package/package.json +1 -1
- package/src/deviceata.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- do not configure it manually, always using Homebridge UI
|
|
17
17
|
- required Homebridge v2.0.0 and above
|
|
18
18
|
- v4 Added support for MELCloud Home.
|
|
19
|
+
- v4.1 Changed accessory category for ATA devices, required add accessory to KomeKit again
|
|
19
20
|
|
|
20
21
|
## Warning
|
|
21
22
|
|
|
@@ -25,9 +26,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
26
|
|
|
26
27
|
## Changes
|
|
27
28
|
|
|
29
|
+
- changed accessory category for ATA devices, required add accessory to KomeKit again
|
|
28
30
|
- added frost protection sensor for MELCLoud Home ATA devices
|
|
29
31
|
- added overheat protection sensor for MELCLoud Home ATA devices
|
|
30
32
|
- added holiday mode sensor for MELCLoud Home ATA devices
|
|
33
|
+
- config schema updated
|
|
31
34
|
- readme updated
|
|
32
35
|
- cleanup
|
|
33
36
|
|
package/README.md
CHANGED
|
@@ -76,6 +76,9 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
76
76
|
* Presets `ACTIV/UNACTIV`.
|
|
77
77
|
* Room temperature.
|
|
78
78
|
* Outdoor temperature.
|
|
79
|
+
* Frost protection.
|
|
80
|
+
* Overheat protection.
|
|
81
|
+
* Holiday mode.
|
|
79
82
|
* Error
|
|
80
83
|
* Heat Pump:
|
|
81
84
|
* Heater Cooler:
|
package/config.schema.json
CHANGED
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"default": false,
|
|
402
402
|
"description": "This enable extra frost protection sensor to use with automations in HomeKit app."
|
|
403
403
|
},
|
|
404
|
-
"
|
|
404
|
+
"overheatProtectionSensor": {
|
|
405
405
|
"title": "Overheat Protection",
|
|
406
406
|
"type": "boolean",
|
|
407
407
|
"default": false,
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
"expanded": false,
|
|
1957
1957
|
"items": [
|
|
1958
1958
|
"accounts[].ataDevices[].frostProtectionSensor",
|
|
1959
|
-
"accounts[].ataDevices[].
|
|
1959
|
+
"accounts[].ataDevices[].overheatProtectionSensor",
|
|
1960
1960
|
"accounts[].ataDevices[].holidayModeSensor",
|
|
1961
1961
|
"accounts[].ataDevices[].errorSensor"
|
|
1962
1962
|
]
|
|
@@ -2018,6 +2018,7 @@
|
|
|
2018
2018
|
{
|
|
2019
2019
|
"type": "section",
|
|
2020
2020
|
"title": "Settings",
|
|
2021
|
+
"description": "Section for setup device settings",
|
|
2021
2022
|
"expandable": true,
|
|
2022
2023
|
"expanded": false,
|
|
2023
2024
|
"items": [
|
|
@@ -2032,6 +2033,7 @@
|
|
|
2032
2033
|
{
|
|
2033
2034
|
"title": "Presets",
|
|
2034
2035
|
"type": "section",
|
|
2036
|
+
"description": "Section for setup device presets",
|
|
2035
2037
|
"expandable": true,
|
|
2036
2038
|
"expanded": false,
|
|
2037
2039
|
"items": [
|
|
@@ -2064,6 +2066,7 @@
|
|
|
2064
2066
|
{
|
|
2065
2067
|
"title": "Temperature",
|
|
2066
2068
|
"type": "section",
|
|
2069
|
+
"description": "Section for setup temperature sensors",
|
|
2067
2070
|
"expandable": true,
|
|
2068
2071
|
"expanded": false,
|
|
2069
2072
|
"items": [
|
|
@@ -2081,6 +2084,7 @@
|
|
|
2081
2084
|
{
|
|
2082
2085
|
"title": "Custom",
|
|
2083
2086
|
"type": "section",
|
|
2087
|
+
"description": "Section for creating custom buttons/sensors",
|
|
2084
2088
|
"expandable": true,
|
|
2085
2089
|
"expanded": false,
|
|
2086
2090
|
"items": [
|
|
@@ -2133,6 +2137,7 @@
|
|
|
2133
2137
|
"accounts[].ervDevices[].displayType",
|
|
2134
2138
|
{
|
|
2135
2139
|
"title": "Settings",
|
|
2140
|
+
"description": "Section for setup device settings",
|
|
2136
2141
|
"type": "section",
|
|
2137
2142
|
"expandable": true,
|
|
2138
2143
|
"expanded": false,
|
|
@@ -2147,6 +2152,7 @@
|
|
|
2147
2152
|
{
|
|
2148
2153
|
"title": "Presets",
|
|
2149
2154
|
"type": "section",
|
|
2155
|
+
"description": "Section for setup device presets",
|
|
2150
2156
|
"expandable": true,
|
|
2151
2157
|
"expanded": false,
|
|
2152
2158
|
"items": [
|
|
@@ -2179,6 +2185,7 @@
|
|
|
2179
2185
|
{
|
|
2180
2186
|
"title": "Temperature",
|
|
2181
2187
|
"type": "section",
|
|
2188
|
+
"description": "Section for setup temperature sensors",
|
|
2182
2189
|
"expandable": true,
|
|
2183
2190
|
"expanded": false,
|
|
2184
2191
|
"items": [
|
|
@@ -2190,6 +2197,7 @@
|
|
|
2190
2197
|
{
|
|
2191
2198
|
"title": "Custom",
|
|
2192
2199
|
"type": "section",
|
|
2200
|
+
"description": "Section for creating custom buttons/sensors",
|
|
2193
2201
|
"expandable": true,
|
|
2194
2202
|
"expanded": false,
|
|
2195
2203
|
"items": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.1.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/deviceata.js
CHANGED
|
@@ -624,8 +624,8 @@ class DeviceAta extends EventEmitter {
|
|
|
624
624
|
|
|
625
625
|
//overheat sensor
|
|
626
626
|
if (this.overheatProtectionSensor && this.accessory.overheatProtectionEnabled) {
|
|
627
|
-
if (this.logDebug) this.emit('debug', `Prepare
|
|
628
|
-
this.overheatProtectionSensorService = new Service.ContactSensor(`${serviceName} Overheat Protection`, `Overheat Sensor ${deviceId}`);
|
|
627
|
+
if (this.logDebug) this.emit('debug', `Prepare overheat protection service`);
|
|
628
|
+
this.overheatProtectionSensorService = new Service.ContactSensor(`${serviceName} Overheat Protection`, `Overheat Protection Sensor ${deviceId}`);
|
|
629
629
|
this.overheatProtectionSensorService.addOptionalCharacteristic(Characteristic.ConfiguredName);
|
|
630
630
|
this.overheatProtectionSensorService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} Overheat Protection`);
|
|
631
631
|
this.overheatProtectionSensorService.getCharacteristic(Characteristic.ContactSensorState)
|
|
@@ -638,7 +638,7 @@ class DeviceAta extends EventEmitter {
|
|
|
638
638
|
|
|
639
639
|
//holiday mode sensor
|
|
640
640
|
if (this.holidayModeSensor && this.accessory.holidayModeEnabled) {
|
|
641
|
-
if (this.logDebug) this.emit('debug', `Prepare
|
|
641
|
+
if (this.logDebug) this.emit('debug', `Prepare holiday mode service`);
|
|
642
642
|
this.holidayModeSensorService = new Service.ContactSensor(`${serviceName} Holiday Mode`, `Holiday Mode Sensor ${deviceId}`);
|
|
643
643
|
this.holidayModeSensorService.addOptionalCharacteristic(Characteristic.ConfiguredName);
|
|
644
644
|
this.holidayModeSensorService.setCharacteristic(Characteristic.ConfiguredName, `${accessoryName} Holiday Mode`);
|