homebridge-midea-platform 1.1.2-beta.9 → 1.2.0-beta.2

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.
Files changed (110) hide show
  1. package/.husky/pre-commit +0 -0
  2. package/CHANGELOG.md +4 -2
  3. package/config.schema.json +46 -1
  4. package/dist/accessory/AccessoryFactory.d.ts +12 -12
  5. package/dist/accessory/AccessoryFactory.js +31 -31
  6. package/dist/accessory/AirConditionerAccessory.d.ts +92 -89
  7. package/dist/accessory/AirConditionerAccessory.d.ts.map +1 -1
  8. package/dist/accessory/AirConditionerAccessory.js +607 -584
  9. package/dist/accessory/AirConditionerAccessory.js.map +1 -1
  10. package/dist/accessory/BaseAccessory.d.ts +11 -11
  11. package/dist/accessory/BaseAccessory.js +21 -21
  12. package/dist/accessory/DehumidifierAccessory.d.ts +45 -45
  13. package/dist/accessory/DehumidifierAccessory.js +344 -344
  14. package/dist/accessory/DishwasherAccessory.d.ts +31 -0
  15. package/dist/accessory/DishwasherAccessory.d.ts.map +1 -0
  16. package/dist/accessory/DishwasherAccessory.js +64 -0
  17. package/dist/accessory/DishwasherAccessory.js.map +1 -0
  18. package/dist/accessory/ElectricWaterHeaterAccessory.d.ts +44 -44
  19. package/dist/accessory/ElectricWaterHeaterAccessory.js +176 -176
  20. package/dist/accessory/FanAccessory.d.ts +39 -39
  21. package/dist/accessory/FanAccessory.js +123 -123
  22. package/dist/accessory/FrontLoadWasherAccessory.d.ts +30 -30
  23. package/dist/accessory/FrontLoadWasherAccessory.d.ts.map +1 -1
  24. package/dist/accessory/FrontLoadWasherAccessory.js +66 -60
  25. package/dist/accessory/FrontLoadWasherAccessory.js.map +1 -1
  26. package/dist/accessory/GasWaterHeaterAccessory.d.ts +51 -51
  27. package/dist/accessory/GasWaterHeaterAccessory.js +216 -216
  28. package/dist/core/MideaCloud.d.ts +35 -35
  29. package/dist/core/MideaCloud.js +350 -350
  30. package/dist/core/MideaConstants.d.ts +50 -49
  31. package/dist/core/MideaConstants.d.ts.map +1 -1
  32. package/dist/core/MideaConstants.js +58 -57
  33. package/dist/core/MideaConstants.js.map +1 -1
  34. package/dist/core/MideaDevice.d.ts +76 -76
  35. package/dist/core/MideaDevice.js +409 -409
  36. package/dist/core/MideaDiscover.d.ts +35 -35
  37. package/dist/core/MideaDiscover.js +212 -212
  38. package/dist/core/MideaMessage.d.ts +75 -75
  39. package/dist/core/MideaMessage.js +184 -184
  40. package/dist/core/MideaPacketBuilder.d.ts +10 -10
  41. package/dist/core/MideaPacketBuilder.js +60 -60
  42. package/dist/core/MideaSecurity.d.ts +63 -63
  43. package/dist/core/MideaSecurity.js +251 -251
  44. package/dist/core/MideaUtils.d.ts +32 -32
  45. package/dist/core/MideaUtils.js +181 -181
  46. package/dist/devices/DeviceFactory.d.ts +13 -12
  47. package/dist/devices/DeviceFactory.d.ts.map +1 -1
  48. package/dist/devices/DeviceFactory.js +36 -33
  49. package/dist/devices/DeviceFactory.js.map +1 -1
  50. package/dist/devices/a1/MideaA1Device.d.ts +76 -76
  51. package/dist/devices/a1/MideaA1Device.d.ts.map +1 -1
  52. package/dist/devices/a1/MideaA1Device.js +145 -136
  53. package/dist/devices/a1/MideaA1Device.js.map +1 -1
  54. package/dist/devices/a1/MideaA1Message.d.ts +40 -40
  55. package/dist/devices/a1/MideaA1Message.js +198 -198
  56. package/dist/devices/ac/MideaACDevice.d.ts +104 -100
  57. package/dist/devices/ac/MideaACDevice.d.ts.map +1 -1
  58. package/dist/devices/ac/MideaACDevice.js +384 -381
  59. package/dist/devices/ac/MideaACDevice.js.map +1 -1
  60. package/dist/devices/ac/MideaACMessage.d.ts +94 -92
  61. package/dist/devices/ac/MideaACMessage.d.ts.map +1 -1
  62. package/dist/devices/ac/MideaACMessage.js +611 -589
  63. package/dist/devices/ac/MideaACMessage.js.map +1 -1
  64. package/dist/devices/db/MideaDBDevice.d.ts +29 -29
  65. package/dist/devices/db/MideaDBDevice.d.ts.map +1 -1
  66. package/dist/devices/db/MideaDBDevice.js +100 -88
  67. package/dist/devices/db/MideaDBDevice.js.map +1 -1
  68. package/dist/devices/db/MideaDBMessage.d.ts +32 -32
  69. package/dist/devices/db/MideaDBMessage.d.ts.map +1 -1
  70. package/dist/devices/db/MideaDBMessage.js +101 -101
  71. package/dist/devices/db/MideaDBMessage.js.map +1 -1
  72. package/dist/devices/e1/MideaE1Device.d.ts +57 -0
  73. package/dist/devices/e1/MideaE1Device.d.ts.map +1 -0
  74. package/dist/devices/e1/MideaE1Device.js +129 -0
  75. package/dist/devices/e1/MideaE1Device.js.map +1 -0
  76. package/dist/devices/e1/MideaE1Message.d.ts +29 -0
  77. package/dist/devices/e1/MideaE1Message.d.ts.map +1 -0
  78. package/dist/devices/e1/MideaE1Message.js +108 -0
  79. package/dist/devices/e1/MideaE1Message.js.map +1 -0
  80. package/dist/devices/e2/MideaE2Device.d.ts +44 -44
  81. package/dist/devices/e2/MideaE2Device.d.ts.map +1 -1
  82. package/dist/devices/e2/MideaE2Device.js +129 -119
  83. package/dist/devices/e2/MideaE2Device.js.map +1 -1
  84. package/dist/devices/e2/MideaE2Message.d.ts +33 -33
  85. package/dist/devices/e2/MideaE2Message.js +132 -132
  86. package/dist/devices/e3/MideaE3Device.d.ts +43 -43
  87. package/dist/devices/e3/MideaE3Device.d.ts.map +1 -1
  88. package/dist/devices/e3/MideaE3Device.js +137 -125
  89. package/dist/devices/e3/MideaE3Device.js.map +1 -1
  90. package/dist/devices/e3/MideaE3Message.d.ts +51 -51
  91. package/dist/devices/e3/MideaE3Message.js +136 -136
  92. package/dist/devices/fa/MideaFADevice.d.ts +36 -36
  93. package/dist/devices/fa/MideaFADevice.d.ts.map +1 -1
  94. package/dist/devices/fa/MideaFADevice.js +106 -92
  95. package/dist/devices/fa/MideaFADevice.js.map +1 -1
  96. package/dist/devices/fa/MideaFAMessage.d.ts +38 -38
  97. package/dist/devices/fa/MideaFAMessage.js +98 -98
  98. package/dist/index.d.ts +6 -6
  99. package/dist/index.js +6 -6
  100. package/dist/platform.d.ts +60 -60
  101. package/dist/platform.js +212 -212
  102. package/dist/platformUtils.d.ts +106 -99
  103. package/dist/platformUtils.d.ts.map +1 -1
  104. package/dist/platformUtils.js +101 -97
  105. package/dist/platformUtils.js.map +1 -1
  106. package/dist/settings.d.ts +8 -8
  107. package/dist/settings.js +11 -11
  108. package/docs/e1.md +3 -0
  109. package/homebridge-ui/server.js +3 -0
  110. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"MideaE3Device.js","sourceRoot":"","sources":["../../../src/devices/e3/MideaE3Device.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;AAGH,yEAA0E;AAI1E,qDAAqI;AAerI,MAAqB,aAAc,SAAQ,qBAAW;IAMpD;;;;;OAKG;IACH,YAAY,MAAc,EAAE,WAAuB,EAAE,MAAc,EAAE,YAA0B;QAC7F,KAAK,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;QAV3C,kBAAa,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAWnE,IAAI,CAAC,UAAU,GAAG;YAChB,KAAK,EAAE,KAAK;YACZ,aAAa,EAAE,KAAK;YACpB,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,eAAe,EAAE,KAAK;YACtB,YAAY,EAAE,KAAK;YACnB,mBAAmB,EAAE,SAAS;YAC9B,kBAAkB,EAAE,EAAE;SACvB,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG,YAAY,CAAC,UAAU,CAAC,eAAe,CAAC;IACnE,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,WAAW;QACT,OAAO,CAAC,IAAI,6BAAY,CAAC,IAAI,CAAC,uBAA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C,EAAE,IAAI,IAAI,CAAC,IAAI,OAAO,GAAG,EAAE,CAAC,CAAC;SAC/F;IACH,CAAC;IAES,WAAW;QACnB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAChD,CAAC;CACF;AArID,gCAqIC"}
