Kostal Piko CI 30 in HA integrieren

Hallo zusammen,

ich habe zwei Kostal Piko CI 30 Wechselrichter im EInsatz.

Nun würde ich die gerne in HA integrieren, nur mit der Kostal Integration klappt es irgendwie nicht.
ich hatte vorher openhab im Einsatz, da hat das über Modbus funktioniert.

Kann mir jemand helfen, wie ich das über Modbus realisieren kann?
Ich habe das Modbus Addon schon installiert, komme aber mit den Settings nicht so richtig klar.
Trotz durchforsten der Doku und mit Hilfe von KI leider kein Erfolg.

Kann jemand das Setting posten, so als kleine “Inspiration”?

Und die Modbus Sensor konfig wäre gut.

Komme da irgendwie nicht mit zurecht…

Gruß

Jan

Hallo Jan,

ich stehe vor dem gleichen Problem wie du. Bist du schon weiter gekommen?

Hi Loads,

ja, ich bin da weitergekommen.

ich habe die Wechselrichter per ModBus ausgelesen.

die Modbus-Adressen die in der Beschreibung des Wechselrichters stehen kannst du nehmen, du musst nur immer -1 rechnen.

ich hab mal meine Settings hier (vielleicht hilft das ja):

################### Wechselrichter Kostal Christa ######################

- name: "Kostal Wechselrichter 1"
  type: tcp
  host: XXX.XXX.XXX.XXX    #IP Adresse des Wechselrichters
  port: 502
  delay: 0
  timeout: 10
  retry_on_empty: 1

  sensors:
    - name: Kostal Wechselrichter 1 Spannung L1
      slave: 1
      address: 157   #Wert aus Beschreibung -1
      input_type: holding
      unit_of_measurement: "V"
      state_class: measurement
      #      scale: 0.1
      swap: word
      precision: 1
      #      count: 2
      data_type: float32
      device_class: voltage

    - name: "Kostal Wechselrichter 1 Spannung L2"
      slave: 71
      address: 163
      input_type: holding
      data_type: float32
      precision: 1
      swap: word
      unit_of_measurement: "V"
      device_class: voltage

    - name: "Kostal Wechselrichter 1 Spannung L3"
      slave: 71
      address: 169
      input_type: holding
      data_type: float32
      precision: 1
      swap: word
      unit_of_measurement: "V"
      device_class: voltage

    - name: "Kostal Wechselrichter 1 Leistung gesamt"
      slave: 71
      address: 171
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "W"
      device_class: power
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Leistung L1"
      slave: 71
      address: 155
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "W"
      device_class: power
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Leistung L2"
      slave: 71
      address: 161
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "W"
      device_class: power
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Leistung L3"
      slave: 71
      address: 167
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "W"
      device_class: power
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Strom L1"
      slave: 71
      address: 153
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "A"
      device_class: current
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Strom L2"
      slave: 71
      address: 159
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "A"
      device_class: current
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Strom L3"
      slave: 71
      address: 165
      input_type: holding
      data_type: float32
      swap: word
      unit_of_measurement: "A"
      device_class: current
      state_class: measurement

    - name: "Kostal Wechselrichter 1 Wechselrichter Zustand Code"
      slave: 71
      address: 55
      input_type: holding
      data_type: uint16

    - name: "Kostal Christa Fehlercode 1"
      slave: 71
      address: 4125
      input_type: holding
      data_type: uint16

    - name: "Kostal Wechselrichter 1 Fehlercode 2"
      slave: 71
      address: 4126
      input_type: holding
      data_type: uint16

    - name: "Kostal Wechselrichter 1 Fehlercode 3"
      slave: 71
      address: 4127
      input_type: holding
      data_type: uint16

    - name: "Kostal Wechselrichter 1 Seriennummer"
      slave: 71
      address: 13
      input_type: holding
      data_type: string
      count: 8

    - name: "Kostal Wechselrichter 1 Typ"
      slave: 71
      address: 767
      input_type: holding
      data_type: string
      count: 32


Gruß

Jan