Webasto Next: Unterschied zwischen den Versionen

Aus FHEMWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Die Wallbox Webasto Next kann per LAN oder WLAN über das Modebus-Protokoll ausgelesen und gesteuert und gesteuert werden.
Die Wallbox Webasto Next kann per LAN oder WLAN über das Modebus-Protokoll ausgelesen und gesteuert werden.


Hier eine mögliche Konfiguration:<syntaxhighlight lang="cfg">
Hier eine mögliche Konfiguration:<syntaxhighlight lang="cfg">
Zeile 8: Zeile 8:
attr WebastoNext event-on-update-reading .*
attr WebastoNext event-on-update-reading .*
attr WebastoNext DbLogExclude .*
attr WebastoNext DbLogExclude .*
attr WebastoNext DbLogInclude Charge_Active_Power:600,HEMS_PV.*:300,HEMS_State:300
attr WebastoNext DbLogInclude Charge_Active_Power:600
attr WebastoNext oldreadings Cable_State
attr WebastoNext oldreadings Cable_State
attr WebastoNext obj-i1000-poll 1
attr WebastoNext obj-i1000-poll 1
Zeile 127: Zeile 127:


[[Kategorie:Wallboxen]]
[[Kategorie:Wallboxen]]
[[Kategorie:Elektromobilität]]

Aktuelle Version vom 20. April 2024, 21:21 Uhr

Die Wallbox Webasto Next kann per LAN oder WLAN über das Modebus-Protokoll ausgelesen und gesteuert werden.

Hier eine mögliche Konfiguration:

define WebastoNext ModbusAttr 1 3 [IP-Addresse]:502 TCP
attr WebastoNext alias Wallbox
attr WebastoNext icon wallbox
attr WebastoNext stateFormat Charge_Point_State_TXT<br>Cable_State_TXT<br>Charge_State_TXT: Charge_Active_Power W
attr WebastoNext event-on-update-reading .*
attr WebastoNext DbLogExclude .*
attr WebastoNext DbLogInclude Charge_Active_Power:600
attr WebastoNext oldreadings Cable_State
attr WebastoNext obj-i1000-poll 1
attr WebastoNext obj-i1000-reading Charge_Point_State
attr WebastoNext obj-i1000-type unsigned short big
attr WebastoNext obj-i1001-poll 1
attr WebastoNext obj-i1001-reading Charge_State
attr WebastoNext obj-i1001-type unsigned short big
attr WebastoNext obj-i1004-poll 1
attr WebastoNext obj-i1004-reading Cable_State
attr WebastoNext obj-i1004-type unsigned short big
attr WebastoNext obj-i1006-poll 1
attr WebastoNext obj-i1006-reading Error_Code
attr WebastoNext obj-i1006-type unsigned short big
attr WebastoNext obj-i1008-poll 1
attr WebastoNext obj-i1008-reading Charge_Active_Current_L1
attr WebastoNext obj-i1008-type unsigned short big
attr WebastoNext obj-i1008-expr $val/1000
attr WebastoNext obj-i1010-poll 1
attr WebastoNext obj-i1010-reading Charge_Active_Current_L2
attr WebastoNext obj-i1010-type unsigned short big
attr WebastoNext obj-i1010-expr $val/1000
attr WebastoNext obj-i1012-poll 1
attr WebastoNext obj-i1012-reading Charge_Active_Current_L3
attr WebastoNext obj-i1012-type unsigned short big
attr WebastoNext obj-i1012-expr $val/1000
attr WebastoNext obj-i1020-poll 1
attr WebastoNext obj-i1020-reading Charge_Active_Power
attr WebastoNext obj-i1020-type unsigned long big
attr WebastoNext obj-i1024-reading Charge_Active_Power_L1
attr WebastoNext obj-i1024-poll 1
attr WebastoNext obj-i1024-type unsigned long big
attr WebastoNext obj-i1028-reading Charge_Active_Power_L2
attr WebastoNext obj-i1028-poll 1
attr WebastoNext obj-i1028-type unsigned long big
attr WebastoNext obj-i1032-reading Charge_Active_Power_L3
attr WebastoNext obj-i1032-poll 1
attr WebastoNext obj-i1032-type unsigned long big
attr WebastoNext obj-i1036-reading Energy_Meter
attr WebastoNext obj-i1036-poll 1
attr WebastoNext obj-i1036-type unsigned long big
attr WebastoNext obj-i1036-expr $val/1000

