iobroker.sun2000 0.3.0 → 0.4.0

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 CHANGED
@@ -10,14 +10,21 @@
10
10
 
11
11
  **Tests:** ![Test and Release](https://github.com/bolliy/ioBroker.sun2000/workflows/Test%20and%20Release/badge.svg)
12
12
 
13
+ **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.**\
14
+ For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)!\
15
+ Sentry reporting is used starting with js-controller 3.0.
16
+
13
17
  ## sun2000 adapter for ioBroker
14
18
 
15
19
  Read register data from Huawei SUN2000 inverter and LUNA2000 battery using Modbus TCP.
16
20
 
21
+ [Huawei product information](https://solar.huawei.com/en/professionals/all-products?residential-smart-pv)
22
+
17
23
  Feel free to follow the discussions in the german [iobroker forum](https://forum.iobroker.net/topic/71768/test-adapter-sun2000-v0-1-x-huawei-wechselrichter)
18
24
 
19
- Modbus interface definition (Issue 5, 2023-02-16):
20
- https://forum.iobroker.net/assets/uploads/files/1699119419919-solar-inverter-modbus-interface-definitions-v5.pdf
25
+ ## Documentation
26
+
27
+ see the [documentation page](./docs/README.md)
21
28
 
22
29
  ## Supported hardware
23
30
 
@@ -26,44 +33,13 @@ https://forum.iobroker.net/assets/uploads/files/1699119419919-solar-inverter-mod
26
33
  * HUAWEI Luna2000 Battery
27
34
  * HUAWEI Smart Power Sensor DTSU666-H or DDSU666-H
28
35
 
29
- [Huawei product information](https://solar.huawei.com/en/professionals/all-products?residential-smart-pv)
30
-
31
36
  ## Feature list
32
37
 
33
38
  * Maximum 5 inverters (master/slave) can be processed, each with a battery module (max. 15kWh).
34
39
  * Real-time values such as input power, output power, charging/discharging power and the grid consumption are read out at a fixed interval.
35
40
  * States are only written for changed data from the inverter. This relieves the burden on the iobroker instance.
36
41
  * The states “inputPower” or “activePower” in the “collected” path can be monitored with a “was updated” trigger element. Because these states are always written within the set interval.
37
-
38
- ## Main Settings
39
- * `address`: Inverter IP address
40
- * `port`: Inverter modbus port (default: 502)
41
- * `modbusIds`: inverter IDs, separated with "," (default: 1, max. 5 inverters)
42
- * `updateInterval`: Fast update interval (default: 20 sec, smallest 5 seconds per inverter)
43
- ## Modbus timing
44
- * `timeout`: modbus connection timeout (default: 10000 ms)
45
- * `delay`: delay between modbus requests (default: 0 ms)
46
- * `connect delay`: delay after modbus connected (default: 5000 ms)
47
- * `auto-adjust`: automatic adjustment of the modbus settings
48
-
49
- ## Configure inverters
50
-
51
- In order to use the Modbus connection, all Huawei devices must use the latest firmware
52
- feature. You can perform latest firmware directly in the FusionSolar portal under “Upgrades”.
53
- In the FusionSolar setup you still have to activate the Modbus on the WLAN dongle and set the access authorization. Download the FusionSolar-App onto your cell phone and use it to connect via the inverter's WLAN hotspot directly.
54
- After the click on `Me` (Ich) in the footer Menu> `Commission Device` ("Inbetriebnahme des Geräts“) > `log in` (am Wechselrichter anmelden).
55
-
56
- To log into the app as an `installer` you need usually the password:`00000a` or `0000000a`
57
- You may also need a password to connect to the inverters own WLAN: `Changeme`
58
-
59
- After login on the inverter go to `Settings` (Einstellungen) > `Communication configuration` (Kommunikationskonfiguration) > `Dongle parameter settings` (Dongle‐Parametereinstellungen) > `Modbus TCP` > Activate the `connection without restriction` (Verbindung uneingeschränkt aktivieren). You can also enter the Modbus comm address at the same time read out.
60
- If you use two inverters, then connect to the second inverter and read the communication address there too.
61
-
62
- [How activate 'Modbus TCP' - from huawei forum](https://forum.huawei.com/enterprise/en/modbus-tcp-guide/thread/789585-100027)
63
-
64
- ## Inspiration
65
-
66
- The development of this adapter was inspired by discussions from the forum thread https://forum.iobroker.net/topic/53005/huawei-sun2000-iobroker-via-js-script-funktioniert and the iobroker javascript https://github.com/ChrisBCH/SunLuna2000_iobroker.
42
+ * modbus-proxy: Third party device such as wallbox, energy manager etc. can receive data even if the modbus interface of inverter is already in use. In addition you can mirror the sun2000 data to another IoBroker instance.
67
43
 
68
44
 
69
45
  ## Changelog
@@ -72,6 +48,19 @@ The development of this adapter was inspired by discussions from the forum threa
72
48
  Placeholder for the next version (at the beginning of the line):
73
49
  ### **WORK IN PROGRESS**
74
50
  -->
51
+ ### 0.4.0 (2024-03-01)
52
+ * detect standby mode of inverters (#34)
53
+ * devices in standby often give incorrect values. These are assigned "0" (#40)
54
+ * the modbus register and the length are stored in the description of the states
55
+ * implemented modbus-proxy (read-only cache)
56
+ * read register data from SDongleA
57
+ * additional loop interval medium (SDongle data)
58
+ * Integration of [NRGkick Wallbox](https://www.nrgkick.com)
59
+ * read string data faster (high interval)
60
+
61
+ ### 0.3.1 (2024-02-12)
62
+ * state `sun2000.0.collected.chargeDischargePowercharge` is not always refreshed #47
63
+
75
64
  ### 0.3.0 (2024-02-10)
76
65
  * add battery unit information for example temperature #40
77
66
  * modbus timeout, connect delay and delay can be configured #34
@@ -2,11 +2,23 @@
2
2
  "sun2000 adapter settings": "Adaptereinstellungen für Huawei Inverter Sun2000",
3
3
  "address": "IP-Adresse des Wechselrichters",
4
4
  "port": "Modbus TCP-Port",
5
-
6
- "Modbus Inverter IDs": "Modbus Wechselrichter IDs",
7
- "Update interval (s)": "Aktualisierungsintervall [Sek.]",
5
+ "Modbus inverter IDs": "Modbus-Wechselrichter-IDs",
6
+ "Update interval (sec)": "Aktualisierungsintervall [Sek.]",
8
7
  "The inverters ip address": "Die IP-Adresse des Wechselrichters",
9
8
  "The modbus TCP port": "Der Modbus-TCP-Port",
10
- "The modbus inverter IDs, separated with character ,": "Die Modbus Wechselrichter IDs, getrennt durch ein Komma \",\"",
11
- "Update interval to update the values from the inverters": "Intervall zur Aktualisieung der Daten von den Wechselrichtern"
9
+ "The modbus inverter IDs, separated with character ,": "Die Modbus-Wechselrichter-IDs, getrennt durch das Zeichen ,",
10
+ "Update interval to update the values from the inverters": "Aktualisierungsintervall zur Aktualisierung der Werte von den Wechselrichtern",
11
+ "modbus connection timeout": "Zeitüberschreitung der Modbus-Verbindung",
12
+ "delay between modbus requests": "Verzögerung zwischen Modbus-Anfragen",
13
+ "delay after modbus connected": "Verzögerung nach der Modbus-Verbindung",
14
+ "automatic adjustment of the modbus settings": "automatische Anpassung der Modbus-Einstellungen",
15
+ "ms.aktive": "Modbus-Proxy aktiv",
16
+ "Modbus-proxy via TCP for read-only is active": "Modbus-Proxy über TCP zum Nur-Lesen ist aktiv",
17
+ "ms.address": "Modbus-Proxy-IP-Adresse",
18
+ "If want to listen only at localhost use 127.0.0.1": "Wenn Sie nur auf localhost zuhören möchten, verwenden Sie 127.0.0.1",
19
+ "ms.port": "Modbus-Proxy-TCP-Port",
20
+ "The Modbus-proxy TCP port": "Der Modbus-Proxy-TCP-Port",
21
+ "The SDongle modbus ID": "Die SDongle-Modbus-ID – normalerweise 100",
22
+ "ms.log": "Erweiterte Protokollierung",
23
+ "Advanced logging": "Erweiterte Protokollierung von Modbus-Transaktionen"
12
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Adapter settings for huawai inverter sun2000",
3
3
  "address": "Inverter IP address",
4
4
  "port": "modbus TCP port",
5
- "Modbus Inverter IDs" : "Modbus Inverter IDs",
6
- "Update interval (s)": "Update interval [sec]",
5
+ "Modbus inverter IDs" : "Modbus Inverter IDs",
6
+ "Update interval (sec)": "Update interval [sec]",
7
7
  "The inverters ip address": "The inverters ip address",
8
8
  "The modbus TCP port" : "The modbus TCP port",
9
9
  "The modbus inverter IDs, separated with character ," : "The modbus inverter IDs, separated with character ,",
10
- "Update interval to update the values from the inverters" : "Update interval to update the values from the inverters"
10
+ "Update interval to update the values from the inverters" : "Update interval to update the values from the inverters",
11
+ "modbus connection timeout" : "modbus connection timeout",
12
+ "delay between modbus requests" : "delay between modbus requests",
13
+ "delay after modbus connected" : "delay after modbus connected",
14
+ "automatic adjustment of the modbus settings" : "automatic adjustment of the modbus settings",
15
+ "ms.aktive" : "Modbus-proxy active",
16
+ "Modbus-proxy via TCP for read-only is active" : "Modbus-proxy via TCP for read-only is active",
17
+ "ms.address": "Modbus-proxy IP address",
18
+ "If want to listen only at localhost use 127.0.0.1": "If want to listen only at localhost use 127.0.0.1",
19
+ "ms.port": "Modbus-proxy TCP port",
20
+ "The Modbus-proxy TCP port" : "The Modbus-proxy TCP port",
21
+ "The SDongle modbus ID" : "The SDongle modbus ID - usually 100",
22
+ "ms.log" : "Advanced logging",
23
+ "Advanced logging": "Advanced logging of modbus transactions"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Configuración del adaptador para el inversor huawai sun2000",
3
3
  "address": "Dirección IP del inversor",
4
4
  "port": "Puerto TCP Modbus",
5
- "Modbus Inverter IDs": "ID de inversor Modbus",
6
- "Update interval (s)": "Intervalo de actualización [seg]",
5
+ "Modbus inverter IDs": "ID de inversor Modbus",
6
+ "Update interval (sec)": "Intervalo de actualización [seg]",
7
7
  "The inverters ip address": "La dirección IP del inversor.",
8
8
  "The modbus TCP port": "El puerto TCP Modbus",
9
9
  "The modbus inverter IDs, separated with character ,": "Los ID del inversor Modbus, separados por el carácter ,",
10
- "Update interval to update the values from the inverters": "Intervalo de actualización para actualizar los valores de los inversores."
10
+ "Update interval to update the values from the inverters": "Intervalo de actualización para actualizar los valores de los inversores.",
11
+ "modbus connection timeout": "tiempo de espera de conexión modbus",
12
+ "delay between modbus requests": "retraso entre solicitudes de modbus",
13
+ "delay after modbus connected": "retraso después de conectar modbus",
14
+ "automatic adjustment of the modbus settings": "ajuste automático de la configuración modbus",
15
+ "ms.aktive": "Proxy Modbus activo",
16
+ "Modbus-proxy via TCP for read-only is active": "El proxy Modbus a través de TCP para solo lectura está activo",
17
+ "ms.address": "Dirección IP del proxy Modbus",
18
+ "If want to listen only at localhost use 127.0.0.1": "Si desea escuchar solo en localhost use 127.0.0.1",
19
+ "ms.port": "Puerto TCP proxy Modbus",
20
+ "The Modbus-proxy TCP port": "El puerto TCP del proxy Modbus",
21
+ "The SDongle modbus ID": "El ID modbus del SDongle (generalmente 100)",
22
+ "ms.log": "Registro avanzado",
23
+ "Advanced logging": "Registro avanzado de transacciones modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Paramètres de l'adaptateur pour l'onduleur Huawai Sun2000",
3
3
  "address": "Adresse IP de l'onduleur",
4
4
  "port": "port TCP Modbus",
5
- "Modbus Inverter IDs": "ID des onduleurs Modbus",
6
- "Update interval (s)": "Intervalle de mise à jour [sec]",
5
+ "Modbus inverter IDs": "ID des onduleurs Modbus",
6
+ "Update interval (sec)": "Intervalle de mise à jour [sec]",
7
7
  "The inverters ip address": "L'adresse IP des onduleurs",
8
8
  "The modbus TCP port": "Le port TCP Modbus",
9
9
  "The modbus inverter IDs, separated with character ,": "Les identifiants de l'onduleur Modbus, séparés par le caractère ,",
10
- "Update interval to update the values from the inverters": "Intervalle de mise à jour pour mettre à jour les valeurs des onduleurs"
10
+ "Update interval to update the values from the inverters": "Intervalle de mise à jour pour mettre à jour les valeurs des onduleurs",
11
+ "modbus connection timeout": "délai d'expiration de la connexion Modbus",
12
+ "delay between modbus requests": "délai entre les requêtes modbus",
13
+ "delay after modbus connected": "délai après la connexion du modbus",
14
+ "automatic adjustment of the modbus settings": "ajustement automatique des paramètres modbus",
15
+ "ms.aktive": "Proxy Modbus actif",
16
+ "Modbus-proxy via TCP for read-only is active": "Le proxy Modbus via TCP pour la lecture seule est actif",
17
+ "ms.address": "Adresse IP du proxy Modbus",
18
+ "If want to listen only at localhost use 127.0.0.1": "Si vous souhaitez écouter uniquement sur localhost, utilisez 127.0.0.1",
19
+ "ms.port": "Port TCP du proxy Modbus",
20
+ "The Modbus-proxy TCP port": "Le port TCP du proxy Modbus",
21
+ "The SDongle modbus ID": "L'ID modbus du SDongle - généralement 100",
22
+ "ms.log": "Journalisation avancée",
23
+ "Advanced logging": "Journalisation avancée des transactions Modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Impostazioni dell'adattatore per inverter huawai sun2000",
3
3
  "address": "Indirizzo IP dell'inverter",
4
4
  "port": "porta TCP Modbus",
5
- "Modbus Inverter IDs": "ID inverter Modbus",
6
- "Update interval (s)": "Intervallo di aggiornamento [sec]",
5
+ "Modbus inverter IDs": "ID inverter Modbus",
6
+ "Update interval (sec)": "Intervallo di aggiornamento [sec]",
7
7
  "The inverters ip address": "L'indirizzo IP dell'inverter",
8
8
  "The modbus TCP port": "La porta TCP del Modbus",
9
9
  "The modbus inverter IDs, separated with character ,": "Gli ID degli inverter Modbus, separati dal carattere ,",
10
- "Update interval to update the values from the inverters": "Intervallo di aggiornamento per aggiornare i valori degli inverter"
10
+ "Update interval to update the values from the inverters": "Intervallo di aggiornamento per aggiornare i valori degli inverter",
11
+ "modbus connection timeout": "timeout della connessione modbus",
12
+ "delay between modbus requests": "ritardo tra le richieste Modbus",
13
+ "delay after modbus connected": "ritardo dopo la connessione del Modbus",
14
+ "automatic adjustment of the modbus settings": "regolazione automatica delle impostazioni Modbus",
15
+ "ms.aktive": "Proxy Modbus attivo",
16
+ "Modbus-proxy via TCP for read-only is active": "Il proxy Modbus tramite TCP per la sola lettura è attivo",
17
+ "ms.address": "Indirizzo IP proxy Modbus",
18
+ "If want to listen only at localhost use 127.0.0.1": "Se vuoi ascoltare solo su localhost usa 127.0.0.1",
19
+ "ms.port": "Porta TCP proxy Modbus",
20
+ "The Modbus-proxy TCP port": "La porta TCP del proxy Modbus",
21
+ "The SDongle modbus ID": "L'ID modbus SDongle: in genere 100",
22
+ "ms.log": "Registrazione avanzata",
23
+ "Advanced logging": "Registrazione avanzata delle transazioni Modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Adapterinstellingen voor huawai omvormer sun2000",
3
3
  "address": "IP-adres van de omvormer",
4
4
  "port": "modbus TCP-poort",
5
- "Modbus Inverter IDs": "Modbus-omvormer-ID's",
6
- "Update interval (s)": "Update-interval [sec]",
5
+ "Modbus inverter IDs": "Modbus-omvormer-ID's",
6
+ "Update interval (sec)": "Update-interval [sec]",
7
7
  "The inverters ip address": "Het IP-adres van de omvormer",
8
8
  "The modbus TCP port": "De modbus TCP-poort",
9
9
  "The modbus inverter IDs, separated with character ,": "De ID's van de Modbus-omvormer, gescheiden door het teken ,",
10
- "Update interval to update the values from the inverters": "Update-interval om de waarden van de omvormers bij te werken"
10
+ "Update interval to update the values from the inverters": "Update-interval om de waarden van de omvormers bij te werken",
11
+ "modbus connection timeout": "Time-out voor Modbus-verbinding",
12
+ "delay between modbus requests": "vertraging tussen modbus-verzoeken",
13
+ "delay after modbus connected": "vertraging nadat modbus is aangesloten",
14
+ "automatic adjustment of the modbus settings": "automatische aanpassing van de Modbus-instellingen",
15
+ "ms.aktive": "Modbus-proxy actief",
16
+ "Modbus-proxy via TCP for read-only is active": "Modbus-proxy via TCP voor alleen-lezen is actief",
17
+ "ms.address": "Modbus-proxy IP-adres",
18
+ "If want to listen only at localhost use 127.0.0.1": "Als je alleen op localhost wilt luisteren, gebruik dan 127.0.0.1",
19
+ "ms.port": "Modbus-proxy TCP-poort",
20
+ "The Modbus-proxy TCP port": "De Modbus-proxy TCP-poort",
21
+ "The SDongle modbus ID": "De SDongle modbus-ID - meestal 100",
22
+ "ms.log": "Geavanceerde logboekregistratie",
23
+ "Advanced logging": "Geavanceerde registratie van modbus-transacties"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Ustawienia adaptera dla falownika Huawei Sun2000",
3
3
  "address": "Adres IP falownika",
4
4
  "port": "portu Modbus TCP",
5
- "Modbus Inverter IDs": "Identyfikatory falowników Modbus",
6
- "Update interval (s)": "Interwał aktualizacji [s]",
5
+ "Modbus inverter IDs": "Identyfikatory falowników Modbus",
6
+ "Update interval (sec)": "Interwał aktualizacji [s]",
7
7
  "The inverters ip address": "Adres IP falowników",
8
8
  "The modbus TCP port": "Port Modbus TCP",
9
9
  "The modbus inverter IDs, separated with character ,": "Identyfikatory falowników Modbus, oddzielone znakiem ,",
10
- "Update interval to update the values from the inverters": "Częstotliwość aktualizacji w celu aktualizacji wartości z falowników"
10
+ "Update interval to update the values from the inverters": "Częstotliwość aktualizacji w celu aktualizacji wartości z falowników",
11
+ "modbus connection timeout": "Przekroczono limit czasu połączenia Modbus",
12
+ "delay between modbus requests": "opóźnienie pomiędzy żądaniami Modbus",
13
+ "delay after modbus connected": "opóźnienie po podłączeniu Modbus",
14
+ "automatic adjustment of the modbus settings": "automatyczna regulacja ustawień Modbus",
15
+ "ms.aktive": "Aktywny serwer proxy Modbus",
16
+ "Modbus-proxy via TCP for read-only is active": "Modbus-proxy przez TCP w trybie tylko do odczytu jest aktywny",
17
+ "ms.address": "Adres IP serwera proxy Modbus",
18
+ "If want to listen only at localhost use 127.0.0.1": "Jeśli chcesz słuchać tylko na localhost, użyj 127.0.0.1",
19
+ "ms.port": "Port Modbus-proxy TCP",
20
+ "The Modbus-proxy TCP port": "Port Modbus-proxy TCP",
21
+ "The SDongle modbus ID": "Identyfikator modbus SDongle - zwykle 100",
22
+ "ms.log": "Zaawansowane rejestrowanie",
23
+ "Advanced logging": "Zaawansowane rejestrowanie transakcji Modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Configurações do adaptador para inversor huawai sun2000",
3
3
  "address": "Endereço IP do inversor",
4
4
  "port": "porta modbus TCP",
5
- "Modbus Inverter IDs": "IDs do inversor Modbus",
6
- "Update interval (s)": "Intervalo de atualização [seg]",
5
+ "Modbus inverter IDs": "IDs do inversor Modbus",
6
+ "Update interval (sec)": "Intervalo de atualização [seg]",
7
7
  "The inverters ip address": "O endereço IP dos inversores",
8
8
  "The modbus TCP port": "A porta modbus TCP",
9
9
  "The modbus inverter IDs, separated with character ,": "Os IDs do inversor modbus, separados pelo caractere ,",
10
- "Update interval to update the values from the inverters": "Intervalo de atualização para atualizar os valores dos inversores"
10
+ "Update interval to update the values from the inverters": "Intervalo de atualização para atualizar os valores dos inversores",
11
+ "modbus connection timeout": "tempo limite de conexão modbus",
12
+ "delay between modbus requests": "atraso entre solicitações modbus",
13
+ "delay after modbus connected": "atraso após modbus conectado",
14
+ "automatic adjustment of the modbus settings": "ajuste automático das configurações modbus",
15
+ "ms.aktive": "Proxy Modbus ativo",
16
+ "Modbus-proxy via TCP for read-only is active": "O proxy Modbus via TCP para somente leitura está ativo",
17
+ "ms.address": "Endereço IP proxy Modbus",
18
+ "If want to listen only at localhost use 127.0.0.1": "Se quiser ouvir apenas no localhost use 127.0.0.1",
19
+ "ms.port": "Porta TCP proxy Modbus",
20
+ "The Modbus-proxy TCP port": "A porta TCP proxy Modbus",
21
+ "The SDongle modbus ID": "O ID do modbus SDongle - geralmente 100",
22
+ "ms.log": "Registro avançado",
23
+ "Advanced logging": "Registro avançado de transações modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Настройки адаптера для инвертора huawei sun2000",
3
3
  "address": "IP-адрес инвертора",
4
4
  "port": "TCP-порт Modbus",
5
- "Modbus Inverter IDs": "Идентификаторы преобразователей Modbus",
6
- "Update interval (s)": "Интервал обновления [сек]",
5
+ "Modbus inverter IDs": "Идентификаторы преобразователей Modbus",
6
+ "Update interval (sec)": "Интервал обновления [сек]",
7
7
  "The inverters ip address": "IP-адрес инвертора",
8
8
  "The modbus TCP port": "TCP-порт Modbus",
9
9
  "The modbus inverter IDs, separated with character ,": "Идентификаторы инверторов Modbus, разделенные символом ,",
10
- "Update interval to update the values from the inverters": "Интервал обновления для обновления значений инверторов."
10
+ "Update interval to update the values from the inverters": "Интервал обновления для обновления значений инверторов.",
11
+ "modbus connection timeout": "тайм-аут соединения modbus",
12
+ "delay between modbus requests": "задержка между запросами Modbus",
13
+ "delay after modbus connected": "задержка после подключения Modbus",
14
+ "automatic adjustment of the modbus settings": "автоматическая регулировка настроек Modbus",
15
+ "ms.aktive": "Modbus-прокси активен",
16
+ "Modbus-proxy via TCP for read-only is active": "Modbus-прокси через TCP только для чтения активен",
17
+ "ms.address": "IP-адрес Modbus-прокси",
18
+ "If want to listen only at localhost use 127.0.0.1": "Если вы хотите слушать только на локальном хосте, используйте 127.0.0.1.",
19
+ "ms.port": "TCP-порт Modbus-прокси",
20
+ "The Modbus-proxy TCP port": "TCP-порт Modbus-прокси",
21
+ "The SDongle modbus ID": "Идентификатор Modbus SDongle — обычно 100.",
22
+ "ms.log": "Расширенное ведение журнала",
23
+ "Advanced logging": "Расширенное журналирование транзакций Modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "Налаштування адаптера huawai inverter sun2000",
3
3
  "address": "IP-адреса інвертора",
4
4
  "port": "порт Modbus TCP",
5
- "Modbus Inverter IDs": "Ідентифікатори інвертора Modbus",
6
- "Update interval (s)": "Інтервал оновлення [с]",
5
+ "Modbus inverter IDs": "Ідентифікатори інвертора Modbus",
6
+ "Update interval (sec)": "Інтервал оновлення [с]",
7
7
  "The inverters ip address": "IP адреса інверторів",
8
8
  "The modbus TCP port": "Порт Modbus TCP",
9
9
  "The modbus inverter IDs, separated with character ,": "Ідентифікатори інвертора Modbus, розділені символом ,",
10
- "Update interval to update the values from the inverters": "Інтервал оновлення для оновлення значень з інверторів"
10
+ "Update interval to update the values from the inverters": "Інтервал оновлення для оновлення значень з інверторів",
11
+ "modbus connection timeout": "тайм-аут підключення Modbus",
12
+ "delay between modbus requests": "затримка між запитами Modbus",
13
+ "delay after modbus connected": "затримка після підключення Modbus",
14
+ "automatic adjustment of the modbus settings": "автоматичне налаштування параметрів Modbus",
15
+ "ms.aktive": "Modbus-проксі активний",
16
+ "Modbus-proxy via TCP for read-only is active": "Modbus-проксі через TCP для читання активний",
17
+ "ms.address": "IP-адреса Modbus-проксі",
18
+ "If want to listen only at localhost use 127.0.0.1": "Якщо ви хочете слухати лише на локальному хості, використовуйте 127.0.0.1",
19
+ "ms.port": "TCP-порт Modbus-proxy",
20
+ "The Modbus-proxy TCP port": "TCP-порт Modbus-proxy",
21
+ "The SDongle modbus ID": "ID Modbus SDongle - зазвичай 100",
22
+ "ms.log": "Розширене журналювання",
23
+ "Advanced logging": "Розширене журналювання транзакцій Modbus"
11
24
  }
@@ -2,10 +2,23 @@
2
2
  "sun2000 adapter settings": "华为逆变器sun2000的适配器设置",
3
3
  "address": "逆变器IP地址",
4
4
  "port": "Modbus TCP 端口",
5
- "Modbus Inverter IDs": "Modbus 逆变器 ID",
6
- "Update interval (s)": "更新间隔[秒]",
5
+ "Modbus inverter IDs": "Modbus 逆变器 ID",
6
+ "Update interval (sec)": "更新间隔[秒]",
7
7
  "The inverters ip address": "逆变器ip地址",
8
8
  "The modbus TCP port": "Modbus TCP 端口",
9
9
  "The modbus inverter IDs, separated with character ,": "modbus逆变器ID,用字符分隔,",
10
- "Update interval to update the values from the inverters": "更新逆变器值的更新间隔"
10
+ "Update interval to update the values from the inverters": "更新逆变器值的更新间隔",
11
+ "modbus connection timeout": "Modbus 连接超时",
12
+ "delay between modbus requests": "Modbus 请求之间的延迟",
13
+ "delay after modbus connected": "modbus 连接后延迟",
14
+ "automatic adjustment of the modbus settings": "自动调整 Modbus 设置",
15
+ "ms.aktive": "Modbus 代理处于活动状态",
16
+ "Modbus-proxy via TCP for read-only is active": "通过 TCP 进行只读的 Modbus 代理已激活",
17
+ "ms.address": "Modbus 代理 IP 地址",
18
+ "If want to listen only at localhost use 127.0.0.1": "如果只想在本地主机上监听,请使用 127.0.0.1",
19
+ "ms.port": "Modbus 代理 TCP 端口",
20
+ "The Modbus-proxy TCP port": "Modbus 代理 TCP 端口",
21
+ "The SDongle modbus ID": "SDongle modbus ID - 通常为 100",
22
+ "ms.log": "高级日志记录",
23
+ "Advanced logging": "Modbus 事务的高级记录"
11
24
  }
@@ -9,7 +9,7 @@
9
9
  "address": {
10
10
  "type": "text",
11
11
  "label": "address",
12
- "newLine": false,
12
+ "newLine": true,
13
13
  "tooltip": "The inverters ip address",
14
14
  "sm": 12,
15
15
  "md": 8,
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "modbusIds": {
28
28
  "type": "text",
29
- "label": "Modbus Inverter IDs",
29
+ "label": "Modbus inverter IDs",
30
30
  "sm": 12,
31
31
  "md": 8,
32
32
  "lg": 3,
@@ -68,8 +68,8 @@
68
68
  "connectDelay": {
69
69
  "type": "number",
70
70
  "label": "connect delay (ms)",
71
- "min" : 1000,
72
- "max" : 15000,
71
+ "min" : 2000,
72
+ "max" : 10000,
73
73
  "newLine": true,
74
74
  "tooltip": "delay after modbus connected"
75
75
  },
@@ -80,6 +80,61 @@
80
80
  "tooltip": "automatic adjustment of the modbus settings"
81
81
  }
82
82
  }
83
- }
83
+ },
84
+ "tab3": {
85
+ "type": "panel",
86
+ "label": "Modbus-proxy",
87
+ "items": {
88
+ "dividerHdr": {
89
+ "newLine": true,
90
+ "type": "header",
91
+ "text": "Modbus tcp proxy for multiple client connections",
92
+ "size": 2
93
+ },
94
+ "chipsTxt": {
95
+ "type": "staticText",
96
+ "text": "Third party device such as wallbox, energy manager etc. can receive data even if the modbus interface of inverter is already in use. In addition you can mirror the sun2000 data to another IoBroker instance.",
97
+ "newLine": true
98
+ },
99
+ "ms_active": {
100
+ "type": "checkbox",
101
+ "label": "ms.aktive",
102
+ "newLine": true,
103
+ "tooltip": "Modbus-proxy via TCP for read-only is active"
104
+ },
105
+ "ms_address": {
106
+ "type": "text",
107
+ "label": "ms.address",
108
+ "newLine": true,
109
+ "tooltip": "If want to listen only at localhost use 127.0.0.1",
110
+ "sm": 12,
111
+ "md": 8,
112
+ "lg": 2
113
+ },
114
+ "ms_port": {
115
+ "type": "port",
116
+ "label": "ms.port",
117
+ "sm":3,
118
+ "md":3,
119
+ "lg":2,
120
+ "xs":3,
121
+ "newLine": true,
122
+ "tooltip" : "The Modbus-proxy TCP port"
123
+ },
124
+ "sDongleId": {
125
+ "type": "text",
126
+ "label": "SDongleA modbus ID",
127
+ "lg": 2,
128
+ "newLine": true,
129
+ "tooltip": "The SDongle modbus ID"
130
+ },
131
+ "ms_log": {
132
+ "type": "checkbox",
133
+ "label": "ms.log",
134
+ "newLine": true,
135
+ "tooltip": "Advanced logging"
136
+ }
137
+ }
138
+ }
84
139
  }
85
140
  }