@@ -1,52 +1,52 @@
1
- /// <reference types="node" />
2
- import { MessageBody, MessageRequest, MessageResponse, MessageType } from '../../core/MideaMessage';
3
- export declare enum NewProtocolTags {
4
- ZERO_COLD_WATER = 3,
5
- ZERO_COLD_PULSE = 4,
6
- SMART_VOLUME = 7,
7
- TARGET_TEMPERATURE = 8
8
- }
9
- declare abstract class MessageE3Base extends MessageRequest {
10
- constructor(device_protocol_version: number, message_type: MessageType, body_type: number);
11
- }
12
- export declare class MessageQuery extends MessageE3Base {
13
- constructor(device_protocol_version: number);
14
- get _body(): Buffer;
15
- }
16
- export declare class MessagePower extends MessageE3Base {
17
- power: boolean;
18
- constructor(device_protocol_version: number);
19
- get _body(): Buffer;
20
- }
21
- export declare class MessageSet extends MessageE3Base {
22
- target_temperature: number;
23
- zero_cold_water: boolean;
24
- bathtub_volume: number;
25
- protection: boolean;
26
- zero_cold_pulse: boolean;
27
- smart_volume: boolean;
28
- constructor(device_protocol_version: number);
29
- get _body(): Buffer;
30
- }
31
- export declare class MessageNewProtocolSet extends MessageE3Base {
32
- key?: keyof typeof NewProtocolTags;
33
- value?: number | boolean;
34
- constructor(device_protocol_version: number);
35
- get _body(): Buffer;
36
- }
37
- export declare class E3GeneralMessageBody extends MessageBody {
38
- power: boolean;
39
- burning_state: boolean;
40
- zero_cold_water: boolean;
41
- current_temperature: number;
42
- target_temperature: number;
43
- protection: boolean;
44
- zero_cold_pulse: boolean;
45
- smart_volume: boolean;
46
- constructor(body: Buffer);
47
- }
48
- export declare class MessageE3Response extends MessageResponse {
49
- constructor(message: Buffer);
50
- }
51
- export {};
1
+ /// <reference types="node" />
2
+ import { MessageBody, MessageRequest, MessageResponse, MessageType } from '../../core/MideaMessage';
3
+ export declare enum NewProtocolTags {
4
+ ZERO_COLD_WATER = 3,
5
+ ZERO_COLD_PULSE = 4,
6
+ SMART_VOLUME = 7,
7
+ TARGET_TEMPERATURE = 8
8
+ }
9
+ declare abstract class MessageE3Base extends MessageRequest {
10
+ constructor(device_protocol_version: number, message_type: MessageType, body_type: number);
11
+ }
12
+ export declare class MessageQuery extends MessageE3Base {
13
+ constructor(device_protocol_version: number);
14
+ get _body(): Buffer;
15
+ }
16
+ export declare class MessagePower extends MessageE3Base {
17
+ power: boolean;
18
+ constructor(device_protocol_version: number);
19
+ get _body(): Buffer;
20
+ }
21
+ export declare class MessageSet extends MessageE3Base {
22
+ target_temperature: number;
23
+ zero_cold_water: boolean;
24
+ bathtub_volume: number;
25
+ protection: boolean;
26
+ zero_cold_pulse: boolean;
27
+ smart_volume: boolean;
28
+ constructor(device_protocol_version: number);
29
+ get _body(): Buffer;
30
+ }
31
+ export declare class MessageNewProtocolSet extends MessageE3Base {
32
+ key?: keyof typeof NewProtocolTags;
33
+ value?: number | boolean;
34
+ constructor(device_protocol_version: number);
35
+ get _body(): Buffer;
36
+ }
37
+ export declare class E3GeneralMessageBody extends MessageBody {
38
+ power: boolean;
39
+ burning_state: boolean;
40
+ zero_cold_water: boolean;
41
+ current_temperature: number;
42
+ target_temperature: number;
43
+ protection: boolean;
44
+ zero_cold_pulse: boolean;
45
+ smart_volume: boolean;
46
+ constructor(body: Buffer);
47
+ }
48
+ export declare class MessageE3Response extends MessageResponse {
49
+ constructor(message: Buffer);
50
+ }
51
+ export {};
52
52
  //# sourceMappingURL=MideaE3Message.d.ts.map
