Damit sollte es funktionieren, sonst bei Fragen gerne melde. Danke an Daniel Schneider, etc. für die Hilfe. ps. achte auf die Formatierung erspart euch eine menge zeit bei der Fehlersuche nachher 😛 lg

#Der Ausschnitt in die Config.yaml : #------------------- #-------Modbus------ #------------------- modbus: - name: sdm630gateway type: tcp host: 192.168.178.29 port: 502 #dann eine extra Datei names z.b. Modbus_sensor.yaml anlegen und diese mittels : #sensor modbus: !include modbus_sensor.yaml auslagern. #Der Abschnitt dann in die Ausgelagerte Modbus_sensor.yaml. #Darauf achten das bei hub: das gleiche steht wie in der Config.yaml bei name: #---------------------- # --------Modbus------- #---------------------- - platform: modbus scan_interval: 5 registers: - name: sdm630_phase_1_spannung L1-N hub: sdm630gateway slave: 1 register: 0 register_type: input count: 2 precision: 2 data_type: float unit_of_measurement: V device_class: voltage - name: sdm630_phase_2_spannung L1-N hub: sdm630gateway slave: 1 register: 2 register_type: input count: 2 precision: 2 data_type: float unit_of_measurement: V device_class: voltage - name: sdm630_phase_3_spannung L1-N hub: sdm630gateway slave: 1 register: 4 register_type: input count: 2 precision: 2 data_type: float unit_of_measurement: V device_class: voltage - name: sdm630_Strom L1 hub: sdm630gateway register: 6 register_type: input count: 2 slave: 1 precision: 3 data_type: float unit_of_measurement: A device_class: current - name: sdm630_Strom L2 hub: sdm630gateway register: 8 register_type: input count: 2 slave: 1 precision: 3 data_type: float unit_of_measurement: A device_class: current - name: sdm630_Strom L3 hub: sdm630gateway register: 10 register_type: input count: 2 slave: 1 precision: 3 data_type: float unit_of_measurement: A device_class: current - name: sdm630_leistung_l1 hub: sdm630gateway register: 12 register_type: input count: 2 slave: 1 precision: 3 scale: 0.001 data_type: float unit_of_measurement: kW device_class: power - name: sdm630_leistung_l2 hub: sdm630gateway register: 14 register_type: input count: 2 slave: 1 precision: 3 scale: 0.001 data_type: float unit_of_measurement: kW device_class: power - name: sdm630_leistung_l3 hub: sdm630gateway register: 16 register_type: input count: 2 slave: 1 precision: 3 scale: 0.001 data_type: float unit_of_measurement: kW device_class: power - name: sdm630_durchschnitt_strom hub: sdm630gateway register: 46 register_type: input count: 2 slave: 1 precision: 3 data_type: float unit_of_measurement: A device_class: current - name: sdm630_summe_ströme hub: sdm630gateway register: 48 register_type: input slave: 1 precision: 3 data_type: float unit_of_measurement: A device_class: current - name: sdm630_ gesamt_leistung hub: sdm630gateway register: 52 register_type: input count: 2 slave: 1 precision: 3 scale: 0.001 data_type: float unit_of_measurement: kW device_class: power - name: sdm630_total_system_va hub: sdm630gateway register: 56 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: VA device_class: power - name: sdm630_frequency hub: sdm630gateway register: 70 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: Hz - name: sdm630_import_wh_since_last_reset hub: sdm630gateway register: 72 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: kWh device_class: energy - name: sdm630_export_wh_since_last_reset hub: sdm630gateway register: 74 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: kWh device_class: energy - name: sdm630_maximum_total_system_power hub: sdm630gateway register: 86 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: W device_class: power - name: sdm630_total_system_va_demand hub: sdm630gateway register: 100 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: VA device_class: power - name: sdm630_maximum_total_system_va_demand hub: sdm630gateway register: 102 register_type: input count: 2 slave: 1 precision: 2 data_type: float unit_of_measurement: VA device_class: power

https://cdn.discordapp.com/attachments/830510230676308099/830773460375437332/ModbusBeispielSDM630HA.txt