Skip to content

Solarman Logger Binding ​

Binding used to communicate with Solarman (IGEN-Tech) v5 based solar inverter data loggers in direct-mode over the local network. More information about the different types of stick loggers is available on the Solarman site.

These data loggers are used by inverters from a lot of manufacturers, just to name a few:

  • Deye
  • Sofar
  • Solis
  • ZCS Azzurro
  • KStar

Supported Things ​

The solarman:logger Thing supports reading data from a Solarman LSW-3 Stick Logger (it might also work with LSE-3 and maybe others) when connected to a supported inverter.

It was tested on a SUN-12K-SG04LP3-EU only, with LAN Stick LSE-3 in RAW MODBUS solarmanLoggerMode and Wifi Stick in V5 MODBUS solarmanLoggerMode but because the implementation uses the inverter definitions created as part of Stephan Joubert's Home Assistant plugin it might work with the other inverters supported by the plugin.

Thing Configuration ​

To connect the logger you need the IP address of the logger and its serial number. The IP address can be obtained from your router and the serial number can either be read from the label of the logger, or by connecting to the logger with a browser (default user/pass: admin/admin) and getting it from the Status page. Please note that you need the "Device serial number" from the "Device information" section, not the "Inverter serial number".

logger Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
hostnametextHostname or IP address of the Solarman loggerN/Ayesno
serialNumbertextSerial number of the Solarman loggerN/Ayesno
inverterTypetextThe type of inverter connected to the loggerN/Ayesno
portintegerPort of the Solarman logger8899noyes
refreshIntervalintegerInterval the device is polled in sec.60noyes
solarmanLoggerModeoptionRAW Modbus for LAN Stick LSE-3 and V5 MODBUS for most Wifi Sticks. If your Wifi stick uses Raw Modbus choose RAW.V5 MODBUSnoyes
additionalRequeststextAdditional requests besides the ones in the definitionN/Anoyes

The inverterType parameter governs what registers the binding will read from the logger and what channels it will expose.

Possible values:

Inverter TypeInverters supportedNotes
deye_hybridDEYE/Sunsynk/SolArk Hybrid invertersused when no lookup specified
deye_sg04lp3DEYE/Sunsynk/SolArk Hybrid 8/12K-SG04LP3e.g. 12K-SG04LP3-EU
deye_sg01hp3DEYE/Sunsynk/SolArk Hybrid HighVoltage 30K-SG01HP3e.g. 30K-SG01HP3-EU
deye_stringDEYE/Sunsynk/SolArk String inverterse.g. SUN-4/5/6/7/8/10/12K-G03 Plus
deye_2mpptDEYE Microinverter with 2 MPPT Trackerse.g. SUN600G3-EU-230 / SUN800G3-EU-230 / SUN1000G3-EU-230
deye_4mpptDEYE Microinverter with 4 MPPT Trackerse.g. SUN1300G3-EU-230 / SUN1600G3-EU-230 / SUN2000G3-EU-230
sofar_lsw3SOFAR Inverters
sofar_g3hydSOFAR Hybrid Three-Phase inverterHYD 6000 or rebranded (three-phase), ex. ZCS Azzurro 3PH HYD-ZSS
sofar_hyd3k-6k-esSOFAR Hybrid Single-Phase inverterHYD 6000 or rebranded (single-phase), ex. ZCS Azzurro HYD-ZSS
solis_hybridSOLIS Hybrid inverter
solid_1p8k-5gSOLIS 1P8K-5G
solis_3p-4gSOLIS Three-Phase Inverter 4G Series
solis_s6-gr1pSOLIS Single-Phase Inverter S6-GR1P
hyd-zss-hp-3k-6kZCS Azzurro Hybrid HP 3K-6K invertersRebranded Sofar models
kstar_hybridKSTAR Hybrid inverters
sofar_wifikitSOFAR WiFi Kit
zcs_azzurro-ktl-v3ZCS Azzurro KTL-V3 invertersZCS Azzurro 3.3/4.4/5.5/6.6 KTL-V3 (rebranded Sofar KTLX-G3)
sunwoda_hybridSUNWODA Hybrid Three-Phase inverterse.g. SW10KH3UT with LSW-5 stick

The additionalRequests allows the user to specify additional address ranges to be polled. The format of the value is mb_functioncode1:start1-end1, mb_functioncode2:start2-end2,... For example "0x03:0x27D-0x27E" will issue an additional read for Holding Registers between 0x27D and 0x27E.

This is useful when coupled with user defined channels, for example a Thing definition like the one below will also read the register for the AC frequency on a Deye inverter, besides the ones pre-defined in the deye_sg04lp3 inverter definition.