@@ -1,137 +1,137 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageE3Response = exports.E3GeneralMessageBody = exports.MessageNewProtocolSet = exports.MessageSet = exports.MessagePower = exports.MessageQuery = exports.NewProtocolTags = void 0;
4
- /***********************************************************************
5
- * Midea Gas Water Heater Device message handler class
6
- *
7
- * Copyright (c) 2024 Kovalovszky Patrik, https://github.com/kovapatrik
8
- *
9
- * With thanks to https://github.com/georgezhao2010/midea_ac_lan
10
- *
11
- */
12
- const MideaConstants_1 = require("../../core/MideaConstants");
13
- const MideaMessage_1 = require("../../core/MideaMessage");
14
- var NewProtocolTags;
15
- (function (NewProtocolTags) {
16
- NewProtocolTags[NewProtocolTags["ZERO_COLD_WATER"] = 3] = "ZERO_COLD_WATER";
17
- NewProtocolTags[NewProtocolTags["ZERO_COLD_PULSE"] = 4] = "ZERO_COLD_PULSE";
18
- NewProtocolTags[NewProtocolTags["SMART_VOLUME"] = 7] = "SMART_VOLUME";
19
- NewProtocolTags[NewProtocolTags["TARGET_TEMPERATURE"] = 8] = "TARGET_TEMPERATURE";
20
- })(NewProtocolTags = exports.NewProtocolTags || (exports.NewProtocolTags = {}));
21
- class MessageE3Base extends MideaMessage_1.MessageRequest {
22
- constructor(device_protocol_version, message_type, body_type) {
23
- super(MideaConstants_1.DeviceType.GAS_WATER_HEATER, message_type, body_type, device_protocol_version);
24
- }
25
- }
26
- class MessageQuery extends MessageE3Base {
27
- constructor(device_protocol_version) {
28
- super(device_protocol_version, MideaMessage_1.MessageType.QUERY, 0x01);
29
- }
30
- get _body() {
31
- return Buffer.from([0x01]);
32
- }
33
- }
34
- exports.MessageQuery = MessageQuery;
35
- class MessagePower extends MessageE3Base {
36
- constructor(device_protocol_version) {
37
- super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x02);
38
- this.power = false;
39
- }
40
- get _body() {
41
- if (this.power) {
42
- this.body_type = 0x01;
43
- }
44
- else {
45
- this.body_type = 0x02;
46
- }
47
- return Buffer.from([0x01]);
48
- }
49
- }
50
- exports.MessagePower = MessagePower;
51
- class MessageSet extends MessageE3Base {
52
- constructor(device_protocol_version) {
53
- super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x04);
54
- this.target_temperature = 0;
55
- this.zero_cold_water = false;
56
- this.bathtub_volume = 0;
57
- this.protection = false;
58
- this.zero_cold_pulse = false;
59
- this.smart_volume = false;
60
- }
61
- get _body() {
62
- // Byte 2 zero_cold_water mode
63
- const zero_cold_water = this.zero_cold_water ? 0x01 : 0x00;
64
- // Byte 3
65
- const protection = this.protection ? 0x08 : 0x00;
66
- const zero_cold_pulse = this.zero_cold_pulse ? 0x10 : 0x00;
67
- const smart_volume = this.smart_volume ? 0x20 : 0x00;
68
- // Byte 5
69
- const target_temperature = this.target_temperature & 0xff;
70
- return Buffer.from([
71
- 0x01,
72
- zero_cold_water | 0x02,
73
- protection | zero_cold_pulse | smart_volume,
74
- 0x00,
75
- target_temperature,
76
- 0x00,
77
- 0x00,
78
- 0x00,
79
- 0x00,
80
- 0x00,
81
- 0x00,
82
- 0x00,
83
- 0x00,
84
- 0x00,
85
- ]);
86
- }
87
- }
88
- exports.MessageSet = MessageSet;
89
- class MessageNewProtocolSet extends MessageE3Base {
90
- constructor(device_protocol_version) {
91
- super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x14);
92
- }
93
- get _body() {
94
- if (this.key === undefined || this.value === undefined) {
95
- throw new Error('key and value must be set');
96
- }
97
- const key = NewProtocolTags[this.key];
98
- if (key === undefined) {
99
- throw new Error('Invalid key');
100
- }
101
- let value;
102
- if (this.key === 'TARGET_TEMPERATURE') {
103
- value = this.value;
104
- }
105
- else {
106
- value = this.value ? 0x01 : 0x00;
107
- }
108
- return Buffer.from([key, value, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]);
109
- }
110
- }
111
- exports.MessageNewProtocolSet = MessageNewProtocolSet;
112
- class E3GeneralMessageBody extends MideaMessage_1.MessageBody {
113
- constructor(body) {
114
- super(body);
115
- this.power = (body[2] & 0x01) > 0;
116
- this.burning_state = (body[2] & 0x02) > 0;
117
- this.zero_cold_water = (body[2] & 0x04) > 0;
118
- this.current_temperature = body[5];
119
- this.target_temperature = body[6];
120
- this.protection = (body[8] & 0x08) > 0;
121
- this.zero_cold_pulse = body.length > 20 ? (body[20] & 0x01) > 0 : false;
122
- this.smart_volume = body.length > 20 ? (body[20] & 0x02) > 0 : false;
123
- }
124
- }
125
- exports.E3GeneralMessageBody = E3GeneralMessageBody;
126
- class MessageE3Response extends MideaMessage_1.MessageResponse {
127
- constructor(message) {
128
- super(message);
129
- if ((this.message_type === MideaMessage_1.MessageType.QUERY && this.body_type === 0x01) ||
130
- (this.message_type === MideaMessage_1.MessageType.SET && [0x01, 0x02, 0x04, 0x14].includes(this.body_type)) ||
131
- (this.message_type === MideaMessage_1.MessageType.NOTIFY1 && [0x00, 0x01].includes(this.body_type))) {
132
- this.set_body(new E3GeneralMessageBody(this.body));
133
- }
134
- }
135
- }
136
- exports.MessageE3Response = MessageE3Response;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageE3Response = exports.E3GeneralMessageBody = exports.MessageNewProtocolSet = exports.MessageSet = exports.MessagePower = exports.MessageQuery = exports.NewProtocolTags = void 0;
4
+ /***********************************************************************
5
+ * Midea Gas Water Heater Device message handler class
6
+ *
7
+ * Copyright (c) 2024 Kovalovszky Patrik, https://github.com/kovapatrik
8
+ *
9
+ * With thanks to https://github.com/georgezhao2010/midea_ac_lan
10
+ *
11
+ */
12
+ const MideaConstants_1 = require("../../core/MideaConstants");
13
+ const MideaMessage_1 = require("../../core/MideaMessage");
14
+ var NewProtocolTags;
15
+ (function (NewProtocolTags) {
16
+ NewProtocolTags[NewProtocolTags["ZERO_COLD_WATER"] = 3] = "ZERO_COLD_WATER";
17
+ NewProtocolTags[NewProtocolTags["ZERO_COLD_PULSE"] = 4] = "ZERO_COLD_PULSE";
18
+ NewProtocolTags[NewProtocolTags["SMART_VOLUME"] = 7] = "SMART_VOLUME";
19
+ NewProtocolTags[NewProtocolTags["TARGET_TEMPERATURE"] = 8] = "TARGET_TEMPERATURE";
20
+ })(NewProtocolTags = exports.NewProtocolTags || (exports.NewProtocolTags = {}));
21
+ class MessageE3Base extends MideaMessage_1.MessageRequest {
22
+ constructor(device_protocol_version, message_type, body_type) {
23
+ super(MideaConstants_1.DeviceType.GAS_WATER_HEATER, message_type, body_type, device_protocol_version);
24
+ }
25
+ }
26
+ class MessageQuery extends MessageE3Base {
27
+ constructor(device_protocol_version) {
28
+ super(device_protocol_version, MideaMessage_1.MessageType.QUERY, 0x01);
29
+ }
30
+ get _body() {
31
+ return Buffer.from([0x01]);
32
+ }
33
+ }
34
+ exports.MessageQuery = MessageQuery;
35
+ class MessagePower extends MessageE3Base {
36
+ constructor(device_protocol_version) {
37
+ super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x02);
38
+ this.power = false;
39
+ }
40
+ get _body() {
41
+ if (this.power) {
42
+ this.body_type = 0x01;
43
+ }
44
+ else {
45
+ this.body_type = 0x02;
46
+ }
47
+ return Buffer.from([0x01]);
48
+ }
49
+ }
50
+ exports.MessagePower = MessagePower;
51
+ class MessageSet extends MessageE3Base {
52
+ constructor(device_protocol_version) {
53
+ super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x04);
54
+ this.target_temperature = 0;
55
+ this.zero_cold_water = false;
56
+ this.bathtub_volume = 0;
57
+ this.protection = false;
58
+ this.zero_cold_pulse = false;
59
+ this.smart_volume = false;
60
+ }
61
+ get _body() {
62
+ // Byte 2 zero_cold_water mode
63
+ const zero_cold_water = this.zero_cold_water ? 0x01 : 0x00;
64
+ // Byte 3
65
+ const protection = this.protection ? 0x08 : 0x00;
66
+ const zero_cold_pulse = this.zero_cold_pulse ? 0x10 : 0x00;
67
+ const smart_volume = this.smart_volume ? 0x20 : 0x00;
68
+ // Byte 5
69
+ const target_temperature = this.target_temperature & 0xff;
70
+ return Buffer.from([
71
+ 0x01,
72
+ zero_cold_water | 0x02,
73
+ protection | zero_cold_pulse | smart_volume,
74
+ 0x00,
75
+ target_temperature,
76
+ 0x00,
77
+ 0x00,
78
+ 0x00,
79
+ 0x00,
80
+ 0x00,
81
+ 0x00,
82
+ 0x00,
83
+ 0x00,
84
+ 0x00,
85
+ ]);
86
+ }
87
+ }
88
+ exports.MessageSet = MessageSet;
89
+ class MessageNewProtocolSet extends MessageE3Base {
90
+ constructor(device_protocol_version) {
91
+ super(device_protocol_version, MideaMessage_1.MessageType.SET, 0x14);
92
+ }
93
+ get _body() {
94
+ if (this.key === undefined || this.value === undefined) {
95
+ throw new Error('key and value must be set');
96
+ }
97
+ const key = NewProtocolTags[this.key];
98
+ if (key === undefined) {
99
+ throw new Error('Invalid key');
100
+ }
101
+ let value;
102
+ if (this.key === 'TARGET_TEMPERATURE') {
103
+ value = this.value;
104
+ }
105
+ else {
106
+ value = this.value ? 0x01 : 0x00;
107
+ }
108
+ return Buffer.from([key, value, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]);
109
+ }
110
+ }
111
+ exports.MessageNewProtocolSet = MessageNewProtocolSet;
112
+ class E3GeneralMessageBody extends MideaMessage_1.MessageBody {
113
+ constructor(body) {
114
+ super(body);
115
+ this.power = (body[2] & 0x01) > 0;
116
+ this.burning_state = (body[2] & 0x02) > 0;
117
+ this.zero_cold_water = (body[2] & 0x04) > 0;
118
+ this.current_temperature = body[5];
119
+ this.target_temperature = body[6];
120
+ this.protection = (body[8] & 0x08) > 0;
121
+ this.zero_cold_pulse = body.length > 20 ? (body[20] & 0x01) > 0 : false;
122
+ this.smart_volume = body.length > 20 ? (body[20] & 0x02) > 0 : false;
123
+ }
124
+ }
125
+ exports.E3GeneralMessageBody = E3GeneralMessageBody;
126
+ class MessageE3Response extends MideaMessage_1.MessageResponse {
127
+ constructor(message) {
128
+ super(message);
129
+ if ((this.message_type === MideaMessage_1.MessageType.QUERY && this.body_type === 0x01) ||
130
+ (this.message_type === MideaMessage_1.MessageType.SET && [0x01, 0x02, 0x04, 0x14].includes(this.body_type)) ||
131
+ (this.message_type === MideaMessage_1.MessageType.NOTIFY1 && [0x00, 0x01].includes(this.body_type))) {
132
+ this.set_body(new E3GeneralMessageBody(this.body));
133
+ }
134
+ }
135
+ }
136
+ exports.MessageE3Response = MessageE3Response;
137
137
  //# sourceMappingURL=MideaE3Message.js.map
