Skip to content

Kostal Inverter Binding ​

Scrapes the web interface of the inverter for the metrics of the supported channels below.

Kostal Pico

Kostal Piko 10-20

Kostal PLENTICORE / PIKI IQ

Supported Things ​

First generation devices (PIKO) ​

Tested with Kostal Inverter PIKO but might work with other inverters from Kostal too.

Second generation devices (PIKO 10-20, PIKO NEW GENERATION) ​

Tested with Kostal Inverter PIKO 10-20, PIKO NEW GENERATION.

Third generation devices (PIKO IQ / PLENTICORE plus) ​

This implementation was tested for the current KOSTAL PIKO PLENTICORE plus and PIKO IQ devices. All of these devices contain the same communication board (SCB = Smart Connection Board)

Currently supported things are:

  • PIKO IQ 4.2
  • PIKO IQ 5.5
  • PIKO IQ 7.0
  • PIKO IQ 8.5
  • PIKO IQ 10.0
  • PLENTICORE plus 4.2 (with or without battery attached)
  • PLENTICORE plus 5.5 (with or without battery attached)
  • PLENTICORE plus 7.0 (with or without battery attached)
  • PLENTICORE plus 8.5 (with or without battery attached)
  • PLENTICORE plus 10.0 (with or without battery attached)

Others may be supported (like future devices using the same SCB or offering the same Web API, branded OEM devices, etc.), but they were not tested!

Kostal bindings to third-generation devices require Java's strong cryptography to be enabled in order to establish connections. In case you are allowed to use strong cryptography in your country, you can achieve this by modifying the $JAVA_HOME/jre/lib/security/java.security file (find the line crypto.policy=limited and set it to unlimited). If you're using the official openHAB Docker image, you may also enable Java's strong cryptography by specifying an environment variable CRYPTO_POLICY="unlimited".

Discovery ​

None

Channels ​

First generation devices (PIKO) ​

  • acPower
  • totalEnergy
  • dayEnergy
  • status
  • str1Voltage
  • str1Current
  • str2Voltage
  • str2Current
  • l1Voltage
  • l1Power
  • l2Voltage
  • l2Power
  • l3Voltage
  • l3Power

Second generation devices (PIKO 10-20, PIKO NEW GENERATION) ​