dsl
Thing solarman:logger:local [ hostname="x.x.x.x", inverterType="deye_sg04lp3", serialNumber="1234567890", additionalRequests="0x03:0x27D-0x27E" ] {
        Channels:
            Type number : inverter-frequency [scale="0.01", uom="Hz", rule="3", registers="0x27E"]
}

Please note As of this writing inverter types besides the deye_sg04lp3 and deye_sg01hp3 were not tested to work. If you have one of those inverters and it works, please drop me a message, if it doesn't work, please open an issue and I'll try to fix it.

Channels ​

The list of channels is not static, it is generated dynamically based on the inverter type selected. The default channels on a Thing come from the configured inverterType definition; custom channels can also be added. The tables below cover deye_sg04lp3 and deye_2mppt; for other inverter types, see the inverter definitions. Channel IDs are based on the definition's group and item names; for example, Inverter and Total AC Output Power (Active) become inverter-total-ac-output-power--active-.

deye_sg04lp3 channels ​

ChannelTypeRead/WriteDescription
alert-alertNumberRAlert [0x0229,0x022A,0x022B,0x022C,0x022D,0x022E]
battery-battery-currentNumberRBattery Current [0x024F]
battery-battery-powerNumberRBattery Power [0x024E]
battery-battery-socNumberRBattery SOC [0x024C]
battery-battery-temperatureNumberRBattery Temperature [0x024A]
battery-battery-voltageNumberRBattery Voltage [0x024B]
battery-daily-battery-chargeNumberRDaily Battery Charge [0x0202]
battery-daily-battery-dischargeNumberRDaily Battery Discharge [0x0203]
battery-total-battery-chargeNumberRTotal Battery Charge [0x0204,0x0205]
battery-total-battery-dischargeNumberRTotal Battery Discharge [0x0206,0x0207]
battery-battery-absorption-vNumberRBattery Absorption V [0x0064]
battery-battery-empty-vNumberRBattery Empty V [0x0066]
battery-battery-equalization-vNumberRBattery Equalization V [0x0063]
battery-battery-float-vNumberRBattery Float V [0x0065]
battery-battery-capacityNumberRBattery Capacity [0x0066]
battery-battery-max-a-chargeNumberRBattery Max A Charge [0x006C]
battery-battery-max-a-dischargeNumberRBattery Max A Discharge [0x006D]
grid-daily-energy-boughtNumberRDaily Energy Bought [0x0208]
grid-daily-energy-soldNumberRDaily Energy Sold [0x0209]
grid-external-ct-l1-powerNumberRExternal CT L1 Power [0x0268]
grid-external-ct-l2-powerNumberRExternal CT L2 Power [0x0269]
grid-external-ct-l3-powerNumberRExternal CT L3 Power [0x026A]
grid-grid-voltage-l1NumberRGrid Voltage L1 [0x0256]
grid-grid-voltage-l2NumberRGrid Voltage L2 [0x0257]
grid-grid-voltage-l3NumberRGrid Voltage L3 [0x0258]
grid-internal-ct-l1-powerNumberRInternal CT L1 Power [0x025C]
grid-internal-ct-l2-powerNumberRInternal CT L2 Power [0x025D]
grid-internal-ct-l3-powerNumberRInternal CT L3 Power [0x025E]
grid-total-energy-boughtNumberRTotal Energy Bought [0x020A,0x020B]
grid-total-energy-soldNumberRTotal Energy Sold [0x020C,0x020D]
grid-total-grid-powerNumberRTotal Grid Power [0x0271]
grid-total-grid-productionNumberRTotal Grid Production [0x020C,0x020D]
inverter-ac-temperatureNumberRAC Temperature [0x021D]
inverter-communication-board-version-no-NumberRCommunication Board Version No [0x0011]
inverter-control-board-version-no-NumberRControl Board Version No [0x000D]
inverter-current-l1NumberRCurrent L1 [0x0276]
inverter-current-l2NumberRCurrent L2 [0x0277]
inverter-current-l3NumberRCurrent L3 [0x0278]
inverter-dc-temperatureNumberRDC Temperature [0x021C]
inverter-frequencyNumberRInverter Frequency [0x27E]
inverter-inverter-idStringRInverter ID [0x0003,0x0004,0x0005,0x0006,0x0007]
inverter-inverter-l1-powerNumberRInverter L1 Power [0x0279]
inverter-inverter-l2-powerNumberRInverter L2 Power [0x027A]
inverter-inverter-l3-powerNumberRInverter L3 Power [0x027B]
solar-daily-productionNumberRDaily Production [0x0211]
solar-pv1-currentNumberRPV1 Current [0x02A5]
solar-pv1-powerNumberRPV1 Power [0x02A0]
solar-pv1-voltageNumberRPV1 Voltage [0x02A4]
solar-pv2-currentNumberRPV2 Current [0x02A7]
solar-pv2-powerNumberRPV2 Power [0x02A1]
solar-pv2-voltageNumberRPV2 Voltage [0x02A6]
solar-total-productionNumberRTotal Production [0x0216,0x0217]
upload-daily-load-consumptionNumberRDaily Load Consumption [0x020E]
upload-load-l1-powerNumberRLoad L1 Power [0x028A]
upload-load-l2-powerNumberRLoad L2 Power [0x028B]
upload-load-l3-powerNumberRLoad L3 Power [0x028C]
upload-load-voltage-l1NumberRLoad Voltage L1 [0x0284]
upload-load-voltage-l2NumberRLoad Voltage L2 [0x0285]
upload-load-voltage-l3NumberRLoad Voltage L3 [0x0286]
upload-total-load-consumptionNumberRTotal Load Consumption [0x020F,0x0210]
upload-total-load-powerNumberRTotal Load Power [0x028D]
tou-time-1StringR/WTime Of Use Time Period 1 [0x0094] (time in format HH:mm)
tou-time-2StringR/WTime Of Use Time Period 2 [0x0095] (time in format HH:mm)
tou-time-3StringR/WTime Of Use Time Period 3 [0x0096] (time in format HH:mm)
tou-time-4StringR/WTime Of Use Time Period 4 [0x0097] (time in format HH:mm)
tou-time-5StringR/WTime Of Use Time Period 5 [0x0098] (time in format HH:mm)
tou-time-6StringR/WTime Of Use Time Period 6 [0x0099] (time in format HH:mm)
tou-power-1NumberR/WTime Of Use Power 1 [0x009A]
tou-power-2NumberR/WTime Of Use Power 2 [0x009B]
tou-power-3NumberR/WTime Of Use Power 3 [0x009C]
tou-power-4NumberR/WTime Of Use Power 4 [0x009D]
tou-power-5NumberR/WTime Of Use Power 5 [0x009E]
tou-power-6NumberR/WTime Of Use Power 6 [0x009F]
tou-battery-soc-1NumberR/WTime Of Use Battery SOC 1 [0x00A6]
tou-battery-soc-2NumberR/WTime Of Use Battery SOC 2 [0x00A7]
tou-battery-soc-3NumberR/WTime Of Use Battery SOC 3 [0x00A8]
tou-battery-soc-4NumberR/WTime Of Use Battery SOC 4 [0x00A9]
tou-battery-soc-5NumberR/WTime Of Use Battery SOC 5 [0x00AA]
tou-battery-soc-6NumberR/WTime Of Use Battery SOC 6 [0x00AB]
tou-charge-enable-1StringR/WTime Of Use Charge Enable 1 [0x00AC] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)
tou-charge-enable-2StringR/WTime Of Use Charge Enable 2 [0x00AD] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)
tou-charge-enable-3StringR/WTime Of Use Charge Enable 3 [0x00AE] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)
tou-charge-enable-4StringR/WTime Of Use Charge Enable 4 [0x00AF] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)
tou-charge-enable-5StringR/WTime Of Use Charge Enable 5 [0x00B0] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)
tou-charge-enable-6StringR/WTime Of Use Charge Enable 6 [0x00B1] (one of Charge disabled, Grid charge, Generator charge or Grid charge + Generator charge)

