Einbindung der KEBA P40 Wallbox

Hallo,

ich habe hier ganz interessiert mitgelesen, da ich ebenfalls eine Keba P40 samit Kostal Plenticore und KSEM installiert habe. Das PV-Überschussladen samt Phasenumschaltung klkappt auch, allerdings saugt mir die Keba den ebenfalls angeschlossenen Akku immer leer. Bisher konnte mir hierbei keiner helfen.

Umso spannender klingt nun die Integration in den HA - der läuft bei mir mit anderen Integrationen und dem Kostal bisher problemlos. Leider war es mir jedoch bisher nicht möglich, die in der PDF verlinkten Konfiguration in den HA zu bekommen. Ich erhalte beim Prüfen der yaml immer folgende Fehlermeldung:

Invalid config for 'modbus' at configuration.yaml, line 12: required key 'baudrate' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'bytesize' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'method' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'parity' not provided 
nvalid config for 'modbus' at configuration.yaml, line 12: required key 'port' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'stopbits' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'type' not provided

Hat jemand hier eine Idee, was ich tun könnte bzw. einen anderen / richtigen code für mich? Ich hatte mittels Chatgpt den folgenden hinzugefügt (siehe unten).

Über Ideen / Hife wäre ich sehr, sehr dankbar.

modbus:
name: P40_IDAtype: tcphost: xxx.xxx.xxx.xxxport: 502
sensors:
name: “Wallbox Charging State”unique_id: wallbox_charging_stateslave: 255address: 1000data_type: uint32scan_interval: 10
name: “Wallbox Cable State”unique_id: wallbox_cable_stateslave: 255address: 1004data_type: uint32scan_interval: 10
name: “Wallbox Error Code”unique_id: wallbox_error_codeslave: 255address: 1006data_type: uint32scan_interval: 30
name: “Wallbox Current L1”unique_id: wallbox_current_l1slave: 255address: 1008data_type: uint32scale: 0.001precision: 3scan_interval: 10unit_of_measurement: “A”device_class: currentstate_class: measurement
name: “Wallbox Current L2”unique_id: wallbox_current_l2slave: 255address: 1010data_type: uint32scale: 0.001precision: 3scan_interval: 10unit_of_measurement: “A”device_class: currentstate_class: measurement
name: “Wallbox Current L3”unique_id: wallbox_current_l3slave: 255address: 1012data_type: uint32scale: 0.001precision: 3scan_interval: 10unit_of_measurement: “A”device_class: currentstate_class: measurement
name: “Wallbox Voltage L1”unique_id: wallbox_voltage_l1slave: 255address: 1040data_type: uint32scan_interval: 30unit_of_measurement: “V”device_class: voltagestate_class: measurement
name: “Wallbox Voltage L2”unique_id: wallbox_voltage_l2slave: 255address: 1042data_type: uint32scan_interval: 30unit_of_measurement: “V”device_class: voltagestate_class: measurement
name: “Wallbox Voltage L3”unique_id: wallbox_voltage_l3slave: 255address: 1044data_type: uint32scan_interval: 30unit_of_measurement: “V”device_class: voltagestate_class: measurement
name: “Wallbox Active Power”unique_id: wallbox_active_powerslave: 255address: 1020data_type: uint32scale: 0.001scan_interval: 10unit_of_measurement: “W”device_class: powerstate_class: measurement
name: “Wallbox Total Energy”unique_id: wallbox_total_energyslave: 255address: 1036data_type: uint32scale: 0.0001scan_interval: 60unit_of_measurement: “kWh”device_class: energystate_class: total_increasing
name: “Wallbox Session Energy”unique_id: wallbox_session_energyslave: 255address: 1502data_type: uint32scale: 0.0001scan_interval: 30unit_of_measurement: “kWh”device_class: energystate_class: total
name: “Wallbox Max Charging Current”unique_id: wallbox_max_currentslave: 255address: 1100data_type: uint32scale: 0.001scan_interval: 60unit_of_measurement: “A”device_class: currentstate_class: measurement
name: “Wallbox Max Supported Current”unique_id: wallbox_supported_currentslave: 255address: 1110data_type: uint32scale: 0.001scan_interval: 60unit_of_measurement: “A”device_class: currentstate_class: measurement

numbers:

name: “Wallbox Charging Current Limit”unique_id: wallbox_set_currentslave: 255address: 5004data_type: uint16min_value: 6000max_value: 32000step: 1000unit_of_measurement: “mA”

:crayon:by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)
s.a.: (Neues Update & Features - Hier in der Community 🫶)