homebridge-midea-platform 1.1.1-beta.1 → 1.1.2-beta.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/.husky/pre-commit +0 -0
- package/dist/accessory/AccessoryFactory.d.ts +11 -11
- package/dist/accessory/AccessoryFactory.js +28 -28
- package/dist/accessory/AirConditionerAccessory.d.ts +86 -86
- package/dist/accessory/AirConditionerAccessory.js +560 -560
- package/dist/accessory/BaseAccessory.d.ts +11 -11
- package/dist/accessory/BaseAccessory.js +21 -21
- package/dist/accessory/DehumidifierAccessory.d.ts +45 -45
- package/dist/accessory/DehumidifierAccessory.js +343 -343
- package/dist/accessory/ElectricWaterHeaterAccessory.d.ts +44 -44
- package/dist/accessory/ElectricWaterHeaterAccessory.js +176 -176
- package/dist/accessory/FanAccessory.d.ts +39 -39
- package/dist/accessory/FanAccessory.js +123 -123
- package/dist/accessory/FrontLoadWasherAccessory.d.ts +31 -0
- package/dist/accessory/FrontLoadWasherAccessory.d.ts.map +1 -0
- package/dist/accessory/FrontLoadWasherAccessory.js +61 -0
- package/dist/accessory/FrontLoadWasherAccessory.js.map +1 -0
- package/dist/accessory/GasWaterHeaterAccessory.d.ts +51 -51
- package/dist/accessory/GasWaterHeaterAccessory.js +216 -216
- package/dist/core/MideaCloud.d.ts +35 -35
- package/dist/core/MideaCloud.js +350 -350
- package/dist/core/MideaConstants.d.ts +49 -48
- package/dist/core/MideaConstants.d.ts.map +1 -1
- package/dist/core/MideaConstants.js +57 -56
- package/dist/core/MideaConstants.js.map +1 -1
- package/dist/core/MideaDevice.d.ts +76 -76
- package/dist/core/MideaDevice.d.ts.map +1 -1
- package/dist/core/MideaDevice.js +411 -411
- package/dist/core/MideaDiscover.d.ts +35 -35
- package/dist/core/MideaDiscover.js +212 -212
- package/dist/core/MideaMessage.d.ts +75 -75
- package/dist/core/MideaMessage.d.ts.map +1 -1
- package/dist/core/MideaMessage.js +184 -191
- package/dist/core/MideaMessage.js.map +1 -1
- package/dist/core/MideaPacketBuilder.d.ts +10 -10
- package/dist/core/MideaPacketBuilder.js +60 -60
- package/dist/core/MideaSecurity.d.ts +63 -63
- package/dist/core/MideaSecurity.js +242 -242
- package/dist/core/MideaUtils.d.ts +32 -32
- package/dist/core/MideaUtils.js +181 -181
- package/dist/devices/DeviceFactory.d.ts +11 -11
- package/dist/devices/DeviceFactory.js +30 -30
- package/dist/devices/a1/MideaA1Device.d.ts +76 -76
- package/dist/devices/a1/MideaA1Device.js +136 -136
- package/dist/devices/a1/MideaA1Message.d.ts +40 -40
- package/dist/devices/a1/MideaA1Message.js +198 -198
- package/dist/devices/ac/MideaACDevice.d.ts +100 -100
- package/dist/devices/ac/MideaACDevice.js +370 -370
- package/dist/devices/ac/MideaACMessage.d.ts +92 -92
- package/dist/devices/ac/MideaACMessage.d.ts.map +1 -1
- package/dist/devices/ac/MideaACMessage.js +589 -591
- package/dist/devices/ac/MideaACMessage.js.map +1 -1
- package/dist/devices/db/MideaDBDevice.d.ts +30 -0
- package/dist/devices/db/MideaDBDevice.d.ts.map +1 -0
- package/dist/devices/db/MideaDBDevice.js +89 -0
- package/dist/devices/db/MideaDBDevice.js.map +1 -0
- package/dist/devices/db/MideaDBMessage.d.ts +33 -0
- package/dist/devices/db/MideaDBMessage.d.ts.map +1 -0
- package/dist/devices/db/MideaDBMessage.js +102 -0
- package/dist/devices/db/MideaDBMessage.js.map +1 -0
- package/dist/devices/e2/MideaE2Device.d.ts +44 -44
- package/dist/devices/e2/MideaE2Device.js +119 -119
- package/dist/devices/e2/MideaE2Message.d.ts +33 -33
- package/dist/devices/e2/MideaE2Message.js +132 -132
- package/dist/devices/e3/MideaE3Device.d.ts +43 -43
- package/dist/devices/e3/MideaE3Device.js +125 -125
- package/dist/devices/e3/MideaE3Message.d.ts +51 -51
- package/dist/devices/e3/MideaE3Message.js +136 -136
- package/dist/devices/fa/MideaFADevice.d.ts +36 -36
- package/dist/devices/fa/MideaFADevice.js +92 -92
- package/dist/devices/fa/MideaFAMessage.d.ts +38 -38
- package/dist/devices/fa/MideaFAMessage.js +98 -98
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/platform.d.ts +60 -60
- package/dist/platform.js +213 -213
- package/dist/platformUtils.d.ts +97 -97
- package/dist/platformUtils.js +95 -95
- package/dist/settings.d.ts +8 -8
- package/dist/settings.js +11 -11
- package/package.json +9 -4
package/dist/platformUtils.d.ts
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
export type Config = {
|
|
2
|
-
refreshInterval: number;
|
|
3
|
-
heartbeatInterval: number;
|
|
4
|
-
verbose: boolean;
|
|
5
|
-
logRecoverableErrors: boolean;
|
|
6
|
-
uiDebug: boolean;
|
|
7
|
-
devices: DeviceConfig[];
|
|
8
|
-
};
|
|
9
|
-
export declare const defaultConfig: Config;
|
|
10
|
-
export type DeviceConfig = {
|
|
11
|
-
name?: string;
|
|
12
|
-
id: number;
|
|
13
|
-
type: string;
|
|
14
|
-
advanced_options: {
|
|
15
|
-
ip: string;
|
|
16
|
-
token: string;
|
|
17
|
-
key: string;
|
|
18
|
-
verbose: boolean;
|
|
19
|
-
logRecoverableErrors: boolean;
|
|
20
|
-
registerIfOffline: boolean;
|
|
21
|
-
};
|
|
22
|
-
AC_options: ACOptions;
|
|
23
|
-
A1_options: A1Options;
|
|
24
|
-
E2_options: E2Options;
|
|
25
|
-
E3_options: E3Options;
|
|
26
|
-
};
|
|
27
|
-
export declare enum SwingMode {
|
|
28
|
-
NONE = "None",
|
|
29
|
-
VERTICAL = "Vertical",
|
|
30
|
-
HORIZONTAL = "Horizontal",
|
|
31
|
-
BOTH = "Both"
|
|
32
|
-
}
|
|
33
|
-
export declare enum SwingAngle {
|
|
34
|
-
VERTICAL = "Vertical",
|
|
35
|
-
HORIZONTAL = "Horizontal"
|
|
36
|
-
}
|
|
37
|
-
export declare enum WaterTankSensor {
|
|
38
|
-
NONE = "None",
|
|
39
|
-
LEAK_SENSOR = "Leak Sensor",
|
|
40
|
-
CONTACT_SENSOR = "Contact Sensor"
|
|
41
|
-
}
|
|
42
|
-
type ACOptions = {
|
|
43
|
-
swing: {
|
|
44
|
-
mode: SwingMode;
|
|
45
|
-
angleAccessory: boolean;
|
|
46
|
-
angleMainControl: SwingAngle;
|
|
47
|
-
};
|
|
48
|
-
heatingCapable: boolean;
|
|
49
|
-
ecoSwitch: boolean;
|
|
50
|
-
displaySwitch: {
|
|
51
|
-
flag: boolean;
|
|
52
|
-
command: boolean;
|
|
53
|
-
};
|
|
54
|
-
minTemp: number;
|
|
55
|
-
maxTemp: number;
|
|
56
|
-
tempStep: number;
|
|
57
|
-
fahrenheit: boolean;
|
|
58
|
-
fanOnlyModeSwitch: boolean;
|
|
59
|
-
fanAccessory: boolean;
|
|
60
|
-
breezeAwaySwitch: boolean;
|
|
61
|
-
dryModeSwitch: boolean;
|
|
62
|
-
auxHeatingSwitches: boolean;
|
|
63
|
-
outDoorTemp: boolean;
|
|
64
|
-
audioFeedback: boolean;
|
|
65
|
-
screenOff: boolean;
|
|
66
|
-
};
|
|
67
|
-
type A1Options = {
|
|
68
|
-
temperatureSensor: boolean;
|
|
69
|
-
fanAccessory: boolean;
|
|
70
|
-
humiditySensor: boolean;
|
|
71
|
-
pumpSwitch: boolean;
|
|
72
|
-
waterTankSensor: WaterTankSensor;
|
|
73
|
-
minHumidity: number;
|
|
74
|
-
maxHumidity: number;
|
|
75
|
-
humidityStep: number;
|
|
76
|
-
};
|
|
77
|
-
type E2Options = {
|
|
78
|
-
protocol: string;
|
|
79
|
-
minTemp: number;
|
|
80
|
-
maxTemp: number;
|
|
81
|
-
tempStep: number;
|
|
82
|
-
variableHeatingSwitch: boolean;
|
|
83
|
-
wholeTankHeatingSwitch: boolean;
|
|
84
|
-
};
|
|
85
|
-
type E3Options = {
|
|
86
|
-
precisionHalves: boolean;
|
|
87
|
-
minTemp: number;
|
|
88
|
-
maxTemp: number;
|
|
89
|
-
tempStep: number;
|
|
90
|
-
burningStateSensor: boolean;
|
|
91
|
-
protectionSensor: boolean;
|
|
92
|
-
zeroColdWaterSwitch: boolean;
|
|
93
|
-
zeroColdPulseSwitch: boolean;
|
|
94
|
-
smartVolumeSwitch: boolean;
|
|
95
|
-
};
|
|
96
|
-
export declare const defaultDeviceConfig: DeviceConfig;
|
|
97
|
-
export {};
|
|
1
|
+
export type Config = {
|
|
2
|
+
refreshInterval: number;
|
|
3
|
+
heartbeatInterval: number;
|
|
4
|
+
verbose: boolean;
|
|
5
|
+
logRecoverableErrors: boolean;
|
|
6
|
+
uiDebug: boolean;
|
|
7
|
+
devices: DeviceConfig[];
|
|
8
|
+
};
|
|
9
|
+
export declare const defaultConfig: Config;
|
|
10
|
+
export type DeviceConfig = {
|
|
11
|
+
name?: string;
|
|
12
|
+
id: number;
|
|
13
|
+
type: string;
|
|
14
|
+
advanced_options: {
|
|
15
|
+
ip: string;
|
|
16
|
+
token: string;
|
|
17
|
+
key: string;
|
|
18
|
+
verbose: boolean;
|
|
19
|
+
logRecoverableErrors: boolean;
|
|
20
|
+
registerIfOffline: boolean;
|
|
21
|
+
};
|
|
22
|
+
AC_options: ACOptions;
|
|
23
|
+
A1_options: A1Options;
|
|
24
|
+
E2_options: E2Options;
|
|
25
|
+
E3_options: E3Options;
|
|
26
|
+
};
|
|
27
|
+
export declare enum SwingMode {
|
|
28
|
+
NONE = "None",
|
|
29
|
+
VERTICAL = "Vertical",
|
|
30
|
+
HORIZONTAL = "Horizontal",
|
|
31
|
+
BOTH = "Both"
|
|
32
|
+
}
|
|
33
|
+
export declare enum SwingAngle {
|
|
34
|
+
VERTICAL = "Vertical",
|
|
35
|
+
HORIZONTAL = "Horizontal"
|
|
36
|
+
}
|
|
37
|
+
export declare enum WaterTankSensor {
|
|
38
|
+
NONE = "None",
|
|
39
|
+
LEAK_SENSOR = "Leak Sensor",
|
|
40
|
+
CONTACT_SENSOR = "Contact Sensor"
|
|
41
|
+
}
|
|
42
|
+
type ACOptions = {
|
|
43
|
+
swing: {
|
|
44
|
+
mode: SwingMode;
|
|
45
|
+
angleAccessory: boolean;
|
|
46
|
+
angleMainControl: SwingAngle;
|
|
47
|
+
};
|
|
48
|
+
heatingCapable: boolean;
|
|
49
|
+
ecoSwitch: boolean;
|
|
50
|
+
displaySwitch: {
|
|
51
|
+
flag: boolean;
|
|
52
|
+
command: boolean;
|
|
53
|
+
};
|
|
54
|
+
minTemp: number;
|
|
55
|
+
maxTemp: number;
|
|
56
|
+
tempStep: number;
|
|
57
|
+
fahrenheit: boolean;
|
|
58
|
+
fanOnlyModeSwitch: boolean;
|
|
59
|
+
fanAccessory: boolean;
|
|
60
|
+
breezeAwaySwitch: boolean;
|
|
61
|
+
dryModeSwitch: boolean;
|
|
62
|
+
auxHeatingSwitches: boolean;
|
|
63
|
+
outDoorTemp: boolean;
|
|
64
|
+
audioFeedback: boolean;
|
|
65
|
+
screenOff: boolean;
|
|
66
|
+
};
|
|
67
|
+
type A1Options = {
|
|
68
|
+
temperatureSensor: boolean;
|
|
69
|
+
fanAccessory: boolean;
|
|
70
|
+
humiditySensor: boolean;
|
|
71
|
+
pumpSwitch: boolean;
|
|
72
|
+
waterTankSensor: WaterTankSensor;
|
|
73
|
+
minHumidity: number;
|
|
74
|
+
maxHumidity: number;
|
|
75
|
+
humidityStep: number;
|
|
76
|
+
};
|
|
77
|
+
type E2Options = {
|
|
78
|
+
protocol: string;
|
|
79
|
+
minTemp: number;
|
|
80
|
+
maxTemp: number;
|
|
81
|
+
tempStep: number;
|
|
82
|
+
variableHeatingSwitch: boolean;
|
|
83
|
+
wholeTankHeatingSwitch: boolean;
|
|
84
|
+
};
|
|
85
|
+
type E3Options = {
|
|
86
|
+
precisionHalves: boolean;
|
|
87
|
+
minTemp: number;
|
|
88
|
+
maxTemp: number;
|
|
89
|
+
tempStep: number;
|
|
90
|
+
burningStateSensor: boolean;
|
|
91
|
+
protectionSensor: boolean;
|
|
92
|
+
zeroColdWaterSwitch: boolean;
|
|
93
|
+
zeroColdPulseSwitch: boolean;
|
|
94
|
+
smartVolumeSwitch: boolean;
|
|
95
|
+
};
|
|
96
|
+
export declare const defaultDeviceConfig: DeviceConfig;
|
|
97
|
+
export {};
|
|
98
98
|
//# sourceMappingURL=platformUtils.d.ts.map
|
package/dist/platformUtils.js
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultDeviceConfig = exports.WaterTankSensor = exports.SwingAngle = exports.SwingMode = exports.defaultConfig = void 0;
|
|
4
|
-
exports.defaultConfig = {
|
|
5
|
-
refreshInterval: 30,
|
|
6
|
-
heartbeatInterval: 10,
|
|
7
|
-
verbose: false,
|
|
8
|
-
logRecoverableErrors: true,
|
|
9
|
-
uiDebug: false,
|
|
10
|
-
devices: [],
|
|
11
|
-
};
|
|
12
|
-
var SwingMode;
|
|
13
|
-
(function (SwingMode) {
|
|
14
|
-
SwingMode["NONE"] = "None";
|
|
15
|
-
SwingMode["VERTICAL"] = "Vertical";
|
|
16
|
-
SwingMode["HORIZONTAL"] = "Horizontal";
|
|
17
|
-
SwingMode["BOTH"] = "Both";
|
|
18
|
-
})(SwingMode = exports.SwingMode || (exports.SwingMode = {}));
|
|
19
|
-
var SwingAngle;
|
|
20
|
-
(function (SwingAngle) {
|
|
21
|
-
SwingAngle["VERTICAL"] = "Vertical";
|
|
22
|
-
SwingAngle["HORIZONTAL"] = "Horizontal";
|
|
23
|
-
})(SwingAngle = exports.SwingAngle || (exports.SwingAngle = {}));
|
|
24
|
-
var WaterTankSensor;
|
|
25
|
-
(function (WaterTankSensor) {
|
|
26
|
-
WaterTankSensor["NONE"] = "None";
|
|
27
|
-
WaterTankSensor["LEAK_SENSOR"] = "Leak Sensor";
|
|
28
|
-
WaterTankSensor["CONTACT_SENSOR"] = "Contact Sensor";
|
|
29
|
-
})(WaterTankSensor = exports.WaterTankSensor || (exports.WaterTankSensor = {}));
|
|
30
|
-
exports.defaultDeviceConfig = {
|
|
31
|
-
id: 0,
|
|
32
|
-
type: '',
|
|
33
|
-
advanced_options: {
|
|
34
|
-
ip: '',
|
|
35
|
-
token: '',
|
|
36
|
-
key: '',
|
|
37
|
-
verbose: false,
|
|
38
|
-
logRecoverableErrors: true,
|
|
39
|
-
registerIfOffline: false,
|
|
40
|
-
},
|
|
41
|
-
AC_options: {
|
|
42
|
-
swing: {
|
|
43
|
-
mode: SwingMode.NONE,
|
|
44
|
-
angleAccessory: false,
|
|
45
|
-
angleMainControl: SwingAngle.VERTICAL,
|
|
46
|
-
},
|
|
47
|
-
heatingCapable: true,
|
|
48
|
-
outDoorTemp: false,
|
|
49
|
-
audioFeedback: false,
|
|
50
|
-
screenOff: false,
|
|
51
|
-
ecoSwitch: false,
|
|
52
|
-
dryModeSwitch: false,
|
|
53
|
-
breezeAwaySwitch: false,
|
|
54
|
-
displaySwitch: {
|
|
55
|
-
flag: true,
|
|
56
|
-
command: false,
|
|
57
|
-
},
|
|
58
|
-
auxHeatingSwitches: false,
|
|
59
|
-
minTemp: 16,
|
|
60
|
-
maxTemp: 30,
|
|
61
|
-
tempStep: 1,
|
|
62
|
-
fahrenheit: false,
|
|
63
|
-
fanOnlyModeSwitch: false,
|
|
64
|
-
fanAccessory: false,
|
|
65
|
-
},
|
|
66
|
-
A1_options: {
|
|
67
|
-
temperatureSensor: false,
|
|
68
|
-
fanAccessory: false,
|
|
69
|
-
humiditySensor: false,
|
|
70
|
-
pumpSwitch: false,
|
|
71
|
-
waterTankSensor: WaterTankSensor.NONE,
|
|
72
|
-
minHumidity: 35,
|
|
73
|
-
maxHumidity: 85,
|
|
74
|
-
humidityStep: 5,
|
|
75
|
-
},
|
|
76
|
-
E2_options: {
|
|
77
|
-
protocol: 'auto',
|
|
78
|
-
minTemp: 30,
|
|
79
|
-
maxTemp: 75,
|
|
80
|
-
tempStep: 1,
|
|
81
|
-
variableHeatingSwitch: false,
|
|
82
|
-
wholeTankHeatingSwitch: false,
|
|
83
|
-
},
|
|
84
|
-
E3_options: {
|
|
85
|
-
precisionHalves: false,
|
|
86
|
-
minTemp: 35,
|
|
87
|
-
maxTemp: 65,
|
|
88
|
-
tempStep: 1,
|
|
89
|
-
burningStateSensor: false,
|
|
90
|
-
protectionSensor: false,
|
|
91
|
-
zeroColdWaterSwitch: false,
|
|
92
|
-
zeroColdPulseSwitch: false,
|
|
93
|
-
smartVolumeSwitch: false,
|
|
94
|
-
},
|
|
95
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultDeviceConfig = exports.WaterTankSensor = exports.SwingAngle = exports.SwingMode = exports.defaultConfig = void 0;
|
|
4
|
+
exports.defaultConfig = {
|
|
5
|
+
refreshInterval: 30,
|
|
6
|
+
heartbeatInterval: 10,
|
|
7
|
+
verbose: false,
|
|
8
|
+
logRecoverableErrors: true,
|
|
9
|
+
uiDebug: false,
|
|
10
|
+
devices: [],
|
|
11
|
+
};
|
|
12
|
+
var SwingMode;
|
|
13
|
+
(function (SwingMode) {
|
|
14
|
+
SwingMode["NONE"] = "None";
|
|
15
|
+
SwingMode["VERTICAL"] = "Vertical";
|
|
16
|
+
SwingMode["HORIZONTAL"] = "Horizontal";
|
|
17
|
+
SwingMode["BOTH"] = "Both";
|
|
18
|
+
})(SwingMode = exports.SwingMode || (exports.SwingMode = {}));
|
|
19
|
+
var SwingAngle;
|
|
20
|
+
(function (SwingAngle) {
|
|
21
|
+
SwingAngle["VERTICAL"] = "Vertical";
|
|
22
|
+
SwingAngle["HORIZONTAL"] = "Horizontal";
|
|
23
|
+
})(SwingAngle = exports.SwingAngle || (exports.SwingAngle = {}));
|
|
24
|
+
var WaterTankSensor;
|
|
25
|
+
(function (WaterTankSensor) {
|
|
26
|
+
WaterTankSensor["NONE"] = "None";
|
|
27
|
+
WaterTankSensor["LEAK_SENSOR"] = "Leak Sensor";
|
|
28
|
+
WaterTankSensor["CONTACT_SENSOR"] = "Contact Sensor";
|
|
29
|
+
})(WaterTankSensor = exports.WaterTankSensor || (exports.WaterTankSensor = {}));
|
|
30
|
+
exports.defaultDeviceConfig = {
|
|
31
|
+
id: 0,
|
|
32
|
+
type: '',
|
|
33
|
+
advanced_options: {
|
|
34
|
+
ip: '',
|
|
35
|
+
token: '',
|
|
36
|
+
key: '',
|
|
37
|
+
verbose: false,
|
|
38
|
+
logRecoverableErrors: true,
|
|
39
|
+
registerIfOffline: false,
|
|
40
|
+
},
|
|
41
|
+
AC_options: {
|
|
42
|
+
swing: {
|
|
43
|
+
mode: SwingMode.NONE,
|
|
44
|
+
angleAccessory: false,
|
|
45
|
+
angleMainControl: SwingAngle.VERTICAL,
|
|
46
|
+
},
|
|
47
|
+
heatingCapable: true,
|
|
48
|
+
outDoorTemp: false,
|
|
49
|
+
audioFeedback: false,
|
|
50
|
+
screenOff: false,
|
|
51
|
+
ecoSwitch: false,
|
|
52
|
+
dryModeSwitch: false,
|
|
53
|
+
breezeAwaySwitch: false,
|
|
54
|
+
displaySwitch: {
|
|
55
|
+
flag: true,
|
|
56
|
+
command: false,
|
|
57
|
+
},
|
|
58
|
+
auxHeatingSwitches: false,
|
|
59
|
+
minTemp: 16,
|
|
60
|
+
maxTemp: 30,
|
|
61
|
+
tempStep: 1,
|
|
62
|
+
fahrenheit: false,
|
|
63
|
+
fanOnlyModeSwitch: false,
|
|
64
|
+
fanAccessory: false,
|
|
65
|
+
},
|
|
66
|
+
A1_options: {
|
|
67
|
+
temperatureSensor: false,
|
|
68
|
+
fanAccessory: false,
|
|
69
|
+
humiditySensor: false,
|
|
70
|
+
pumpSwitch: false,
|
|
71
|
+
waterTankSensor: WaterTankSensor.NONE,
|
|
72
|
+
minHumidity: 35,
|
|
73
|
+
maxHumidity: 85,
|
|
74
|
+
humidityStep: 5,
|
|
75
|
+
},
|
|
76
|
+
E2_options: {
|
|
77
|
+
protocol: 'auto',
|
|
78
|
+
minTemp: 30,
|
|
79
|
+
maxTemp: 75,
|
|
80
|
+
tempStep: 1,
|
|
81
|
+
variableHeatingSwitch: false,
|
|
82
|
+
wholeTankHeatingSwitch: false,
|
|
83
|
+
},
|
|
84
|
+
E3_options: {
|
|
85
|
+
precisionHalves: false,
|
|
86
|
+
minTemp: 35,
|
|
87
|
+
maxTemp: 65,
|
|
88
|
+
tempStep: 1,
|
|
89
|
+
burningStateSensor: false,
|
|
90
|
+
protectionSensor: false,
|
|
91
|
+
zeroColdWaterSwitch: false,
|
|
92
|
+
zeroColdPulseSwitch: false,
|
|
93
|
+
smartVolumeSwitch: false,
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
96
|
//# sourceMappingURL=platformUtils.js.map
|
package/dist/settings.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
|
|
3
|
-
*/
|
|
4
|
-
export declare const PLATFORM_NAME = "midea-platform";
|
|
5
|
-
/**
|
|
6
|
-
* This must match the name of your plugin as defined the package.json
|
|
7
|
-
*/
|
|
8
|
-
export declare const PLUGIN_NAME = "homebridge-midea-platform";
|
|
1
|
+
/**
|
|
2
|
+
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
|
|
3
|
+
*/
|
|
4
|
+
export declare const PLATFORM_NAME = "midea-platform";
|
|
5
|
+
/**
|
|
6
|
+
* This must match the name of your plugin as defined the package.json
|
|
7
|
+
*/
|
|
8
|
+
export declare const PLUGIN_NAME = "homebridge-midea-platform";
|
|
9
9
|
//# sourceMappingURL=settings.d.ts.map
|
package/dist/settings.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PLUGIN_NAME = exports.PLATFORM_NAME = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
|
|
6
|
-
*/
|
|
7
|
-
exports.PLATFORM_NAME = 'midea-platform';
|
|
8
|
-
/**
|
|
9
|
-
* This must match the name of your plugin as defined the package.json
|
|
10
|
-
*/
|
|
11
|
-
exports.PLUGIN_NAME = 'homebridge-midea-platform';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PLUGIN_NAME = exports.PLATFORM_NAME = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
|
|
6
|
+
*/
|
|
7
|
+
exports.PLATFORM_NAME = 'midea-platform';
|
|
8
|
+
/**
|
|
9
|
+
* This must match the name of your plugin as defined the package.json
|
|
10
|
+
*/
|
|
11
|
+
exports.PLUGIN_NAME = 'homebridge-midea-platform';
|
|
12
12
|
//# sourceMappingURL=settings.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge Midea Platform",
|
|
3
3
|
"name": "homebridge-midea-platform",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2-beta.1",
|
|
5
5
|
"description": "Homebridge plugin for Midea devices",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -35,11 +35,16 @@
|
|
|
35
35
|
"prepare": "husky install"
|
|
36
36
|
},
|
|
37
37
|
"lint-staged": {
|
|
38
|
-
"*.ts": [
|
|
38
|
+
"*.ts": [
|
|
39
|
+
"prettier --write",
|
|
40
|
+
"eslint --fix"
|
|
41
|
+
]
|
|
39
42
|
},
|
|
40
|
-
"keywords": [
|
|
43
|
+
"keywords": [
|
|
44
|
+
"homebridge-plugin"
|
|
45
|
+
],
|
|
41
46
|
"dependencies": {
|
|
42
|
-
"@homebridge/plugin-ui-utils": "^1.0.
|
|
47
|
+
"@homebridge/plugin-ui-utils": "^1.0.3",
|
|
43
48
|
"axios": "^1.5.0",
|
|
44
49
|
"fast-xml-parser": "^4.2.7",
|
|
45
50
|
"lodash": "^4.17.21",
|