Channel Type IDItem TypeDescriptionRead Write
device-local-grid-output-powerNumber:PowerCurrent output power to the gridR
statistic-yield-day-second-genNumber:EnergyTotal produced power todayR
statistic-yield-total-second-genNumber:EnergyTotal produced powerR
device-local-operating-statusNumber:DimensionlessCurrent operating status, 0 = Standby, 3 = WO-IDLER
device-local-grid-voltage-l1Number:ElectricPotentialCurrent output voltage to the grid, L1R
device-local-grid-current-l1Number:ElectricCurrentCurrent output current to the grid, L1R
device-local-grid-power-l1Number:PowerCurrent output power to the grid, L1R
device-local-grid-voltage-l2Number:ElectricPotentialCurrent output voltage to the grid, L2R
device-local-grid-current-l2Number:ElectricCurrentCurrent output current to the grid, L2R
device-local-grid-power-l2Number:PowerCurrent output power to the grid, L2R
device-local-grid-voltage-l3Number:ElectricPotentialCurrent output voltage to the grid, L3R
device-local-grid-current-l3Number:ElectricCurrentCurrent output current to the grid, L3R
device-local-grid-power-l3Number:PowerCurrent output power to the grid, L3R
device-local-dc-power-pvNumber:PowerCurrent power from all solar panelsR
device-local-dc1-voltageNumber:ElectricPotentialCurrent voltage from solar panels, Dc1R
device-local-dc1-currentNumber:ElectricCurrentCurrent current from solar panels, Dc1R
device-local-dc1-powerNumber:PowerCurrent power from solar panels, Dc1R
device-local-dc2-voltageNumber:ElectricPotentialCurrent voltage from solar panels, Dc2R
device-local-dc2-currentNumber:ElectricCurrentCurrent current from solar panels, Dc2R
device-local-dc2-powerNumber:PowerCurrent power from solar panels, Dc2R
device-local-dc3-voltageNumber:ElectricPotentialCurrent voltage from solar panels, Dc3R
device-local-dc3-currentNumber:ElectricCurrentCurrent current from solar panels, Dc3R
device-local-dc3-powerNumber:PowerCurrent power from solar panels, Dc3R
device-local-akt-home-consumption-solarNumber:PowerCurrent consumption from solar panelsR
device-local-akt-home-consumption-batNumber:PowerCurrent consumption from batteryR
device-local-akt-home-consumption-gridNumber:PowerCurrent consumption from gridR
device-local-phase-sel-home-consump-l1Number:PowerCurrent home consumption, L1R
device-local-phase-sel-home-consump-l2Number:PowerCurrent home consumption, L2R
device-local-phase-sel-home-consump-l3Number:PowerCurrent home consumption, L3R
device-local-grid-freqNumber:FrequencyCurrent frequency on gridR
device-local-grid-cos-phiNumber:AngleCurrent power factor on gridR
statistic-home-consumption-dayNumber:EnergyTotal home consumption todayR
statistic-own-consumption-dayNumber:EnergyTotal own consumption todayR
statistic-own-cons-rate-dayNumber:DimensionlessTotal own consumption rate todayR
statistic-autonomy-degree-dayNumber:DimensionlessTotal autonomy degree todayR
statistic-home-consumption-totalNumber:EnergyTotal home consumptionR
statistic-own-consumption-totalNumber:EnergyTotal own consumptionR
statistic-operating-time-totalNumber:TimeTotal operating timeR
device-local-currentNumber:ElectricCurrentCurrentR
device-local-current-dirNumber:DimensionlessCurrent direction of loading/unloading the batteryR
device-local-charge-cyclesNumber:DimensionlessTotal number of charge cyclesR
device-local-battery-temperatureNumber:TemperatureBattery current temperatureR
device-local-logintervalNumber:TimeValue for logintervalR
device-local-s0-inpulse-cntNumber:DimensionlessS0-pulse counterR
statistic-own-cons-rate-totalNumber:DimensionlessTotal own consumption rateR
statistic-autonomy-degree-totalNumber:DimensionlessTotal autonomy degreeR
device-local-battery-voltageNumber:ElectricPotentialBattery current voltageR
device-local-bat-state-of-chargeNumber:DimensionlessBattery current charge stateR
device-local-self-consumptionNumber:PowerCurrent self consumptionR
device-local-battery-usage-consumptionNumber:PowerBattery usage consumptionR
device-local-smart-battery-controlSwitchSmart battery controlR
device-local-shadow-managementNumber:DimensionlessShadow managementR
device-local-external-module-controlNumber:DimensionlessExternal module controlR

The following Channels are writeable

Channel Type IDItem TypeDescriptionRead Write
device-local-battery-usage-consumption-setStringBattery usage consumption level for power consumption from battery, value = 100 (W)W
device-local-battery-usage-strategy-setStringBattery usage strategy, Value = 1 = Automatic, Value = 2 = Automatic economicalW
device-local-smart-battery-control-setSwitchSmart battery control, Value = OFF / ONW
device-local-battery-charge-time-from-setStringBattery charge time from, Value = 00:00W
device-local-battery-charge-time-to-setStringBattery charge time to, Value = 23:59W
device-local-max-depth-of-discharge-setStringMax depth of discharge (SoC), Value = 10W
device-local-shadow-management-setStringShadow management: 0 = Disabled, 1 = DC-Input String 1, 2 = DC-Input String 2, 3 = DC-Input Strings 1 and 2W
device-local-external-module-control-setStringExternal module control, Value = 0 = Not Activated, Value = 1 = ActivatedW

Third generation devices (PIKO IQ / PLENTICORE plus) ​

