homebridge-midea-platform 1.3.1-beta.3 → 1.3.1-beta.4
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/CONTRIBUTING.md +9 -0
- package/README.md +15 -7
- package/package.json +2 -2
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Contributing to homebridge-midea-platform
|
|
2
|
+
|
|
3
|
+
## AI Policy
|
|
4
|
+
|
|
5
|
+
1. Always review AI-generated code closely before submitting a PR.
|
|
6
|
+
2. Only use AI to assist in contributions that you would understand well enough to work on and respond to feedback on without making use of AI.
|
|
7
|
+
3. Do not ignore our issue and PR templates.
|
|
8
|
+
4. Avoid AI-generated content in written, non-code contributions (issues/comments/PR descriptions, etc.). AI-generated PR descriptions in particular tend to just be nearly-verbatim descriptions of the code diff, which add no value to the PR. Instead, we ask that you summarize the PR succinctly in your own words, relying on your own understanding of the code.
|
|
9
|
+
5. Pull requests and issues that do not appear to follow these guidelines may be closed at maintainers' discretion.
|
package/README.md
CHANGED
|
@@ -8,19 +8,23 @@
|
|
|
8
8
|
[](https://www.npmjs.com/package/homebridge-midea-platform)
|
|
9
9
|
[](https://www.npmjs.com/package/homebridge-midea-platform)
|
|
10
10
|
|
|
11
|
-
_Verified_ plugin for Midea devices. This is implemented by building on the Homebridge platform plugin template and the work done by
|
|
11
|
+
_Verified_ plugin for Midea devices. This is implemented by building on the Homebridge platform plugin template and the work done by:
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
- [@georgezhao2010](https://github.com/georgezhao2010) in the [midea_ac_lan](https://github.com/georgezhao2010/midea_ac_lan) project for Home Assistant
|
|
14
|
+
- The [midea-local](https://github.com/midea-lan/midea-local) project.
|
|
15
|
+
- [@mill1000](https://github.com/mill1000) in the [midea-msmart (msmart-ng)](https://github.com/mill1000/midea-msmart) project.
|
|
14
16
|
|
|
15
17
|
More information can be found in the [wiki](https://github.com/kovapatrik/homebridge-midea-platform/wiki).
|
|
16
18
|
|
|
17
19
|
## IMPORTANT NOTICE
|
|
18
20
|
|
|
19
|
-
-
|
|
20
|
-
- It's
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
21
|
+
- Fetching the token/key using Midea SmartHome is available again thanks to [cauan](https://github.com/cauan) and [their PR](https://github.com/midea-lan/midea-local/pull/470)
|
|
22
|
+
- It's still HIGHLY advised to save the token/key.
|
|
23
|
+
- ~~As written by [@wuwentao](https://github.com/wuwentao) in the [midea_ac_lan repository](https://github.com/wuwentao/midea_ac_lan), Midea disabled the token fetching APIs in both Meiju and Midea SmartHome, and now it's only available using the NetHome Plus API.~~
|
|
24
|
+
- ~~It's expected that the token fetching in NetHome Plus API will be disabled as well.~~
|
|
25
|
+
- ~~Make sure you save your devices' token and key to be able to usem them in the future.~~
|
|
26
|
+
- ~~[@wuwentao](https://github.com/wuwentao) also wrote a nice summary about the history of what happened: https://github.com/mill1000/midea-msmart/issues/201#issuecomment-2746782457~~
|
|
27
|
+
- ~~For these reasons, only NetHome Plus is enabled in the discovery process.~~
|
|
24
28
|
|
|
25
29
|
## Features
|
|
26
30
|
|
|
@@ -63,6 +67,10 @@ Midea device status is retrieved over your Local Area Network (LAN) and credenti
|
|
|
63
67
|
|
|
64
68
|
You should use the UI to discover and add devices. More information on the settings can be found in the [wiki](https://github.com/kovapatrik/homebridge-midea-platform/wiki#device-discovery).
|
|
65
69
|
|
|
70
|
+
## Contribution
|
|
71
|
+
|
|
72
|
+
Help is always welcome. If you'd like to get involved, check out the [contribution notes](CONTRIBUTING.md).
|
|
73
|
+
|
|
66
74
|
## License
|
|
67
75
|
|
|
68
76
|
Copyright (c) 2023 [Kovalovszky Patrik](https://github.com/kovapatrik),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-midea-platform",
|
|
3
|
-
"version": "1.3.1-beta.
|
|
3
|
+
"version": "1.3.1-beta.4",
|
|
4
4
|
"description": "Homebridge plugin for Midea devices",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"homebridge-plugin"
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@homebridge/plugin-ui-utils": "^2.2.4",
|
|
40
40
|
"axios": "^1.18.1",
|
|
41
41
|
"fast-xml-parser": "^5.9.3",
|
|
42
|
+
"lodash-es": "^4.18.1",
|
|
42
43
|
"luxon": "^3.7.2",
|
|
43
44
|
"semaphore-promise": "^1.4.4"
|
|
44
45
|
},
|
|
@@ -49,7 +50,6 @@
|
|
|
49
50
|
"@types/node": "^25.9.4",
|
|
50
51
|
"alpinejs": "^3.15.12",
|
|
51
52
|
"homebridge": "^2.1.0",
|
|
52
|
-
"lodash-es": "^4.18.1",
|
|
53
53
|
"nodemon": "^3.1.14",
|
|
54
54
|
"oxfmt": "^0.57.0",
|
|
55
55
|
"oxlint": "^1.72.0",
|