deye_2mppt channels ​

The deye_2mppt definition provides the following read-only channels. For example, use inverter-total-ac-output-power--active- for AC output power; grid-total-grid-power is available only with inverter types whose definitions include it.

ChannelTypeDescription
solar-pv1-voltageNumberPV1 Voltage
solar-pv2-voltageNumberPV2 Voltage
solar-pv1-currentNumberPV1 Current
solar-pv2-currentNumberPV2 Current
solar-daily-productionNumberDaily Production
solar-daily-production-1NumberDaily Production 1
solar-daily-production-2NumberDaily Production 2
solar-total-productionNumberTotal Production
solar-total-production-1NumberTotal Production 1
solar-total-production-2NumberTotal Production 2
solar-active-power-regulationsNumberActive Power Regulations
grid-ac-voltageNumberAC Voltage
grid-grid-currentNumberGrid Current
grid-ac-output-frequencyNumberAC Output Frequency
grid-grid-voltage-upp-limitNumberGrid Voltage Upp Limit
grid-grid-voltage-lower-limitNumberGrid Voltage Lower Limit
grid-grid-frequency-upper-limitNumberGrid Frequency Upper Limit
grid-grid-frequency-lower-limitNumberGrid Frequency Lower Limit
grid-overfrequency-and-load-reduction-starting-pointNumberOverfrequency And Load Reduction Starting Point
grid-overfrequency-and-load-reduction-percentageNumberOverfrequency And Load Reduction Percentage
grid-on-off-enableStringON-OFF Enable
grid-island-protection-enableStringIsland Protection Enable
grid-overfrequency-load-shedding-enableStringOverfrequency&Load-shedding Enable
inverter-running-statusStringRunning Status
inverter-total-ac-output-power--active-NumberTotal AC Output Power (Active)
inverter-radiator-temperatureNumberRadiator Temperature
inverter-inverter-idStringInverter ID
inverter-hardware-versionStringHardware Version
inverter-dc-master-firmware-versionStringDC Master Firmware Version
inverter-ac-version--numberStringAC Version. Number
inverter-rated-powerNumberRated Power
inverter-communication-protocol-versionStringCommunication Protocol Version
inverter-start-up-self-checking-timeNumberStart-up Self-checking Time
inverter-update-timeStringUpdate Time
inverter-soft-start-enableStringSoft Start Enable
inverter-power-factor-regulationNumberPower Factor Regulation
inverter-restore-factory-settingsStringRestore Factory Settings

