iobroker.faikout 0.0.12 → 0.0.14
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 +14 -0
- package/admin/i18n/de.json +8 -8
- package/admin/i18n/en.json +8 -8
- package/admin/i18n/es.json +15 -15
- package/admin/i18n/fr.json +15 -15
- package/admin/i18n/it.json +15 -15
- package/admin/i18n/nl.json +15 -15
- package/admin/i18n/pl.json +15 -15
- package/admin/i18n/pt.json +15 -15
- package/admin/i18n/ru.json +15 -15
- package/admin/i18n/uk.json +15 -15
- package/admin/i18n/zh-cn.json +15 -15
- package/admin/jsonConfig.json +18 -18
- package/io-package.json +29 -29
- package/lib/fields.js +7 -1
- package/lib/verbrauch.js +27 -11
- package/main.js +188 -43
- package/package.json +1 -1
- package/widgets/faikout/js/faikout.js +68 -47
- package/widgets/faikout.html +79 -61
package/README.md
CHANGED
|
@@ -70,6 +70,20 @@ module's **Extra** settings makes it report immediately.
|
|
|
70
70
|
### **WORK IN PROGRESS**
|
|
71
71
|
-->
|
|
72
72
|
|
|
73
|
+
### 0.0.14
|
|
74
|
+
- **Breaking:** the consumption subtree uses English IDs: `consumption.{total|heating|cooling}.{currentHour|lastHour|today|yesterday|thisMonth|lastMonth}`
|
|
75
|
+
and `hoursJson`/`daysJson`/`monthsJson` (entries keyed `hour`/`day`/`month`). On start the adapter copies the last values of the
|
|
76
|
+
old `verbrauch.*` states to the new IDs and deletes the old objects. Data recorded by the history adapter stays under the old IDs.
|
|
77
|
+
- Config keys renamed to `historyRegister` / `historyInstance`; an existing configuration keeps working until it is saved again.
|
|
78
|
+
- `status.autoe` is now subscribed - writes were silently dropped before.
|
|
79
|
+
- Admin texts translated into all eleven languages; VIS widgets: English names, English select values (`light`/`dark`,
|
|
80
|
+
`day`/`month`/`year`, reading keys) and a dictionary for all eleven languages. Values saved by older views are still understood.
|
|
81
|
+
- Names of states for unknown fields carry all eleven languages.
|
|
82
|
+
|
|
83
|
+
### 0.0.13
|
|
84
|
+
- On start, names and roles of existing states are updated to the current field description. Objects are only created
|
|
85
|
+
when a value arrives, so rarely reported fields (like `status.reason`) kept their old description after an update.
|
|
86
|
+
|
|
73
87
|
### 0.0.12
|
|
74
88
|
- New state `status.reason`: the disconnect reason the broker publishes from the module's MQTT last will (value `LWT`),
|
|
75
89
|
now described with role and names in all eleven languages (it was created as an unknown field before).
|
package/admin/i18n/de.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tabBroker": "MQTT-Broker",
|
|
3
|
-
"
|
|
3
|
+
"tabHelp": "Einrichtung",
|
|
4
4
|
"headerBroker": "Eigener MQTT-Broker",
|
|
5
5
|
"textBroker": "Dieser Adapter bringt einen eigenen MQTT-Broker mit. Die faikout-Module müssen nur darauf zeigen, mehr ist nicht nötig.",
|
|
6
6
|
"labelPort": "Port",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"textDocker": "Der Broker-Port muss vom Container nach außen gemappt sein, sonst erreichen ihn die Module nicht. Für den oben eingestellten Port ein Portmapping ergänzen.",
|
|
16
16
|
"headerLive": "Schnellere Rückmeldung",
|
|
17
17
|
"textLive": "Ab Werk meldet ein Modul seinen Zustand alle 60 Sekunden ('reporting') - ein Befehl wird deshalb erst mit der nächsten Meldung bestätigt. Die Einstellung 'livestatus' in den Extra-Einstellungen des Moduls lässt es sofort melden.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Verbrauch",
|
|
19
|
+
"headerConsumption": "Verbrauchshistorie",
|
|
20
|
+
"textConsumption": "Die Anlagen melden nur Gesamtzähler. Der Adapter bildet daraus Stunden- und Tagesverbrauch (consumption.*), lässt die Gesamtzähler unangetastet (status.*) und legt die letzten 48 Stunden als JSON für das Widget ab.",
|
|
21
|
+
"labelHistoryRegister": "Verbrauch über den History-Adapter aufzeichnen",
|
|
22
|
+
"helpHistoryRegister": "Meldet die Verbrauchs-Datenpunkte automatisch zur Aufzeichnung an, damit Diagramme ohne Handarbeit an jedem einzelnen Punkt funktionieren.",
|
|
23
|
+
"labelHistoryInstance": "History-Instanz",
|
|
24
|
+
"helpHistoryInstance": "Instanz, welche die Reihen speichert."
|
|
25
25
|
}
|
package/admin/i18n/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tabBroker": "MQTT broker",
|
|
3
|
-
"
|
|
3
|
+
"tabHelp": "Setup",
|
|
4
4
|
"headerBroker": "Own MQTT broker",
|
|
5
5
|
"textBroker": "This adapter runs its own MQTT broker. Point the faikout modules at it; nothing else is needed.",
|
|
6
6
|
"labelPort": "Port",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"textDocker": "The broker port must be published by the container, otherwise the modules cannot reach it. Add a port mapping for the port configured above.",
|
|
16
16
|
"headerLive": "Faster feedback",
|
|
17
17
|
"textLive": "By default a module reports its status every 60 seconds ('reporting'), so a command is confirmed only with the next report. Enabling 'livestatus' in the module's Extra settings makes it report immediately.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Consumption",
|
|
19
|
+
"headerConsumption": "Consumption history",
|
|
20
|
+
"textConsumption": "The units only report lifetime counters. The adapter derives hourly and daily consumption from them (consumption.*), keeps the totals unchanged (status.*) and stores the last 48 hours as JSON for the widget.",
|
|
21
|
+
"labelHistoryRegister": "Log consumption with the history adapter",
|
|
22
|
+
"helpHistoryRegister": "Registers the consumption data points for recording automatically, so charts work without configuring each point by hand.",
|
|
23
|
+
"labelHistoryInstance": "History instance",
|
|
24
|
+
"helpHistoryInstance": "Instance that stores the series."
|
|
25
25
|
}
|
package/admin/i18n/es.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "Bróker MQTT",
|
|
3
|
+
"tabHelp": "Configuración",
|
|
4
|
+
"headerBroker": "Bróker MQTT propio",
|
|
5
5
|
"textBroker": "Este adaptador ejecuta su propio broker MQTT. Apunte los módulos faikout hacia él; no se necesita nada más.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Puerto en el que escucha el broker. Debe ser distinto de cualquier otro broker MQTT (por ejemplo, el adaptador mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Nombre de usuario",
|
|
9
9
|
"helpUser": "Déjelo vacío para aceptar conexiones sin autenticación.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Contraseña",
|
|
11
11
|
"helpPass": "Solo se utiliza cuando se ha indicado un nombre de usuario.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Configurar un módulo faikout",
|
|
13
13
|
"textSetup": "Abra la interfaz web del módulo, vaya a Ajustes, pestaña Basic, y ponga 'MQTT host' en <IP de ioBroker>:<puerto de arriba>. El módulo se reconecta solo.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker en Docker",
|
|
15
15
|
"textDocker": "El contenedor debe publicar el puerto del broker; de lo contrario los módulos no pueden alcanzarlo. Añada una asignación de puerto para el puerto configurado arriba.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Respuesta más rápida",
|
|
17
17
|
"textLive": "De forma predeterminada, un módulo informa de su estado cada 60 segundos ('reporting'), por lo que una orden solo se confirma con el siguiente informe. Activar 'livestatus' en los ajustes Extra del módulo hace que informe de inmediato.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Consumo energético",
|
|
19
|
+
"headerConsumption": "Historial de consumo",
|
|
20
|
+
"textConsumption": "Las unidades solo informan de contadores acumulados. El adaptador deriva de ellos el consumo por hora y por día (consumption.*), mantiene los totales sin cambios (status.*) y guarda las últimas 48 horas como JSON para el widget.",
|
|
21
|
+
"labelHistoryRegister": "Registrar el consumo con el adaptador history",
|
|
22
|
+
"helpHistoryRegister": "Da de alta automáticamente los puntos de datos de consumo para su registro, de modo que los gráficos funcionan sin configurar cada punto a mano.",
|
|
23
|
+
"labelHistoryInstance": "Instancia history",
|
|
24
|
+
"helpHistoryInstance": "Instancia que guarda las series."
|
|
25
25
|
}
|
package/admin/i18n/fr.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "Broker MQTT",
|
|
3
|
+
"tabHelp": "Configuration",
|
|
4
|
+
"headerBroker": "Broker MQTT intégré",
|
|
5
5
|
"textBroker": "Cet adaptateur exécute son propre broker MQTT. Dirigez-y les modules faikout ; rien d'autre n'est nécessaire.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Port d'écoute du broker. Il doit différer de tout autre broker MQTT (par exemple l'adaptateur mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Nom d’utilisateur",
|
|
9
9
|
"helpUser": "Laisser vide pour accepter les connexions sans authentification.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Mot de passe",
|
|
11
11
|
"helpPass": "Utilisé uniquement lorsqu'un nom d'utilisateur est défini.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Configurer un module faikout",
|
|
13
13
|
"textSetup": "Ouvrez l'interface web du module, allez dans Settings, onglet Basic, et réglez « MQTT host » sur <IP ioBroker>:<port ci-dessus>. Le module se reconnecte tout seul.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker dans Docker",
|
|
15
15
|
"textDocker": "Le port du broker doit être publié par le conteneur, sinon les modules ne peuvent pas l'atteindre. Ajoutez un mappage pour le port configuré ci-dessus.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Retour plus rapide",
|
|
17
17
|
"textLive": "Par défaut, un module signale son état toutes les 60 secondes (« reporting ») ; une commande n'est donc confirmée qu'au rapport suivant. Activer « livestatus » dans les réglages Extra du module le fait répondre immédiatement.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Consommation",
|
|
19
|
+
"headerConsumption": "Historique de consommation",
|
|
20
|
+
"textConsumption": "Les unités ne fournissent que des compteurs cumulés. L'adaptateur en déduit la consommation horaire et journalière (consumption.*), conserve les totaux inchangés (status.*) et enregistre les 48 dernières heures en JSON pour le widget.",
|
|
21
|
+
"labelHistoryRegister": "Enregistrer la consommation avec l'adaptateur history",
|
|
22
|
+
"helpHistoryRegister": "Inscrit automatiquement les points de données de consommation à l'enregistrement, afin que les graphiques fonctionnent sans configurer chaque point à la main.",
|
|
23
|
+
"labelHistoryInstance": "Instance history",
|
|
24
|
+
"helpHistoryInstance": "Instance qui enregistre les séries."
|
|
25
25
|
}
|
package/admin/i18n/it.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "Broker MQTT",
|
|
3
|
+
"tabHelp": "Configurazione",
|
|
4
|
+
"headerBroker": "Broker MQTT integrato",
|
|
5
5
|
"textBroker": "Questo adapter esegue un proprio broker MQTT. Puntare i moduli faikout su di esso; non serve altro.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Porta su cui è in ascolto il broker. Deve essere diversa da quella di altri broker MQTT (ad esempio l'adapter mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Nome utente",
|
|
9
9
|
"helpUser": "Lasciare vuoto per accettare connessioni senza autenticazione.",
|
|
10
|
-
"labelPass": "Password",
|
|
10
|
+
"labelPass": "Password di accesso",
|
|
11
11
|
"helpPass": "Usato solo quando è impostato un nome utente.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Configurare un modulo faikout",
|
|
13
13
|
"textSetup": "Aprire l'interfaccia web del modulo, andare in Settings, scheda Basic, e impostare 'MQTT host' su <IP di ioBroker>:<porta indicata sopra>. Il modulo si riconnette da solo.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker in Docker",
|
|
15
15
|
"textDocker": "La porta del broker deve essere pubblicata dal container, altrimenti i moduli non possono raggiungerla. Aggiungere un mapping per la porta configurata sopra.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Riscontro più rapido",
|
|
17
17
|
"textLive": "Per impostazione predefinita un modulo comunica il proprio stato ogni 60 secondi ('reporting'), quindi un comando viene confermato solo con la segnalazione successiva. Attivando 'livestatus' nelle impostazioni Extra del modulo la segnalazione è immediata.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Consumo energetico",
|
|
19
|
+
"headerConsumption": "Storico dei consumi",
|
|
20
|
+
"textConsumption": "Le unità comunicano solo contatori cumulativi. L'adapter ne ricava il consumo orario e giornaliero (consumption.*), lascia invariati i totali (status.*) e memorizza le ultime 48 ore in JSON per il widget.",
|
|
21
|
+
"labelHistoryRegister": "Registrare il consumo con l'adapter history",
|
|
22
|
+
"helpHistoryRegister": "Registra automaticamente i datapoint di consumo, così i grafici funzionano senza configurare ogni punto a mano.",
|
|
23
|
+
"labelHistoryInstance": "Istanza history",
|
|
24
|
+
"helpHistoryInstance": "Istanza che memorizza le serie."
|
|
25
25
|
}
|
package/admin/i18n/nl.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "MQTT-broker",
|
|
3
|
+
"tabHelp": "Instellen",
|
|
4
|
+
"headerBroker": "Eigen MQTT-broker",
|
|
5
5
|
"textBroker": "Deze adapter draait een eigen MQTT-broker. Richt de faikout-modules daarop; meer is niet nodig.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Poort waarop de broker luistert. Moet verschillen van elke andere MQTT-broker (bijvoorbeeld de mqtt-adapter).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Gebruikersnaam",
|
|
9
9
|
"helpUser": "Laat leeg om verbindingen zonder authenticatie toe te staan.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Wachtwoord",
|
|
11
11
|
"helpPass": "Wordt alleen gebruikt als een gebruikersnaam is ingesteld.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Een faikout-module instellen",
|
|
13
13
|
"textSetup": "Open de webinterface van de module, ga naar Settings, tabblad Basic, en zet 'MQTT host' op <ioBroker-IP>:<poort hierboven>. De module maakt zelf opnieuw verbinding.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker in Docker draaien",
|
|
15
15
|
"textDocker": "De brokerpoort moet door de container worden gepubliceerd, anders kunnen de modules hem niet bereiken. Voeg een portmapping toe voor de hierboven ingestelde poort.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Snellere terugkoppeling",
|
|
17
17
|
"textLive": "Standaard meldt een module zijn status elke 60 seconden ('reporting'), waardoor een opdracht pas bij de volgende melding wordt bevestigd. Met 'livestatus' in de Extra-instellingen van de module meldt hij direct.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Verbruik",
|
|
19
|
+
"headerConsumption": "Verbruiksgeschiedenis",
|
|
20
|
+
"textConsumption": "De units melden alleen tellerstanden. De adapter leidt daaruit het uur- en dagverbruik af (consumption.*), laat de totalen ongewijzigd (status.*) en bewaart de laatste 48 uur als JSON voor de widget.",
|
|
21
|
+
"labelHistoryRegister": "Verbruik vastleggen met de history-adapter",
|
|
22
|
+
"helpHistoryRegister": "Meldt de verbruiksdatapunten automatisch aan voor registratie, zodat grafieken werken zonder elk punt handmatig in te stellen.",
|
|
23
|
+
"labelHistoryInstance": "History-instantie",
|
|
24
|
+
"helpHistoryInstance": "Instantie die de reeksen opslaat."
|
|
25
25
|
}
|
package/admin/i18n/pl.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "Broker MQTT",
|
|
3
|
+
"tabHelp": "Konfiguracja",
|
|
4
|
+
"headerBroker": "Własny broker MQTT",
|
|
5
5
|
"textBroker": "Ten adapter uruchamia własnego brokera MQTT. Skieruj na niego moduły faikout; nic więcej nie jest potrzebne.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Port nasłuchu brokera. Musi różnić się od innych brokerów MQTT (np. adaptera mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Nazwa użytkownika",
|
|
9
9
|
"helpUser": "Pozostaw puste, aby akceptować połączenia bez uwierzytelniania.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Hasło",
|
|
11
11
|
"helpPass": "Używane tylko wtedy, gdy ustawiono nazwę użytkownika.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Konfiguracja modułu faikout",
|
|
13
13
|
"textSetup": "Otwórz interfejs webowy modułu, przejdź do Settings, zakładka Basic, i ustaw 'MQTT host' na <IP ioBrokera>:<port powyżej>. Moduł połączy się ponownie samodzielnie.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker w Dockerze",
|
|
15
15
|
"textDocker": "Port brokera musi być opublikowany przez kontener, inaczej moduły go nie osiągną. Dodaj mapowanie dla portu ustawionego powyżej.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Szybsza informacja zwrotna",
|
|
17
17
|
"textLive": "Domyślnie moduł zgłasza swój stan co 60 sekund ('reporting'), więc polecenie zostaje potwierdzone dopiero przy kolejnym zgłoszeniu. Włączenie 'livestatus' w ustawieniach Extra modułu powoduje natychmiastowe zgłaszanie.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Zużycie",
|
|
19
|
+
"headerConsumption": "Historia zużycia",
|
|
20
|
+
"textConsumption": "Jednostki podają wyłącznie liczniki sumaryczne. Adapter wylicza z nich zużycie godzinowe i dobowe (consumption.*), pozostawia sumy bez zmian (status.*) i zapisuje ostatnie 48 godzin jako JSON dla widgetu.",
|
|
21
|
+
"labelHistoryRegister": "Rejestruj zużycie w adapterze history",
|
|
22
|
+
"helpHistoryRegister": "Automatycznie zgłasza punkty danych zużycia do rejestracji, dzięki czemu wykresy działają bez ręcznej konfiguracji każdego punktu.",
|
|
23
|
+
"labelHistoryInstance": "Instancja history",
|
|
24
|
+
"helpHistoryInstance": "Instancja, która przechowuje serie."
|
|
25
25
|
}
|
package/admin/i18n/pt.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "Broker MQTT",
|
|
3
|
+
"tabHelp": "Configuração",
|
|
4
|
+
"headerBroker": "Broker MQTT próprio",
|
|
5
5
|
"textBroker": "Este adaptador executa o seu próprio broker MQTT. Aponte os módulos faikout para ele; não é preciso mais nada.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Porta em que o broker escuta. Tem de ser diferente de qualquer outro broker MQTT (por exemplo, o adaptador mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Nome de utilizador",
|
|
9
9
|
"helpUser": "Deixe vazio para aceitar ligações sem autenticação.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Palavra-passe",
|
|
11
11
|
"helpPass": "Só é utilizado quando está definido um nome de utilizador.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Configurar um módulo faikout",
|
|
13
13
|
"textSetup": "Abra a interface web do módulo, vá a Settings, separador Basic, e defina 'MQTT host' como <IP do ioBroker>:<porta acima>. O módulo volta a ligar-se sozinho.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker em Docker",
|
|
15
15
|
"textDocker": "A porta do broker tem de ser publicada pelo contentor, caso contrário os módulos não lhe conseguem chegar. Adicione um mapeamento para a porta configurada acima.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Resposta mais rápida",
|
|
17
17
|
"textLive": "Por predefinição, um módulo comunica o seu estado a cada 60 segundos ('reporting'), pelo que um comando só é confirmado na comunicação seguinte. Ativar 'livestatus' nas definições Extra do módulo faz com que comunique de imediato.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Consumo",
|
|
19
|
+
"headerConsumption": "Histórico de consumo",
|
|
20
|
+
"textConsumption": "As unidades comunicam apenas contadores acumulados. O adaptador deriva deles o consumo horário e diário (consumption.*), mantém os totais inalterados (status.*) e guarda as últimas 48 horas em JSON para o widget.",
|
|
21
|
+
"labelHistoryRegister": "Registar o consumo com o adaptador history",
|
|
22
|
+
"helpHistoryRegister": "Regista automaticamente os pontos de dados de consumo, para que os gráficos funcionem sem configurar cada ponto à mão.",
|
|
23
|
+
"labelHistoryInstance": "Instância history",
|
|
24
|
+
"helpHistoryInstance": "Instância que guarda as séries."
|
|
25
25
|
}
|
package/admin/i18n/ru.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "MQTT-брокер",
|
|
3
|
+
"tabHelp": "Настройка",
|
|
4
|
+
"headerBroker": "Собственный MQTT-брокер",
|
|
5
5
|
"textBroker": "Адаптер запускает собственный MQTT-брокер. Направьте на него модули faikout — больше ничего не требуется.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Порт, который слушает брокер. Должен отличаться от других MQTT-брокеров (например, адаптера mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Имя пользователя",
|
|
9
9
|
"helpUser": "Оставьте пустым, чтобы принимать подключения без аутентификации.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Пароль",
|
|
11
11
|
"helpPass": "Используется только при заданном имени пользователя.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Настройка модуля faikout",
|
|
13
13
|
"textSetup": "Откройте веб-интерфейс модуля, перейдите в Settings, вкладка Basic, и укажите в «MQTT host» <IP ioBroker>:<порт выше>. Модуль переподключится сам.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker в Docker",
|
|
15
15
|
"textDocker": "Порт брокера должен быть опубликован контейнером, иначе модули до него не достучатся. Добавьте проброс для порта, заданного выше.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Более быстрый отклик",
|
|
17
17
|
"textLive": "По умолчанию модуль сообщает состояние каждые 60 секунд («reporting»), поэтому команда подтверждается лишь со следующим отчётом. Включение «livestatus» в разделе Extra настроек модуля включает мгновенную отправку.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Потребление",
|
|
19
|
+
"headerConsumption": "История потребления",
|
|
20
|
+
"textConsumption": "Устройства сообщают только накопительные счётчики. Адаптер вычисляет из них почасовое и суточное потребление (consumption.*), оставляет итоги без изменений (status.*) и хранит последние 48 часов в JSON для виджета.",
|
|
21
|
+
"labelHistoryRegister": "Записывать потребление через адаптер history",
|
|
22
|
+
"helpHistoryRegister": "Автоматически включает запись точек данных потребления, чтобы графики работали без ручной настройки каждой точки.",
|
|
23
|
+
"labelHistoryInstance": "Экземпляр history",
|
|
24
|
+
"helpHistoryInstance": "Экземпляр, в котором хранятся ряды."
|
|
25
25
|
}
|
package/admin/i18n/uk.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "MQTT-брокер",
|
|
3
|
+
"tabHelp": "Налаштування",
|
|
4
|
+
"headerBroker": "Власний MQTT-брокер",
|
|
5
5
|
"textBroker": "Адаптер запускає власний MQTT-брокер. Спрямуйте на нього модулі faikout — більше нічого не потрібно.",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "Порт, який слухає брокер. Має відрізнятися від інших MQTT-брокерів (наприклад, адаптера mqtt).",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "Ім’я користувача",
|
|
9
9
|
"helpUser": "Залиште порожнім, щоб приймати підключення без автентифікації.",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "Пароль",
|
|
11
11
|
"helpPass": "Використовується лише за наявності імені користувача.",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "Налаштування модуля faikout",
|
|
13
13
|
"textSetup": "Відкрийте вебінтерфейс модуля, перейдіть у Settings, вкладка Basic, і вкажіть у «MQTT host» <IP ioBroker>:<порт вище>. Модуль перепідключиться сам.",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "ioBroker у Docker",
|
|
15
15
|
"textDocker": "Порт брокера має бути опублікований контейнером, інакше модулі до нього не достукаються. Додайте проброс для порту, заданого вище.",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "Швидший відгук",
|
|
17
17
|
"textLive": "Типово модуль повідомляє стан кожні 60 секунд («reporting»), тому команда підтверджується лише з наступним звітом. Увімкнення «livestatus» у розділі Extra налаштувань модуля вмикає миттєве надсилання.",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "Споживання",
|
|
19
|
+
"headerConsumption": "Історія споживання",
|
|
20
|
+
"textConsumption": "Пристрої повідомляють лише накопичувальні лічильники. Адаптер обчислює з них погодинне та добове споживання (consumption.*), залишає підсумки без змін (status.*) і зберігає останні 48 годин у JSON для віджета.",
|
|
21
|
+
"labelHistoryRegister": "Записувати споживання через адаптер history",
|
|
22
|
+
"helpHistoryRegister": "Автоматично вмикає запис точок даних споживання, щоб графіки працювали без ручного налаштування кожної точки.",
|
|
23
|
+
"labelHistoryInstance": "Екземпляр history",
|
|
24
|
+
"helpHistoryInstance": "Екземпляр, що зберігає ряди."
|
|
25
25
|
}
|
package/admin/i18n/zh-cn.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tabBroker": "MQTT
|
|
3
|
-
"
|
|
4
|
-
"headerBroker": "
|
|
2
|
+
"tabBroker": "MQTT 代理",
|
|
3
|
+
"tabHelp": "设置",
|
|
4
|
+
"headerBroker": "内置 MQTT 代理",
|
|
5
5
|
"textBroker": "本适配器自带 MQTT 代理。将 faikout 模块指向它即可,无需其他设置。",
|
|
6
6
|
"labelPort": "Port",
|
|
7
7
|
"helpPort": "代理监听的端口。必须与其他 MQTT 代理(例如 mqtt 适配器)不同。",
|
|
8
|
-
"labelUser": "
|
|
8
|
+
"labelUser": "用户名",
|
|
9
9
|
"helpUser": "留空则接受无需认证的连接。",
|
|
10
|
-
"labelPass": "
|
|
10
|
+
"labelPass": "密码",
|
|
11
11
|
"helpPass": "仅在设置了用户名时使用。",
|
|
12
|
-
"headerSetup": "
|
|
12
|
+
"headerSetup": "设置 faikout 模块",
|
|
13
13
|
"textSetup": "打开模块的网页界面,进入 Settings 的 Basic 选项卡,将 “MQTT host” 设为 <ioBroker IP>:<上面的端口>。模块会自行重新连接。",
|
|
14
|
-
"headerDocker": "
|
|
14
|
+
"headerDocker": "在 Docker 中运行 ioBroker",
|
|
15
15
|
"textDocker": "容器必须发布代理端口,否则模块无法访问。请为上面配置的端口添加端口映射。",
|
|
16
|
-
"headerLive": "
|
|
16
|
+
"headerLive": "更快的反馈",
|
|
17
17
|
"textLive": "模块默认每 60 秒上报一次状态(reporting),因此指令要到下一次上报才被确认。在模块的 Extra 设置中启用 livestatus 可让其立即上报。",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"tabConsumption": "能耗",
|
|
19
|
+
"headerConsumption": "能耗历史",
|
|
20
|
+
"textConsumption": "设备只上报累计计数。适配器由此推算每小时和每天的能耗(consumption.*),保持总计不变(status.*),并将最近 48 小时以 JSON 保存供控件使用。",
|
|
21
|
+
"labelHistoryRegister": "使用 history 适配器记录能耗",
|
|
22
|
+
"helpHistoryRegister": "自动将能耗数据点登记为记录对象,无需逐个手动配置即可生成图表。",
|
|
23
|
+
"labelHistoryInstance": "History 实例",
|
|
24
|
+
"helpHistoryInstance": "存储数据序列的实例。"
|
|
25
25
|
}
|
package/admin/jsonConfig.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"type": "panel",
|
|
7
7
|
"label": "tabBroker",
|
|
8
8
|
"items": {
|
|
9
|
-
"
|
|
9
|
+
"brokerHeader": {
|
|
10
10
|
"type": "header",
|
|
11
11
|
"size": 4,
|
|
12
12
|
"text": "headerBroker",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lg": 12,
|
|
17
17
|
"xl": 12
|
|
18
18
|
},
|
|
19
|
-
"
|
|
19
|
+
"brokerText": {
|
|
20
20
|
"type": "staticText",
|
|
21
21
|
"text": "textBroker",
|
|
22
22
|
"xs": 12,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"lg": 4,
|
|
39
39
|
"xl": 4
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"_spacer": {
|
|
42
42
|
"type": "staticText",
|
|
43
43
|
"text": "",
|
|
44
44
|
"xs": 12,
|
|
@@ -70,33 +70,33 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
"
|
|
73
|
+
"tabConsumption": {
|
|
74
74
|
"type": "panel",
|
|
75
|
-
"label": "
|
|
75
|
+
"label": "tabConsumption",
|
|
76
76
|
"items": {
|
|
77
|
-
"
|
|
77
|
+
"consumptionHeader": {
|
|
78
78
|
"type": "header",
|
|
79
79
|
"size": 4,
|
|
80
|
-
"text": "
|
|
80
|
+
"text": "headerConsumption",
|
|
81
81
|
"xs": 12,
|
|
82
82
|
"sm": 12,
|
|
83
83
|
"md": 12,
|
|
84
84
|
"lg": 12,
|
|
85
85
|
"xl": 12
|
|
86
86
|
},
|
|
87
|
-
"
|
|
87
|
+
"consumptionText": {
|
|
88
88
|
"type": "staticText",
|
|
89
|
-
"text": "
|
|
89
|
+
"text": "textConsumption",
|
|
90
90
|
"xs": 12,
|
|
91
91
|
"sm": 12,
|
|
92
92
|
"md": 12,
|
|
93
93
|
"lg": 12,
|
|
94
94
|
"xl": 12
|
|
95
95
|
},
|
|
96
|
-
"
|
|
96
|
+
"historyRegister": {
|
|
97
97
|
"type": "checkbox",
|
|
98
|
-
"label": "
|
|
99
|
-
"help": "
|
|
98
|
+
"label": "labelHistoryRegister",
|
|
99
|
+
"help": "helpHistoryRegister",
|
|
100
100
|
"default": true,
|
|
101
101
|
"xs": 12,
|
|
102
102
|
"sm": 12,
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
"lg": 6,
|
|
105
105
|
"xl": 6
|
|
106
106
|
},
|
|
107
|
-
"
|
|
107
|
+
"historyInstance": {
|
|
108
108
|
"type": "instance",
|
|
109
109
|
"adapter": "history",
|
|
110
|
-
"hidden": "!data.
|
|
110
|
+
"hidden": "!data.historyRegister",
|
|
111
111
|
"allowDeactivate": false,
|
|
112
|
-
"label": "
|
|
113
|
-
"help": "
|
|
112
|
+
"label": "labelHistoryInstance",
|
|
113
|
+
"help": "helpHistoryInstance",
|
|
114
114
|
"default": "history.0",
|
|
115
115
|
"xs": 12,
|
|
116
116
|
"sm": 12,
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
|
-
"
|
|
123
|
+
"tabHelp": {
|
|
124
124
|
"type": "panel",
|
|
125
|
-
"label": "
|
|
125
|
+
"label": "tabHelp",
|
|
126
126
|
"items": {
|
|
127
127
|
"h1": {
|
|
128
128
|
"type": "header",
|