iobroker.metermaster 0.9.3 → 0.9.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/README.md +15 -5
- package/io-package.json +14 -1
- package/main.js +331 -239
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/MPunktBPunkt/ioBroker.metermaster)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/MPunktBPunkt/ioBroker.metermaster)
|
|
6
6
|
[](https://github.com/MPunktBPunkt/ioBroker.metermaster/blob/main/LICENSE)
|
|
7
7
|
[](https://nodejs.org)
|
|
8
8
|
|
|
@@ -120,7 +120,7 @@ http://{ioBroker-IP}:8089/
|
|
|
120
120
|
| **Nodes** | Registered ESP32 nodes: status, IP link, firmware, meter dropdown, LED control |
|
|
121
121
|
| **Import** | App backup (JSON schema 2.0) via drag & drop |
|
|
122
122
|
| **Logs** | Real-time log with filter, auto-scroll, export |
|
|
123
|
-
| **System** | Statistics
|
|
123
|
+
| **System** | Statistics & version check |
|
|
124
124
|
|
|
125
125
|
Screenshots: see [Screenshots](#screenshots) above.
|
|
126
126
|
|
|
@@ -186,7 +186,6 @@ metermaster.0.
|
|
|
186
186
|
| GET | `/api/nodes` | All registered ESP32 nodes |
|
|
187
187
|
| GET | `/api/discover` | Known meter state IDs |
|
|
188
188
|
| POST | `/api/register` | ESP32 heartbeat (no auth required) |
|
|
189
|
-
| POST | `/api/update` | Start adapter update |
|
|
190
189
|
|
|
191
190
|
### With Basic Auth
|
|
192
191
|
|
|
@@ -233,8 +232,8 @@ Content-Type: application/json
|
|
|
233
232
|
|
|
234
233
|
## Update
|
|
235
234
|
|
|
236
|
-
### Via Web UI
|
|
237
|
-
`http://IP:8089/` → **System** tab → "Check for updates"
|
|
235
|
+
### Via Web UI
|
|
236
|
+
`http://IP:8089/` → **System** tab → "Check for updates" (shows availability; install via CLI below)
|
|
238
237
|
|
|
239
238
|
### Command line
|
|
240
239
|
|
|
@@ -247,6 +246,17 @@ iobroker restart metermaster.0
|
|
|
247
246
|
|
|
248
247
|
## Changelog
|
|
249
248
|
|
|
249
|
+
### 0.9.4
|
|
250
|
+
- All adapter log messages and API JSON error responses in English
|
|
251
|
+
- State common names and roles corrected (readings channel, date/text/json roles, info.firmware for nodes)
|
|
252
|
+
- Web UI i18n: full DE/EN coverage, English default HTML
|
|
253
|
+
- Config validation: clamped port (1024–65535), logBufferSize (50–5000), keepHistory (0–100000)
|
|
254
|
+
- Removed `/api/update` endpoint and one-click Web UI update (CLI commands card retained)
|
|
255
|
+
- `migrateStateRoles()` uses `getAdapterObjectsAsync` (own adapter states only)
|
|
256
|
+
- Removed dead `houseName` config; import default house is `MyHouse`
|
|
257
|
+
- Fixed redundant state check in stateChange handler
|
|
258
|
+
- `@types/node` pinned to `^22.0.0`
|
|
259
|
+
|
|
250
260
|
### 0.9.3
|
|
251
261
|
- Fix state roles for ioBroker object structure check (repochecker E1008/E1009/E1011)
|
|
252
262
|
- Migration of existing objects on adapter start
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "metermaster",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.9.4": {
|
|
7
|
+
"en": "Review fixes: English logs/states/API errors, Web UI i18n, config validation, removed /api/update",
|
|
8
|
+
"de": "Review-Fixes: Englische Logs/States/API-Fehler, Web-UI-i18n, Config-Validierung, /api/update entfernt",
|
|
9
|
+
"ru": "Исправления review: английские логи/states/API, i18n Web UI, валидация config, удалён /api/update",
|
|
10
|
+
"pt": "Correções de review: logs/states/erros API em inglês, i18n Web UI, validação config, removido /api/update",
|
|
11
|
+
"nl": "Review-fixes: Engelse logs/states/API-fouten, Web UI i18n, config-validatie, /api/update verwijderd",
|
|
12
|
+
"fr": "Corrections review : logs/states/erreurs API en anglais, i18n Web UI, validation config, /api/update supprimé",
|
|
13
|
+
"it": "Correzioni review: log/states/errori API in inglese, i18n Web UI, validazione config, rimosso /api/update",
|
|
14
|
+
"es": "Correcciones de review: logs/states/errores API en inglés, i18n Web UI, validación config, eliminado /api/update",
|
|
15
|
+
"pl": "Poprawki review: angielskie logi/states/błędy API, i18n Web UI, walidacja config, usunięto /api/update",
|
|
16
|
+
"uk": "Виправлення review: англійські логи/states/API, i18n Web UI, валідація config, видалено /api/update",
|
|
17
|
+
"zh-cn": "审查修复:英文日志/states/API 错误、Web UI 国际化、配置验证、移除 /api/update"
|
|
18
|
+
},
|
|
6
19
|
"0.9.3": {
|
|
7
20
|
"en": "Fix state roles for ioBroker object structure check (date, text, json, info.firmware)",
|
|
8
21
|
"de": "State-Rollen für ioBroker-Objektstruktur-Prüfung korrigiert (date, text, json, info.firmware)",
|