Channel Type IDItem TypeDescriptionRead Write
deviceLocalDCPowerNumber:EnergyCurrent DC power of the inverterR
deviceLocalHomeconsumptionFromBatteryNumber:EnergyCurrent home consumption obtained from the batteryR
deviceLocalHomeconsumptionFromGridNumber:EnergyCurrent home consumption obtained from the gridR
deviceLocalOwnconsumptionNumber:EnergyCurrent own consumptionR
deviceLocalHomeconsumptionFromPVNumber:EnergyCurrent home consumption obtained from photovoltaicR
deviceLocalHomeconsumptionTotalNumber:EnergyCurrent total homeconsumptionR
deviceLocalLimitEVUAbsoluteNumber:EnergyPermitted feed-in quantity as absolute value as specified by the energy supplierR
deviceLocalLimitEVURelativNumber:DimensionlessPermitted feed-in quantity as relative value as specified by the energy supplierR
deviceLocalWorktimeNumber:TimeUptime of the inverterR
deviceLocalACPhase1CurrentAmperageNumber:ElectricCurrentAmperage of phase 1R
deviceLocalACPhase1CurrentPowerNumber:EnergyPower of phase 1R
deviceLocalACPhase1CurrentVoltageNumber:ElectricPotentialVoltage of phase 1R
deviceLocalACPhase2CurrentAmperageNumber:ElectricCurrentAmperage of phase 2R
deviceLocalACPhase2CurrentPowerNumber:EnergyPower of phase 2R
deviceLocalACPhase2CurrentVoltageNumber:ElectricPotentialVoltage of phase 2R
deviceLocalACPhase3CurrentAmperageNumber:ElectricCurrentAmperage of phase 3R
deviceLocalACPhase3CurrentPowerNumber:EnergyPower of phase 3R
deviceLocalACPhase3CurrentVoltageNumber:ElectricPotentialVoltage of phase 3R
deviceLocalACCurrentPowerNumber:EnergyCurrent AC power of the inverterR
deviceLocalBatteryLoadingCyclesNumber:DimensionlessAmount of loading cycles done by the batteryR
deviceLocalBatteryFullChargeCapacityNumber:ElectricChargeCapacity of the battery if charged fullyR
deviceLocalBatteryAmperageNumber:ElectricCurrentCurrent amperage of the batteryR
deviceLocalBatteryPowerNumber:EnergyCurrent battery chargeR
deviceLocalBatteryStageOfChargeNumber:DimensionlessCurrent battery charge statusR
deviceLocalBatteryVoltageNumber:ElectricPotentialCurrent voltage of the batteryR
deviceLocalPVString1AmperageNumber:ElectricCurrentCurrent amperage of photovoltaic string 1R
deviceLocalPVString1PowerNumber:EnergyCurrent power of photovoltaic string 1R
deviceLocalPVString1VoltageNumber:ElectricPotentialCurrent voltage of photovoltaic string 1R
deviceLocalPVString2AmperageNumber:ElectricCurrentCurrent amperage of photovoltaic string 2R
deviceLocalPVString2PowerNumber:EnergyCurrent power of photovoltaic string 2R
deviceLocalPVString2VoltageNumber:ElectricPotentialCurrent voltage of photovoltaic string 2R
deviceLocalPVString3AmperageNumber:ElectricCurrentCurrent amperage of photovoltaic string 3R
deviceLocalPVString3PowerNumber:EnergyCurrent power of photovoltaic string 3R
deviceLocalPVString3VoltageNumber:ElectricPotentialCurrent voltage of photovoltaic string 3R
SCBEventErrorCountMcNumber:DimensionlessNumber of errors reported by the main controllerR
SCBEventErrorCountSFHNumber:DimensionlessNumber of errors reported by the grid interface controllerR
SCBEventErrorCountSCBNumber:DimensionlessNumber of errors reported by the smart communication boardR
SCBEventWarningCountSCBNumber:DimensionlessNumber of warnings reported by the smart communication boardR
statisticAutarkyDayNumber:DimensionlessAutarky ratio of this dayR
statisticAutarkyMonthNumber:DimensionlessAutarky ratio of this monthR
statisticAutarkyTotalNumber:DimensionlessAutarky ratio overallR
statisticAutarkyYearNumber:DimensionlessAutarky ratio of this yearR
statisticCo2SavingDayNumber:MassSavings in Co2 emissions todayR
statisticCo2SavingMonthNumber:MassSavings in Co2 emissions this monthR
statisticCo2SavingTotalNumber:MassSavings in Co2 emissions overallR
statisticCo2SavingYearNumber:MassSavings in Co2 emissions this yearR
statisticHomeconsumptionDayNumber:EnergyHome consumption todayR
statisticHomeconsumptionMonthNumber:EnergyHome consumption this monthR
statisticHomeconsumptionTotalNumber:EnergyHome consumption overallR
statisticHomeconsumptionYearNumber:EnergyHome consumption this yearR
statisticHomeconsumptionFromBatteryDayNumber:EnergyHome consumption obtained from the battery todayR
statisticHomeconsumptionFromBatteryMonthNumber:EnergyHome consumption obtained from the battery this monthR
statisticHomeconsumptionFromBatteryTotalNumber:EnergyHome consumption obtained from the battery overallR
statisticHomeconsumptionFromBatteryYearNumber:EnergyHome consumption obtained from the battery this yearR
statisticHomeconsumptionFromGridDayNumber:EnergyHome consumption obtained from the grid todayR
statisticHomeconsumptionFromGridMonthNumber:EnergyHome consumption obtained from the grid this monthR
statisticHomeconsumptionFromGridTotalNumber:EnergyHome consumption obtained from the grid overallR
statisticHomeconsumptionFromGridYearNumber:EnergyHome consumption obtained from the grid this yearR
statisticHomeconsumptionFromPVDayNumber:EnergyHome consumption obtained from the photovoltaic plant todayR
statisticHomeconsumptionFromPVMonthNumber:EnergyHome consumption obtained from the photovoltaic plant this monthR
statisticHomeconsumptionFromPVTotalNumber:EnergyHome consumption obtained from the photovoltaic plant overallR
statisticHomeconsumptionFromPVYearNumber:EnergyHome consumption obtained from the photovoltaic plant this yearR
statisticOwnconsumptionRateDayNumber:DimensionlessPercentage of electricity demand covered by photovoltaics todayR
statisticOwnconsumptionRateMonthNumber:DimensionlessPercentage of electricity demand covered by photovoltaics this monthR
statisticOwnconsumptionRateTotalNumber:DimensionlessPercentage of electricity demand covered by photovoltaics overallR
statisticOwnconsumptionRateYearNumber:DimensionlessPercentage of electricity demand covered by photovoltaics this yearR
statisticYieldDayNumber:EnergyYield of the photovoltaic plant todayR
statisticYieldMonthNumber:EnergyYield of the photovoltaic plant this monthR
statisticYieldTotalNumber:EnergyYield of the photovoltaic plant overallR
statisticYieldYearNumber:EnergyYield of the photovoltaic plant this yearR