Writable Channels ​

If you want to write to registers of the inverter, you need to define your channels as writable, because by default channels are treated as read-only. For example, deye_sg04lp3 and deye_sg01hp3 have a full set of writable channels connected to the Time Of Use functionality, but if you want to add custom writable channels you need to define them like this:

dsl
Thing solarman:logger:local [ hostname="x.x.x.x", inverterType="deye_sg04lp3", serialNumber="1234567890", additionalRequests="0x03:0x00A6-0x00A8" ] {
        Channels:
            Type number : tou-battery-soc-1 [scale="1", uom="%", rule="1", registers="0x00A6", readOnly="false"]
}

Note the readOnly="false" part here, which will make the channel accept commands and write data to the inverter register.

Full Example ​

This is an example for a DEYE 12kW (SUN-12K-SG04LP3-EU) hybrid inverter

solarman.things ​

Please replace the hostname and serialNumber with the correct values for your logger.

dsl
Thing solarman:logger:local [hostname="x.x.x.x",inverterType="deye_sg04lp3",serialNumber="1234567890"]

solarman.items ​

Items file example for a SUN-12K-SG04LP3-EU inverter

dsl
Number:Temperature        AC_Temperature                  "AC Temperature [%.1f °C]"             (solarman)  {channel="solarman:logger:local:inverter-ac-temperature", unit="°C"}
Number                    Alert                           "Alert [%s]"                           (solarman)  {channel="solarman:logger:local:alert-alert"}
Number:ElectricPotential  Battery_Absorption_V            "Battery Absorption V [%.2f V]"        (solarman)  {channel="solarman:logger:local:battery-battery-absorption-v", unit="V"}
Number:ElectricCharge     Battery_Capacity                "Battery Capacity [%d Ah]"             (solarman)  {channel="solarman:logger:local:battery-battery-capacity", unit="Ah"}
Number:ElectricCurrent    Battery_Current                 "Battery Current [%.1f A]"             (solarman)  {channel="solarman:logger:local:battery-battery-current", unit="A"}
Number:Energy             Daily_Battery_Charge            "Daily Battery Charge [%.1f kWh]"      (solarman)  {channel="solarman:logger:local:battery-daily-battery-charge", unit="kWh"}
Number:Energy             Daily_Battery_Discharge         "Daily Battery Discharge [%.1f kWh]"   (solarman)  {channel="solarman:logger:local:battery-daily-battery-discharge", unit="kWh"}
Number:ElectricPotential  Battery_Empty_V                 "Battery Empty V [%.2f V]"             (solarman)  {channel="solarman:logger:local:battery-battery-empty-v", unit="V"}
Number:ElectricPotential  Battery_Equalization_V          "Battery Equalization V [%.2f V]"      (solarman)  {channel="solarman:logger:local:battery-battery-equalization-v", unit="V"}
Number:ElectricPotential  Battery_Float_V                 "Battery Float V [%.2f V]"             (solarman)  {channel="solarman:logger:local:battery-battery-float-v", unit="V"}
Number:ElectricCurrent    Battery_Max_A_Charge            "Battery Max A Charge [%d A]"          (solarman)  {channel="solarman:logger:local:battery-battery-max-a-charge", unit="A"}
Number:ElectricCurrent    Battery_Max_A_Discharge         "Battery Max A Discharge [%d A]"       (solarman)  {channel="solarman:logger:local:battery-battery-max-a-discharge", unit="A"}
Number:Dimensionless      Battery_SOC                     "Battery SOC [%d %%]"                  (solarman)  {channel="solarman:logger:local:battery-battery-soc", unit="%"}
Number:Power              Battery_Power                   "Battery Power [%d W]"                 (solarman)  {channel="solarman:logger:local:battery-battery-power", unit="W"}
Number:Temperature        Battery_Temperature             "Battery Temperature [%.1f °C]"        (solarman)  {channel="solarman:logger:local:battery-battery-temperature", unit="°C"}
Number:ElectricPotential  Battery_Voltage                 "Battery Voltage [%.2f V]"             (solarman)  {channel="solarman:logger:local:battery-battery-voltage", unit="V"}
Number:Dimensionless      Communication_Board_Version_No  "Communication Board Version No [%s]"  (solarman)  {channel="solarman:logger:local:inverter-communication-board-version-no-"}
Number:Dimensionless      Control_Board_Version_No        "Control Board Version No [%s]"        (solarman)  {channel="solarman:logger:local:inverter-control-board-version-no-"}
Number:ElectricCurrent    Current_L1                      "Current L1 [%.1f A]"                  (solarman)  {channel="solarman:logger:local:inverter-current-l1", unit="A"}
Number:ElectricCurrent    Current_L2                      "Current L2 [%.1f A]"                  (solarman)  {channel="solarman:logger:local:inverter-current-l2", unit="A"}
Number:ElectricCurrent    Current_L3                      "Current L3 [%.1f A]"                  (solarman)  {channel="solarman:logger:local:inverter-current-l3", unit="A"}
Number:Energy             Daily_Energy_Bought             "Daily Energy Bought [%d kWh]"         (solarman)  {channel="solarman:logger:local:grid-daily-energy-bought", unit="kWh"}
Number:Energy             Daily_Energy_Sold               "Daily Energy Sold [%d Wh]"            (solarman)  {channel="solarman:logger:local:grid-daily-energy-sold", unit="Wh"}
Number:Energy             Daily_Load_Consumption          "Daily Load Consumption [%.1f kWh]"    (solarman)  {channel="solarman:logger:local:upload-daily-load-consumption", unit="kWh"}
Number:Energy             Daily_Production                "Daily Production [%.1f kWh]"          (solarman)  {channel="solarman:logger:local:solar-daily-production", unit="kWh"}
Number:Temperature        DC_Temperature                  "DC Temperature [%.1f °C]"             (solarman)  {channel="solarman:logger:local:inverter-dc-temperature", unit="°C"}
Number:Power              External_CT_L1_Power            "External CT L1 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-external-ct-l1-power", unit="W"}
Number:Power              External_CT_L2_Power            "External CT L2 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-external-ct-l2-power", unit="W"}
Number:Power              External_CT_L3_Power            "External CT L3 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-external-ct-l3-power", unit="W"}
Number:Power              Gen_Port_A_Phase_Power          "Phase Power of Gen Port A [%d W]"     (solarman)  {channel="solarman:logger:local:smartload-phase-power-of-gen-port-a", unit="W"}
Number:Power              Gen_Port_B_Phase_Power          "Phase Power of Gen Port B [%d W]"     (solarman)  {channel="solarman:logger:local:smartload-phase-power-of-gen-port-b", unit="W"}
Number:Power              Gen_Port_C_Phase_Power          "Phase Power of Gen Port C [%d W]"     (solarman)  {channel="solarman:logger:local:smartload-phase-power-of-gen-port-c", unit="W"}
Number:ElectricPotential  Gen_Port_A_Phase_Voltage        "Phase Voltage of Gen Port A [%d V]"   (solarman)  {channel="solarman:logger:local:smartload-phase-voltage-of-gen-port-a", unit="V"}
Number:ElectricPotential  Gen_Port_B_Phase_Voltage        "Phase Voltage of Gen Port B [%d V]"   (solarman)  {channel="solarman:logger:local:smartload-phase-voltage-of-gen-port-b", unit="V"}
Number:ElectricPotential  Gen_Port_C_Phase_Voltage        "Phase Voltage of Gen Port C [%d V]"   (solarman)  {channel="solarman:logger:local:smartload-phase-voltage-of-gen-port-c", unit="V"}
String                    Inverter_Id                     "Inverter Id [%s]"                     (solarman)  {channel="solarman:logger:local:inverter-inverter-id"}
Number:Power              Inverter_L1_Power               "Inverter L1 Power [%d W]"             (solarman)  {channel="solarman:logger:local:inverter-inverter-l1-power", unit="W"}
Number:Power              Inverter_L2_Power               "Inverter L2 Power [%d W]"             (solarman)  {channel="solarman:logger:local:inverter-inverter-l2-power", unit="W"}
Number:Power              Inverter_L3_Power               "Inverter L3 Power [%d W]"             (solarman)  {channel="solarman:logger:local:inverter-inverter-l3-power", unit="W"}
Number:Power              Internal_CT_L1_Power            "Internal CT L1 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-internal-ct-l1-power", unit="W"}
Number:Power              Internal_CT_L2_Power            "Internal CT L2 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-internal-ct-l2-power", unit="W"}
Number:Power              Internal_CT_L3_Power            "Internal CT L3 Power [%d W]"          (solarman)  {channel="solarman:logger:local:grid-internal-ct-l3-power", unit="W"}
Number:ElectricPotential  Load_Voltage_L1                 "Load Voltage L1 [%d V]"               (solarman)  {channel="solarman:logger:local:upload-load-voltage-l1", unit="V"}
Number:ElectricPotential  Load_Voltage_L2                 "Load Voltage L2 [%d V]"               (solarman)  {channel="solarman:logger:local:upload-load-voltage-l2", unit="V"}
Number:ElectricPotential  Load_Voltage_L3                 "Load Voltage L3 [%d V]"               (solarman)  {channel="solarman:logger:local:upload-load-voltage-l3", unit="V"}
Number:Power              Load_L1_Power                   "Load L1 Power [%d W]"                 (solarman)  {channel="solarman:logger:local:upload-load-l1-power", unit="W"}
Number:Power              Load_L2_Power                   "Load L2 Power [%d W]"                 (solarman)  {channel="solarman:logger:local:upload-load-l2-power", unit="W"}
Number:Power              Load_L3_Power                   "Load L3 Power [%d W]"                 (solarman)  {channel="solarman:logger:local:upload-load-l3-power", unit="W"}
Number:ElectricPotential  Grid_Voltage_L1                 "Grid Voltage L1 [%d V]"               (solarman)  {channel="solarman:logger:local:grid-grid-voltage-l1", unit="V"}
Number:ElectricPotential  Grid_Voltage_L2                 "Grid Voltage L2 [%d V]"               (solarman)  {channel="solarman:logger:local:grid-grid-voltage-l2", unit="V"}
Number:ElectricPotential  Grid_Voltage_L3                 "Grid Voltage L3 [%d V]"               (solarman)  {channel="solarman:logger:local:grid-grid-voltage-l3", unit="V"}
Number:Energy             Generator_Daily_Power_Generation "Generator Daily Power Generation [%.1f kWh]" (solarman) {channel="solarman:logger:local:smartload-generator-daily-power-generation", unit="kWh"}
Number:Energy             Generator_Total_Power_Generation "Generator Total Power Generation [%.1f kWh]" (solarman) {channel="solarman:logger:local:smartload-generator-total-power-generation", unit="kWh"}
Number:Dimensionless      Smartload_Enable_Status         "Smartload Enable Status [%d]"         (solarman)  {channel="solarman:logger:local:smartload-smartload-enable-status"}
Number:Energy             Total_Battery_Charge            "Total Battery Charge [%d kWh]"        (solarman)  {channel="solarman:logger:local:battery-total-battery-charge", unit="kWh"}
Number:Energy             Total_Battery_Discharge         "Total Battery Discharge [%d kWh]"     (solarman)  {channel="solarman:logger:local:battery-total-battery-discharge", unit="kWh"}
Number:Energy             Total_Energy_Bought             "Total Energy Bought [%d kWh]"         (solarman)  {channel="solarman:logger:local:grid-total-energy-bought", unit="kWh"}
Number:Energy             Total_Energy_Sold               "Total Energy Sold [%d kWh]"           (solarman)  {channel="solarman:logger:local:grid-total-energy-sold", unit="kWh"}
Number:Power              Total_Gen_Port_Power            "Total Power of Gen Port [%d W]"       (solarman)  {channel="solarman:logger:local:smartload-total-power-of-gen-port", unit="W"}
Number:Power              Total_Grid_Power                "Total Instant Grid Power [%d W]"      (solarman)  {channel="solarman:logger:local:grid-total-grid-power", unit="W"}
Number:Energy             Total_Grid_Production           "Total Grid Feed-in [%.1f kWh]"        (solarman)  {channel="solarman:logger:local:grid-total-grid-production", unit="kWh"}
Number:Energy             Total_Load_Consumption          "Total Load Consumption [%d kWh]"      (solarman)  {channel="solarman:logger:local:upload-total-load-consumption", unit="kWh"}
Number:Power              Total_Load_Power                "Total Load Power [%d W]"              (solarman)  {channel="solarman:logger:local:upload-total-load-power", unit="W"}
Number:Energy             Total_Solar_Production          "Total Solar Production [%.1f kWh]"    (solarman)  {channel="solarman:logger:local:solar-total-production", unit="kWh"}
Number:Power              PV1_Power                       "PV1 Power [%d W]"                     (solarman)  {channel="solarman:logger:local:solar-pv1-power", unit="W"}
Number:ElectricCurrent    PV1_Current                     "PV1 Current [%.1f A]"                 (solarman)  {channel="solarman:logger:local:solar-pv1-current", unit="A"}
Number:ElectricPotential  PV1_Voltage                     "PV1 Voltage [%d V]"                   (solarman)  {channel="solarman:logger:local:solar-pv1-voltage", unit="V"}
Number:Power              PV2_Power                       "PV2 Power [%d W]"                     (solarman)  {channel="solarman:logger:local:solar-pv2-power", unit="W"}
Number:ElectricCurrent    PV2_Current                     "PV2 Current [%.1f A]"                 (solarman)  {channel="solarman:logger:local:solar-pv2-current", unit="A"}
Number:ElectricPotential  PV2_Voltage                     "PV2 Voltage [%d V]"                   (solarman)  {channel="solarman:logger:local:solar-pv2-voltage", unit="V"}