@@ -1,37 +1,37 @@
1
- /***********************************************************************
2
- * Midea Fan class
3
- *
4
- * Copyright (c) 2024 Kovalovszky Patrik, https://github.com/kovapatrik
5
- *
6
- * With thanks to https://github.com/georgezhao2010/midea_ac_lan
7
- *
8
- */
9
- /// <reference types="node" />
10
- import { Logger } from 'homebridge';
11
- import MideaDevice, { DeviceAttributeBase } from '../../core/MideaDevice';
12
- import { DeviceInfo } from '../../core/MideaConstants';
13
- import { Config, DeviceConfig } from '../../platformUtils';
14
- import { MessageRequest } from '../../core/MideaMessage';
15
- import { MessageSet } from './MideaFAMessage';
16
- export interface FAAttributes extends DeviceAttributeBase {
17
- POWER: boolean;
18
- CHILD_LOCK: boolean;
19
- MODE: number;
20
- FAN_SPEED: number;
21
- OSCILLATE: boolean;
22
- OSCILLATION_ANGLE: number;
23
- OSCILLATION_MODE: number;
24
- TILTING_ANGLE: number;
25
- }
26
- export default class MideaFADevice extends MideaDevice {
27
- attributes: FAAttributes;
28
- private default_speed_count;
29
- private speed_count;
30
- constructor(logger: Logger, device_info: DeviceInfo, config: Config, deviceConfig: DeviceConfig);
31
- build_query(): MessageRequest[];
32
- process_message(msg: Buffer): void;
33
- set_subtype(): void;
34
- make_message_set(): MessageSet;
35
- set_attribute(attributes: Partial<FAAttributes>): Promise<void>;
36
- }
1
+ /***********************************************************************
2
+ * Midea Fan class
3
+ *
4
+ * Copyright (c) 2024 Kovalovszky Patrik, https://github.com/kovapatrik
5
+ *
6
+ * With thanks to https://github.com/georgezhao2010/midea_ac_lan
7
+ *
8
+ */
9
+ /// <reference types="node" />
10
+ import { Logger } from 'homebridge';
11
+ import MideaDevice, { DeviceAttributeBase } from '../../core/MideaDevice';
12
+ import { DeviceInfo } from '../../core/MideaConstants';
13
+ import { Config, DeviceConfig } from '../../platformUtils';
14
+ import { MessageRequest } from '../../core/MideaMessage';
15
+ import { MessageSet } from './MideaFAMessage';
16
+ export interface FAAttributes extends DeviceAttributeBase {
17
+ POWER: boolean;
18
+ CHILD_LOCK: boolean;
19
+ MODE: number;
20
+ FAN_SPEED: number;
21
+ OSCILLATE: boolean;
22
+ OSCILLATION_ANGLE: number;
23
+ OSCILLATION_MODE: number;
24
+ TILTING_ANGLE: number;
25
+ }
26
+ export default class MideaFADevice extends MideaDevice {
27
+ attributes: FAAttributes;
28
+ private default_speed_count;
29
+ private speed_count;
30
+ constructor(logger: Logger, device_info: DeviceInfo, config: Config, deviceConfig: DeviceConfig);
31
+ build_query(): MessageRequest[];
32
+ process_message(msg: Buffer): void;
33
+ set_subtype(): void;
34
+ make_message_set(): MessageSet;
35
+ set_attribute(attributes: Partial<FAAttributes>): Promise<void>;
36
+ }
37
37
  //# sourceMappingURL=MideaFADevice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MideaFADevice.d.ts","sourceRoot":"","sources":["../../../src/devices/fa/MideaFADevice.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,WAAW,EAAE,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAmC,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI/E,MAAM,WAAW,YAAa,SAAQ,mBAAmB;IACvD,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,i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