Weiteres Beispiel - SMA Wechselrichter: Unterschied zwischen den Versionen

Aus FHEMWiki
(Ein weiteres Beispiel für die Konfiguration eines FHEM-Modbus-Clients der auf einen SMA-Wechselrichter zugreift)
 
KKeine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
Hier auf Basis [https://forum.fhem.de/index.php?PHPSESSID=0r7498gqu6nfenvipunrp94feq&topic=75638.1215 der Diskussion] im Forum ein weiteres Beispiel, das exemplarisch zeigt, wie bei [https://files.sma.de/downloads/EDMx-Modbus-TI-de-16.pdf SMA-Wechselrichtern] die Sprache gewechselt werden kann. Dazu wird der Wert des Doppel-Halteregisters 40013 ausgelesen bzw. gesetzt. 777 entspricht dabei DE, 778 EN.<syntaxhighlight>
Based on the [https://forum.fhem.de/index.php?PHPSESSID=0r7498gqu6nfenvipunrp94feq&topic=75638.1215 discussion in the forum], here is another example that shows how the language can be changed in [https://files.sma.de/downloads/EDMx-Modbus-TI-de-16.pdf SMA inverters]. To do this, the value of the double holding register 40013 is read or set. 777 corresponds to DE, 778 to EN.<syntaxhighlight>
   define SI ModbusAttr 3 10 192.168.188.38:502 TCP
   define SI ModbusAttr 3 10 192.168.188.38:502 TCP
   attr SI closeAfterResponse 0
   attr SI closeAfterResponse 0

Aktuelle Version vom 22. April 2024, 22:01 Uhr

Based on the discussion in the forum, here is another example that shows how the language can be changed in SMA inverters. To do this, the value of the double holding register 40013 is read or set. 777 corresponds to DE, 778 to EN.

   define SI ModbusAttr 3 10 192.168.188.38:502 TCP
   attr SI closeAfterResponse 0
   attr SI dev-h-defLen 2
   attr SI dev-h-defPoll 0
   attr SI dev-h-defRevRegs 0
   attr SI dev-h-defUnpack N
   attr SI dev-type-ENUM_JN-hint EN,DE
   attr SI dev-type-ENUM_JN-map 777:DE,778:EN
   attr SI dev-type-ENUM_JN-revRegs 0
   attr SI enableControlSet 1
   attr SI obj-h40013-reading Sprache
   attr SI obj-h40013-set 1
   attr SI obj-h40013-showGet 1
   attr SI room SYSTEM->modbus