String                    ToU_1_Time                      "ToU 1 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-1", unit=""}
Number:Dimensionless      ToU_1_Battery_SOC               "ToU 1 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-1", unit="%"}
Number:Power              ToU_1_Power                     "ToU 1 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-1", unit="W"}
String                    ToU_1_Chare_Enable              "ToU 1 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-1", unit=""}
String                    ToU_2_Time                      "ToU 2 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-2", unit=""}
Number:Dimensionless      ToU_2_Battery_SOC               "ToU 2 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-2", unit="%"}
Number:Power              ToU_2_Power                     "ToU 2 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-2", unit="W"}
String                    ToU_2_Chare_Enable              "ToU 2 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-2", unit=""}
String                    ToU_3_Time                      "ToU 3 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-3", unit=""}
Number:Dimensionless      ToU_3_Battery_SOC               "ToU 3 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-3", unit="%"}
Number:Power              ToU_3_Power                     "ToU 3 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-3", unit="W"}
String                    ToU_3_Chare_Enable              "ToU 3 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-3", unit=""}
String                    ToU_4_Time                      "ToU 4 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-4", unit=""}
Number:Dimensionless      ToU_4_Battery_SOC               "ToU 4 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-4", unit="%"}
Number:Power              ToU_4_Power                     "ToU 4 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-4", unit="W"}
String                    ToU_4_Chare_Enable              "ToU 4 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-4", unit=""}
String                    ToU_5_Time                      "ToU 5 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-5", unit=""}
Number:Dimensionless      ToU_5_Battery_SOC               "ToU 5 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-5", unit="%"}
Number:Power              ToU_5_Power                     "ToU 5 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-5", unit="W"}
String                    ToU_5_Chare_Enable              "ToU 5 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-5", unit=""}
String                    ToU_6_Time                      "ToU 6 Time [%s]"                      (solarman)  {channel="solarman:logger:local:time-of-use-tou-time-6", unit=""}
Number:Dimensionless      ToU_6_Battery_SOC               "ToU 6 Battery SOC [%d %%]"            (solarman)  {channel="solarman:logger:local:time-of-use-tou-battery-soc-6", unit="%"}
Number:Power              ToU_6_Power                     "ToU 6 Power [%d W]"                   (solarman)  {channel="solarman:logger:local:time-of-use-tou-power-6", unit="W"}
String                    ToU_6_Chare_Enable              "ToU 6 Charge Enable [%s]"             (solarman)  {channel="solarman:logger:local:time-of-use-tou-charge-enable-6", unit=""}

