If your Kostal Pico MP inverter provides data on http://your-inverter-ip/measurements.xml
Install https://github.com/danieldotnl/ha-multiscrape and use the following configuration to get the data to Home Assistant
Add this to the configuration.yaml
and change the inverter IP from 192.168.0.90
used in the example to whatever is your inverter IP.
# Kostal inverter
multiscrape:
- resource: http://192.168.0.90/measurements.xml
scan_interval: 60
parser: lxml
sensor:
- unique_id: kostal_ac_power
name: "AC Power"
select: "measurement[type='AC_Power']"
attribute: "value"
unit_of_measurement: "W"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_ac_voltage
name: "AC Voltage"
select: "measurement[type='AC_Voltage']"
attribute: "value"
unit_of_measurement: "V"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_ac_current
name: "AC Current"
select: "measurement[type='AC_Current']"
attribute: "value"
unit_of_measurement: "A"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_ac_frequency
name: "AC Frequency"
select: "measurement[type='AC_Frequency']"
attribute: "value"
unit_of_measurement: "Hz"
- unique_id: kostal_dc_voltage
name: "DC Voltage"
select: "measurement[type='DC_Voltage']"
attribute: "value"
unit_of_measurement: "V"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_dc_current
name: "DC Current"
select: "measurement[type='DC_Current']"
attribute: "value"
unit_of_measurement: "A"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_link_voltage
name: "Link Voltage"
select: "measurement[type='LINK_Voltage']"
attribute: "value"
unit_of_measurement: "V"
on_error:
value: "default"
default: 0.0
- unique_id: kostal_derating
name: "Derating"
select: "measurement[type='Derating']"
attribute: "value"
unit_of_measurement: "%"
Many Thanks :-)