Thing Configuration ​

First generation devices (PIKO) ​

demo.things

dsl
Thing kostalinverter:kostalinverter:inverter [ url="http://192.168.0.128" ]

If the Thing goes online then the connection to the web interface is successful. In case it is offline you should see an error message. You optionally can define a userName and a password parameter if the access to the webinterface is protected and a desired refreshInterval (the time interval between updates, default 60 seconds).

Second generation devices (PIKO 10-20, PIKO NEW GENERATION) ​

Second generation inverters require 4 mandatory parameters and 1 optional (hasBattery):

ParameterDescriptionTypeUnitDefault valueExample value
urlHost name or IP address of your deviceText------192.168.0.2
usernameUsername for your inverterText------myUsername
passwordPassword for your inverterText------myPassword
refreshIntervalPollingintervall of your inverterIntegerSeconds6060
hasBatteryType of PIKO 10-20 inverter, with or without batteryboolean-----false/true

demo.things

dsl
Thing kostalinverter:piko1020:mypiko1020 [ url="http://'inverter-ip'", username="'myUsername'", password="'myPassword'", refreshInterval=60, hasBattery=false]

You can define which type of PIKO10-20 inverter you will connect to with parameter hasBattery.

Third generation devices (PIKO IQ / PLENTICORE plus) ​

