homebridge-melcloud-control 3.3.21-beta.6 → 3.3.22
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 -1
- package/package.json +2 -2
- package/src/deviceata.js +0 -1
- package/src/deviceerv.js +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
28
28
|
### About The Plugin
|
|
29
29
|
|
|
30
30
|
* All devices are detected automatically.
|
|
31
|
-
*
|
|
31
|
+
* Control devices over MELCloud server.
|
|
32
|
+
* Support multiple accounts, buildings, floors, areas.
|
|
32
33
|
* Support temperature display units `Celsius/Fahrenheit`.
|
|
33
34
|
* Support assing inividual operating mode for `Heat/Cool/Auto`.
|
|
34
35
|
* Support direct `Presets` control using extra `Buttons`, switch it to `OFF` restore previous device state.
|
|
@@ -36,6 +37,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
36
37
|
* Support detect all device states using extra `Sensors`.
|
|
37
38
|
* Support automations, shortcuts and Siri.
|
|
38
39
|
* Support external integrations, [RESTFul](https://github.com/grzegorz914/homebridge-melcloud-control?tab=readme-ov-file#restful-integration), [MQTT](https://github.com/grzegorz914/homebridge-melcloud-control?tab=readme-ov-file#mqtt-integration).
|
|
40
|
+
* Control devices over local network You need use ESP module and [Tasmota Control](https://github.com/grzegorz914/homebridge-tasmota-control) plugin.
|
|
39
41
|
|
|
40
42
|
### Control Mode
|
|
41
43
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.22",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@homebridge/plugin-ui-utils": "^1.0.3",
|
|
36
36
|
"async-mqtt": "^2.6.3",
|
|
37
37
|
"axios": "^1.7.7",
|
|
38
|
-
"express": "^4.21.
|
|
38
|
+
"express": "^4.21.1"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|
|
41
41
|
"homebridge",
|
package/src/deviceata.js
CHANGED
|
@@ -466,7 +466,6 @@ class DeviceAta extends EventEmitter {
|
|
|
466
466
|
for (let i = 0; i < this.buttonsConfiguredCount; i++) {
|
|
467
467
|
const button = this.buttonsConfigured[i];
|
|
468
468
|
const mode = button.mode;
|
|
469
|
-
let setPreviousValue = false;
|
|
470
469
|
switch (mode) {
|
|
471
470
|
case 0: //POWER ON,OFF
|
|
472
471
|
button.state = (power === true);
|
package/src/deviceerv.js
CHANGED
|
@@ -139,7 +139,7 @@ class DeviceErv extends EventEmitter {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
//MQTT client
|
|
142
|
-
const mqttEnabled =
|
|
142
|
+
const mqttEnabled = this.mqtt.enable || false;
|
|
143
143
|
if (mqttEnabled) {
|
|
144
144
|
if (!this.mqttConnected) {
|
|
145
145
|
this.mqtt1 = new Mqtt({
|
|
@@ -198,7 +198,7 @@ class DeviceErv extends EventEmitter {
|
|
|
198
198
|
|
|
199
199
|
//accessory info
|
|
200
200
|
this.manufacturer = manufacturer;
|
|
201
|
-
this.model = modelIndoor ? modelIndoor : modelOutdoor ? modelOutdoor : `${deviceTypeText} ${this.deviceId}`;
|
|
201
|
+
this.model = modelIndoor ? modelIndoor : modelOutdoor ? modelOutdoor : `${this.deviceTypeText} ${this.deviceId}`;
|
|
202
202
|
this.serialNumber = serialNumber;
|
|
203
203
|
this.firmwareRevision = firmwareAppVersion;
|
|
204
204
|
this.displayDeviceInfo = false;
|