attr WebastoNext obj-i1102-reading Min_Current
attr WebastoNext obj-i1102-poll 1
attr WebastoNext obj-i1102-type unsigned short big
attr WebastoNext obj-i1108-reading EV_Max_Current
attr WebastoNext obj-i1108-poll 1
attr WebastoNext obj-i1108-type unsigned short big
attr WebastoNext obj-i1502-reading Charged_Energy
attr WebastoNext obj-i1502-poll 1
attr WebastoNext obj-i1502-type unsigned short big
attr WebastoNext obj-i1502-expr $val/1000
attr WebastoNext obj-i1504-reading Charging_Start_Time
attr WebastoNext obj-i1504-poll 1
attr WebastoNext obj-i1504-type unsigned long big
attr WebastoNext obj-i1508-reading Charging_Time
attr WebastoNext obj-i1508-poll 1
attr WebastoNext obj-i1508-type unsigned long big
attr WebastoNext obj-i1512-reading Charging_End_Time
attr WebastoNext obj-i1512-poll 1
attr WebastoNext obj-i1512-type unsigned long big
attr WebastoNext obj-i1620-reading Smart_Vehicle_Detected
attr WebastoNext obj-i1620-poll 1
attr WebastoNext obj-i1620-type unsigned short big

attr WebastoNext obj-h2000-reading Safe_Current
attr WebastoNext obj-h2000-poll 1
attr WebastoNext obj-h2000-polldelay 600
attr WebastoNext obj-h2000-type unsigned short big
attr WebastoNext obj-h2000-set 1
attr WebastoNext obj-h2000-min 0
attr WebastoNext obj-h2000-max 16

attr WebastoNext obj-h2002-reading Com_Timeout
attr WebastoNext obj-h2002-poll 1
attr WebastoNext obj-h2002-polldelay x199
attr WebastoNext obj-h2002-type unsigned short big
attr WebastoNext obj-h2002-set 1

attr WebastoNext obj-h5000-reading Charge_Power_Set
attr WebastoNext obj-h5000-poll 0
attr WebastoNext obj-h5000-type unsigned long big
attr WebastoNext obj-h5000-set 1

attr WebastoNext obj-h5004-reading Charge_Current_Set
attr WebastoNext obj-h5004-poll 0
attr WebastoNext obj-h5004-type signed short big
attr WebastoNext obj-h5004-set 1
attr WebastoNext obj-h5004-min 0
attr WebastoNext obj-h5004-max 16

attr WebastoNext obj-h5006-reading Start_Cancel
attr WebastoNext obj-h5006-poll 0
attr WebastoNext obj-h5006-type unsigned short big
attr WebastoNext obj-h5006-set 1
attr WebastoNext obj-h5006-min 0
attr WebastoNext obj-h5006-max 2
attr WebastoNext obj-h5006-hint 0,1,2

attr WebastoNext obj-h6000-reading Life_Bit
attr WebastoNext obj-h6000-poll 1
attr WebastoNext obj-h6000-type unsigned short big
attr WebastoNext obj-h6000-set 1

attr WebastoNext userReadings \
Charge_Point_State_TXT:Charge_Point_State\b.* {my $val = ReadingsVal ("WebastoNext","Charge_Point_State", 0);; if ($val == 0) {return "no vehicle attached (EVSE available, EVSE unavailable)"} elsif ($val == 1) {return "vehicle attached, no permission (preparing)"} elsif ($val == 3) {return "charging"} elsif ($val == 4) {return "charging paused (suspending EVSE, suspending EV, finishing)"} elsif ($val == 7) {return "charging error"} elsif ($val == 8) {return "charging station reserved"} else { return $val ." undefined" };;},\
Cable_State_TXT:Cable_State\b.* {my $val = ReadingsVal ("WebastoNext","Cable_State", 0);; if ($val == 0) {return "no cable attached"} elsif ($val == 1) {return "cable attached (no car attached)"} elsif ($val == 2) {return "cable attached (car attached)"} elsif ($val == 3) {return "cable attached (car attached) + lock active"} else { return $val ." undefined" };;}, \
Charge_State_TXT:Charge_State\b.* {my $val = ReadingsVal ("WebastoNext","Charge_State", 0);; if ($val == 0) {return "idle"} elsif ($val == 1) {return "charging"} else { return $val ." undefined" };;}

Steuerung

Das Register Charge_Power_Set wird nur berücksichtigt, wenn Charge_Current_Set auf 0 gesetzt ist. Mindestladestromstärke ist 6 A bzw. 4200 W.

Die Wallbox reagiert nur dann auf die Steuerung, wenn ein regelmäßiges Keep-Alive-Bit gesetzt wird. Ansonsten wird der Lademodus mit dem Wert "Safe_Current" gestartet.

define WebastoNext_KeepAlive at +*00:00:30 set WebastoNext Life_Bit 1

Gestartet wird der Ladvorgang mit "set WebastoNext Start_Cancel 1". Gestoppt wird mit "set WebastoNext Start_Cancel 2".