All third generation inverters require to define 3 mandatory configuration parameters:

ParameterDescriptionTypeUnitDefault valueExample value
urlHost name or IP address of your deviceText------192.168.1.2
userPasswordPassword you configured on the inverters web front endText------myPassword
refreshInternalInSecondsDefines how often the device is polled for new valuesIntegerSeconds3030

If you are using the hostname instead of the IP address, please make sure your DNS is configuration correctly! The refresh interval should be chosen wisely. To small interval may led to high workload for the inverter. It is recommended to use an interval of 30 seconds.

Full sample of Thing configuration:

dsl
Thing kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery [ url = "192.168.1.2", userPassword="myPassword", refreshInternalInSeconds="30"]

Items ​

First generation devices (PIKO) ​

demo.items:

dsl
Number:Power SolarPower "Solar power [%.1f %unit%]" <energy> { channel="kostalinverter:kostalinverter:inverter:acPower" }
Number:Energy SolarEnergyDay "Solar day energy [%.3f %unit%]" <energy> { channel="kostalinverter:kostalinverter:inverter:dayEnergy" }
Number:Energy SolarTotalEnergy "Solar total energy [%.3f %unit%]" <energy> { channel="kostalinverter:kostalinverter:inverter:totalEnergy" }
String SolarStatus "Solar status [%s]" <energy> { channel="kostalinverter:kostalinverter:inverter:status" }

Second generation devices (PIKO NEW GENERATION) ​

demo.items:

dsl
Number:Power                GridOutputPower             "Grid Output Power"                         <energy> { channel="kostalinverter:piko1020:mypiko1020:gridOutputPower" }
Number:Energy               YieldDaySecondGen           "PV Output Power Day"                       <energy> { channel="kostalinverter:piko1020:mypiko1020:yieldDaySecondGen" }
Number:Energy               YieldTotalSecondGen         "PV Output Power Total"                     <energy> { channel="kostalinverter:piko1020:mypiko1020:yieldTotalSecondgen" }
Number:Dimensionless        OperatingStatus             "Operating Status"                          <energy> { channel="kostalinverter:piko1020:mypiko1020:operatingStatus" }
Number:ElectricPotential    GridVoltageL1               "Grid Voltage L1"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL1" }
Number:ElectricCurrent      GridCurrentL1               "Grid Current L1"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL1" }
Number:Power                GridPowerL1                 "Grid Power L1"                             <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL1" }
Number:ElectricPotential    GridVoltageL2               "Grid Voltage L2"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL2" }
Number:ElectricCurrent      GridCurrentL2               "Grid Current L2"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL2" }
Number:Power                GridPowerL2                 "Grid Power L2"                             <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL2" }
Number:ElectricPotential    GridVoltageL3               "Grid Voltage L3"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridVoltageL3" }
Number:ElectricCurrent      GridCurrentL3               "Grid Current L3"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCurrentL3" }
Number:Power                GridPowerL3                 "Grid Power L3"                             <energy> { channel="kostalinverter:piko1020:mypiko1020:gridPowerL3" }
Number:Power                DcPvPower                   "DC Power Pv"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dcPowerPV" }
Number:ElectricPotential    Dc1Voltage                  "DC1 Voltage"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Voltage" }
Number:ElectricCurrent      Dc1Current                  "DC1 Current"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Current" }
Number:Power                Dc1Power                    "DC1 Power"                                 <energy> { channel="kostalinverter:piko1020:mypiko1020:dc1Power" }
Number:ElectricPotential    Dc2Voltage                  "DC2 Voltage"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Voltage" }
Number:ElectricCurrent      Dc2Current                  "DC2 Current"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Current" }
Number:Power                Dc2Power                    "DC2 Power"                                 <energy> { channel="kostalinverter:piko1020:mypiko1020:dc2Power" }
Number:ElectricPotential    Dc3Voltage                  "DC3 Voltage"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Voltage" }
Number:ElectricCurrent      Dc3Current                  "DC3 Current"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Current" }
Number:Power                Dc3Power                    "DC3 Power"                                 <energy> { channel="kostalinverter:piko1020:mypiko1020:dc3Power" }
Number:Power                AktHomeConsumptionSolar     "Akt Home Consumption Solar"                <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionSolar" }
Number:Power                AktHomeConsumptionBat       "Akt Home Consumption Battery"              <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionBat" }
Number:Power                AktHomeConsumptionGrid      "Akt Home Consumption Grid"                 <energy> { channel="kostalinverter:piko1020:mypiko1020:aktHomeConsumptionGrid" }
Number:Power                PhaseSelHomeConsumpL1       "Phase Sel Home Consump L1"                 <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL1" }
Number:Power                PhaseSelHomeConsumpL2       "Phase Sel Home Consump L2"                 <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL2" }
Number:Power                PhaseSelHomeConsumpL3       "Phase Sel Home Consump L3"                 <energy> { channel="kostalinverter:piko1020:mypiko1020:phaseSelHomeConsumpL3" }
Number:Frequency            GridFreq                    "Grid Freq"                                 <energy> { channel="kostalinverter:piko1020:mypiko1020:gridFreq" }
Number:Angle                GridCosPhi                  "Grid Cos Phi"                              <energy> { channel="kostalinverter:piko1020:mypiko1020:gridCosPhi" }
Number:Energy               HomeConsumptionDay          "Home Consumption Day"                      <energy> { channel="kostalinverter:piko1020:mypiko1020:homeConsumptionDay" }
Number:Energy               OwnConsumptionDay           "Own Consumption Day"                       <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsumptionDay" }
Number:Dimensionless        OwnConsRateDay              "Own Cons Rate Day"                         <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsRateDay" }
Number:Dimensionless        AutonomyDegreeDay           "Autonomy Degree Day"                       <energy> { channel="kostalinverter:piko1020:mypiko1020:autonomyDegreeDay" }
Number:Energy               HomeConsumptionTotal        "Home Consumption Total"                    <energy> { channel="kostalinverter:piko1020:mypiko1020:homeConsumptionTotal" }
Number:Energy               OwnConsumptionTotal         "Own Consumption Total"                     <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsumptionTotal" }
Number:Time                 OperatingTimeTotal          "Operating Time Total"                      <energy> { channel="kostalinverter:piko1020:mypiko1020:operatingTimeTotal" }
Number:ElectricCurrent      Current                     "Current"                                   <energy> { channel="kostalinverter:piko1020:mypiko1020:current" }
Number:Dimensionless        CurrentDir                  "Current Dir"                               <energy> { channel="kostalinverter:piko1020:mypiko1020:currentDir" }
Number:Dimensionless        ChargeCycles                "Charge Cycles"                             <energy> { channel="kostalinverter:piko1020:mypiko1020:chargeCycles" }
Number:Temperature          BatteryTemperature          "BatteryTemperature"                        <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryTemperature" }
Number:Time                 Loginterval                 "Log Interval"                              <energy> { channel="kostalinverter:piko1020:mypiko1020:loginterval" }
Number:Dimensionless        S0InPulseCnt                "S0 InPulse Cnt"                            <energy> { channel="kostalinverter:piko1020:mypiko1020:s0InPulseCnt" }
Number:Dimensionless        OwnConsRateTotal            "Own Cons Rate Total"                       <energy> { channel="kostalinverter:piko1020:mypiko1020:ownConsRateTotal" }
Number:Dimensionless        AutonomyDegreeTotal         "Autonomy Degree Total"                     <energy> { channel="kostalinverter:piko1020:mypiko1020:autonomyDegreeTotal" }
Number:ElectricPotential    BatteryVoltage              "Battery Voltage"                           <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryVoltage" }
Number:Dimensionless        BatStateOfCharge            "Bat State Of Charge"                       <energy> { channel="kostalinverter:piko1020:mypiko1020:batStateOfCharge" }
Number:Power                SelfConsumption             "Self Consumption"                          <energy> { channel="kostalinverter:piko1020:mypiko1020:selfConsumption" }
Number:Dimensionless        BatteryUsageConsumption     "Battery Usage Consumption"                 <energy> { channel="kostalinverter:piko1020:mypiko1020:batteryUsageConsumption" }
Switch                      SmartBatteryControl         "Smart Battery Control"                     <energy> { channel="kostalinverter:piko1020:mypiko1020:smartBatteryControl" }
Number:Dimensionless        MaxDepthOfDischarge         "Max Depth Of Discharge"                    <energy> { channel="kostalinverter:piko1020:mypiko1020:maxDepthOfDischarge" }
Number:Dimensionless        ShadowManagement            "Shadow Management"                         <energy> { channel="kostalinverter:piko1020:mypiko1020:shadowManagement" }
Number:Dimensionless        ExternalModuleControl       "External Module Control"                   <energy> { channel="kostalinverter:piko1020:mypiko1020:externalModuleControl" }

