homebridge-melcloud-control 4.0.0-beta.43 → 4.0.0-beta.45
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 +4 -3
- package/homebridge-ui/public/index.html +4 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -204,9 +204,10 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
204
204
|
| Key | Description |
|
|
205
205
|
| --- | --- |
|
|
206
206
|
| `name` | Here set the own account name. |
|
|
207
|
-
| `user` | Here set the
|
|
208
|
-
| `passwd` | Here set the
|
|
209
|
-
| `language` | Here select the
|
|
207
|
+
| `user` | Here set the account username. |
|
|
208
|
+
| `passwd` | Here set the account password. |
|
|
209
|
+
| `language` | Here select the account language. |
|
|
210
|
+
| `displayMode` | Here select the account type `None/Disabled`, `MELCloud`, `MELCloud Home`. |
|
|
210
211
|
| `ataDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
|
|
211
212
|
| `ataDevices[].id` | Read only data, do not change it. |
|
|
212
213
|
| `ataDevices[].type` | Read only data, do not change it. |
|
|
@@ -86,13 +86,12 @@
|
|
|
86
86
|
</div>
|
|
87
87
|
|
|
88
88
|
<div class="text-center">
|
|
89
|
-
<button id="logIn" type="button" class="btn btn-secondary">
|
|
89
|
+
<button id="logIn" type="button" class="btn btn-secondary">Log In</button>
|
|
90
90
|
<button id="configButton" type="button" class="btn btn-secondary"><i class="fas fa-gear"></i></button>
|
|
91
91
|
</div>
|
|
92
92
|
</form>
|
|
93
|
+
<div id="accountButton" class="text-center mt-2"></div>
|
|
93
94
|
</div>
|
|
94
|
-
|
|
95
|
-
<div id="accountButton" class="mt-2"></div>
|
|
96
95
|
</div>
|
|
97
96
|
|
|
98
97
|
<script>
|
|
@@ -127,8 +126,8 @@
|
|
|
127
126
|
document.getElementById('name').value = acc.name || '';
|
|
128
127
|
document.getElementById('user').value = acc.user || '';
|
|
129
128
|
document.getElementById('passwd').value = acc.passwd || '';
|
|
130
|
-
document.getElementById('language').value = acc.language || '';
|
|
131
|
-
document.getElementById('displayType').value = acc.displayType || '';
|
|
129
|
+
document.getElementById('language').value = acc.language || '0';
|
|
130
|
+
document.getElementById('displayType').value = acc.displayType || 'disabled';
|
|
132
131
|
document.getElementById('logIn').disabled = !(acc.name && acc.user && acc.passwd && acc.language && acc.displayType);
|
|
133
132
|
this.deviceIndex = i;
|
|
134
133
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.45",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|