homebridge-melcloud-control 4.3.5-beta.12 → 4.3.5-beta.14
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/index.js +4 -4
- package/package.json +1 -1
- package/src/deviceata.js +1 -1
package/index.js
CHANGED
|
@@ -93,7 +93,7 @@ class MelCloudPlatform {
|
|
|
93
93
|
melcloud = new MelCloud(account, accountFile, buildingsFile, devicesFile, true);
|
|
94
94
|
break;
|
|
95
95
|
case 'melcloudhome':
|
|
96
|
-
timmers = [{ name: 'connect', sampling: 3300000 }, { name: 'checkDevicesList', sampling:
|
|
96
|
+
timmers = [{ name: 'connect', sampling: 3300000 }, { name: 'checkDevicesList', sampling: 2000 }];
|
|
97
97
|
melcloud = new MelCloudHome(account, accountFile, buildingsFile, devicesFile, true);
|
|
98
98
|
break;
|
|
99
99
|
default:
|
|
@@ -134,6 +134,9 @@ class MelCloudPlatform {
|
|
|
134
134
|
}
|
|
135
135
|
if (logLevel.debug) log.info(devicesList.Info);
|
|
136
136
|
|
|
137
|
+
//start account impulse generator
|
|
138
|
+
await melcloud.impulseGenerator.state(true, timmers, false);
|
|
139
|
+
|
|
137
140
|
//configured devices
|
|
138
141
|
const ataDevices = (account.ataDevices || []).filter(device => device.id != null && String(device.id) !== '0');
|
|
139
142
|
const atwDevices = (account.atwDevices || []).filter(device => device.id != null && String(device.id) !== '0');
|
|
@@ -208,9 +211,6 @@ class MelCloudPlatform {
|
|
|
208
211
|
}
|
|
209
212
|
}
|
|
210
213
|
|
|
211
|
-
//start account impulse generator
|
|
212
|
-
await melcloud.impulseGenerator.state(true, timmers, false);
|
|
213
|
-
|
|
214
214
|
//stop start impulse generator
|
|
215
215
|
await impulseGenerator.state(false);
|
|
216
216
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.3.5-beta.
|
|
4
|
+
"version": "4.3.5-beta.14",
|
|
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
|
@@ -1878,7 +1878,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1878
1878
|
if (this.restFul.enable || this.mqtt.enable) await this.externalIntegrations();
|
|
1879
1879
|
|
|
1880
1880
|
//prepare accessory
|
|
1881
|
-
await new Promise(r => setTimeout(r,
|
|
1881
|
+
await new Promise(r => setTimeout(r, 3000));
|
|
1882
1882
|
const accessory = await this.prepareAccessory();
|
|
1883
1883
|
return accessory;
|
|
1884
1884
|
} catch (error) {
|