Third generation devices (PIKO IQ / PLENTICORE plus) ​

demo.items:

dsl
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_DC_POWER                         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalDCPower"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_FROM_BATTERY     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionFromBattery"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_FROM_GRID        <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionFromGrid"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_OWNCONSUMPTION                   <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalOwnconsumption"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_FROM_PV          <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionFromPV"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_HOMECONSUMPTION_TOTAL            <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalHomeconsumptionTotal"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_LIMIT_EVU_ABSOLUTE               <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalLimitEVUAbsolute"}
Number:Dimensionless         MyPlentiCore100WithBattery_DEVICE_LOCAL_LIMIT_EVU_RELATIV                <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalLimitEVURelativ"}
Number:Time                  MyPlentiCore100WithBattery_DEVICE_LOCAL_WORKTIME                         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalWorktime"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_1_CURRENT_AMPERAGE      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase1CurrentAmperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_1_CURRENT_POWER         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase1CurrentPower"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_1_CURRENT_VOLTAGE       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase1CurrentVoltage"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_2_CURRENT_AMPERAGE      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase2CurrentAmperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_2_CURRENT_POWER         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase2CurrentPower"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_2_CURRENT_VOLTAGE       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase2CurrentVoltage"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_3_CURRENT_AMPERAGE      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase3CurrentAmperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_3_CURRENT_POWER         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase3CurrentPower"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_PHASE_3_CURRENT_VOLTAGE       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACPhase3CurrentVoltage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_AC_CURRENT_POWER                 <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalACCurrentPower"}
Number:Dimensionless         MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_LOADING_CYCLES           <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryLoadingCycles"}
Number:ElectricCharge        MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_FULL_CHARGE_CAPACITY     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryFullChargeCapacity"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_AMPERAGE                 <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryAmperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_POWER                    <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryPower"}
Number:Dimensionless         MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_STATE_OF_CHARGE          <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryStageOfCharge"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_BATTERY_VOLTAGE                  <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalBatteryVoltage"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_1_AMPERAGE              <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString1Amperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_1_POWER                 <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString1Power"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_1_VOLTAGE               <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString1Voltage"}
Number:ElectricCurrent       MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_2_AMPERAGE              <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString2Amperage"}
Number:Energy                MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_2_POWER                 <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString2Power"}
Number:ElectricPotential     MyPlentiCore100WithBattery_DEVICE_LOCAL_PVSTRING_2_VOLTAGE               <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:deviceLocalPVString2Voltage"}
Number:Dimensionless         MyPlentiCore100WithBattery_SCB_EVENT_ERROR_COUNT_MC                      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:SCBEventErrorCountMc"}
Number:Dimensionless         MyPlentiCore100WithBattery_SCB_EVENT_ERROR_COUNT_SFH                     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:SCBEventErrorCountSFH"}
Number:Dimensionless         MyPlentiCore100WithBattery_SCB_EVENT_ERROR_COUNT_SCB                     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:SCBEventErrorCountSCB"}
Number:Dimensionless         MyPlentiCore100WithBattery_SCB_EVENT_WARNING_COUNT_SCB                   <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:SCBEventWarningCountSCB"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_AUTARKY_DAY                         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticAutarkyDay"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_AUTARKY_MONTH                       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticAutarkyMonth"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_AUTARKY_TOTAL                       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticAutarkyTotal"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_AUTARKY_YEAR                        <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticAutarkyYear"}
Number:Mass                  MyPlentiCore100WithBattery_STATISTIC_CO2SAVING_DAY                       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticCo2SavingDay"}
Number:Mass                  MyPlentiCore100WithBattery_STATISTIC_CO2SAVING_MONTH                     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticCo2SavingMonth"}
Number:Mass                  MyPlentiCore100WithBattery_STATISTIC_CO2SAVING_TOTAL                     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticCo2SavingTotal"}
Number:Mass                  MyPlentiCore100WithBattery_STATISTIC_CO2SAVING_YEAR                      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticCo2SavingYear"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_DAY                 <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionDay"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_MONTH               <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionMonth"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_TOTAL               <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionTotal"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_YEAR                <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionYear"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_BATTERIE_DAY   <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromBatteryDay"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_BATTERIE_MONTH <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromBatteryMonth"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_BATTERIE_TOTAL <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromBatteryTotal"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_BATTERIE_YEAR  <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromBatteryYear"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_GRID_DAY       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromGridDay"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_GRID_MONTH     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromGridMonth"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_GRID_TOTAL     <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromGridTotal"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_GRID_YEAR      <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromGridYear"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_PV_DAY         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromPVDay"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_PV_MONTH       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromPVMonth"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_PV_TOTAL       <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromPVTotal"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_HOMECONSUMPTION_FROM_PV_YEAR        <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticHomeconsumptionFromPVYear"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_OWNCONSUMPTION_RATE_DAY             <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticOwnconsumptionRateDay"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_OWNCONSUMPTION_RATE_MONTH           <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticOwnconsumptionRateMonth"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_OWNCONSUMPTION_RATE_TOTAL           <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticOwnconsumptionRateTotal"}
Number:Dimensionless         MyPlentiCore100WithBattery_STATISTIC_OWNCONSUMPTION_RATE_YEAR            <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticOwnconsumptionRateYear"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_YIELD_DAY                           <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticYieldDay"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_YIELD_MONTH                         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticYieldMonth"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_YIELD_TOTAL                         <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticYieldTotal"}
Number:Energy                MyPlentiCore100WithBattery_STATISTIC_YIELD_YEAR                          <energy> { channel="kostalinverter:PLENTICOREPLUS100WITHBATTERY:MyPlentiCore100WithBattery:statisticYieldYear"}

Rules ​

Second generation devices (PIKO 10-20, PIKO NEW GENERATION) Ex. Set Smart battery control OFF with cron trigger:

yaml
triggers:
   id: "1"
    configuration:
      cronExpression: 0 0/2 * * * ? *
    type: timer.GenericCronTrigger
conditions: []
actions:
   inputs: {}
    id: "2"
    configuration:
      type: application/vnd.openhab.dsl.rule
      script: KOSTALPIKO1020_SmartBatteryControlSet.sendCommand("OFF")
    type: script.ScriptAction