Number:Frequency          Inverter_Frequency              "Inverter Frequency [%.2f Hz]"         (solarman)  {channel="solarman:logger:local:inverter-frequency", unit="Hz"}

solarman.sitemap ​

Sitemap example for a SUN-12K-SG04LP3-EU inverter

dsl
sitemap solarman label="Solarman"
{
    Frame label="Inverter"{
        Text item=Communication_Board_Version_No icon="solar"
        Text item=Control_Board_Version_No icon="solar"
        Text item=Inverter_Id icon="solar"
        Text item=AC_Temperature icon="temperature"
        Text item=DC_Temperature icon="temperature"
        Text item=Inverter_L1_Power icon="poweroutlet"
        Text item=Inverter_L2_Power icon="poweroutlet"
        Text item=Inverter_L3_Power icon="poweroutlet"
        Text item=Current_L1 icon="line"
        Text item=Current_L2 icon="line"
        Text item=Current_L3 icon="line"
        Text item=Inverter_Frequency icon="line"
    }

    Frame label="Battery"{
        Text item=Battery_SOC icon="battery"
        Text item=Battery_Current icon="current"
        Text item=Battery_Power icon="power"
        Text item=Battery_Voltage icon="voltage"
        Text item=Battery_Temperature icon="temperature"
        Text item=Daily_Battery_Charge icon="renewable"
        Text item=Daily_Battery_Discharge icon="battery"
        Text item=Total_Battery_Charge icon="renewable"
        Text item=Total_Battery_Discharge icon="battery"
        Text item=Battery_Absorption_V icon="voltage"
        Text item=Battery_Equalization_V icon="voltage"
        Text item=Battery_Float_V icon="voltage"
        Text item=Battery_Empty_V icon="voltage"
        Text item=Battery_Capacity icon="battery"
        Text item=Battery_Max_A_Charge icon="battery"
        Text item=Battery_Max_A_Discharge icon="battery"
    }

    Frame label="Solar"{
        Text item=Total_Solar_Production icon="solar"
        Text item=Daily_Production icon="solar"
        Text item=PV1_Current icon="solar"
        Text item=PV1_Power icon="solar"
        Text item=PV1_Voltage icon="solar"
        Text item=PV2_Current icon="solar"
        Text item=PV2_Power icon="solar"
        Text item=PV2_Voltage icon="solar"
    }

    Frame label="Grid"{
        Text item=Total_Grid_Production icon="power"
        Text item=Total_Grid_Power icon="power"
        Text item=External_CT_L1_Power icon="power"
        Text item=External_CT_L2_Power icon="power"
        Text item=External_CT_L3_Power icon="power"
        Text item=Internal_CT_L1_Power icon="power"
        Text item=Internal_CT_L2_Power icon="power"
        Text item=Internal_CT_L3_Power icon="power"
        Text item=Grid_Voltage_L1 icon="power"
        Text item=Grid_Voltage_L2 icon="power"
        Text item=Grid_Voltage_L3 icon="power"
        Text item=Daily_Energy_Sold icon="power"
        Text item=Total_Energy_Sold icon="power"
        Text item=Daily_Energy_Bought icon="power"
        Text item=Total_Energy_Bought icon="power"
    }

    Frame label="Load"{
        Text item=Daily_Load_Consumption icon="power"
        Text item=Total_Load_Consumption icon="power"
        Text item=Load_L1_Power icon="power"
        Text item=Load_L2_Power icon="power"
        Text item=Load_L3_Power icon="power"
        Text item=Load_Voltage_L1 icon="power"
        Text item=Load_Voltage_L2 icon="power"
        Text item=Load_Voltage_L3 icon="power"
        Text item=Total_Load_Power icon="power"
    }

    Frame label="Generator"{
        Text item=Gen_Port_A_Phase_Power icon="poweroutlet"
        Text item=Gen_Port_B_Phase_Power icon="poweroutlet"
        Text item=Gen_Port_C_Phase_Power icon="poweroutlet"
        Text item=Gen_Port_A_Phase_Voltage icon="voltage"
        Text item=Gen_Port_B_Phase_Voltage icon="voltage"
        Text item=Gen_Port_C_Phase_Voltage icon="voltage"
        Text item=Total_Gen_Port_Power icon="power"
        Text item=Generator_Daily_Power_Generation icon="power"
        Text item=Generator_Total_Power_Generation icon="power"
    }

    Frame label="Alert"{
        Text item=Alert icon="alert"
    }
}

Acknowledgments ​

The code's creation draws significant inspiration from Stephan Joubert's Home Assistant plugin, which provides the inverter definitions used in the project. Additionally, the pysolarmanv5 module was a valuable resource, as it offers an excellent explanation of the Solarman V5 protocol.