Skip to content

Conversation

@mekrapp
Copy link
Contributor

@mekrapp mekrapp commented Dec 4, 2025

The Solakon One consists mainly of a 2.1 kWh battery, an inverter and four MPPTs for PV modules. It can be used as a stand alone "Steckersolargerät". Besides the generally needed modules vendor.py, config.py and device.py there are two component modules.
bat.py provides the AC power at the AC plug, the SoC of the battery and the daily DC charging und discharging energies of the battery.
inverter.py provides the total DC power of the PV modules/MPPTs und the daily DC PV production.
The relevant Modbus registers have been taken from
https://github.com/solakon-de/solakon-one-homeassistant-internal/blob/main/stuff/modbud-doc.pdf
The whole set of modules was tested on a Raspberry Pi 3 with a fresh raspbian bullseye lite, current OpenWB 2.1.9 installation and a Solakon One battery. The bat.py module provided correct live data. The inverter.py module was running without error but zero values due to not connected PV modules.
Configure the inverter component "below" the battery component.

@mekrapp
Copy link
Contributor Author

mekrapp commented Dec 4, 2025

PS: The WebUI still needs to be added for this device.

Copy link
Contributor

@LKuemmel LKuemmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke für Deinen PR.
UI habe ich erstellt: openWB/openwb-ui-settings#861

Comment on lines 36 to 39
# tägliche DC Ladung der Batterie in Wh
imported = self.client.read_holding_registers(39607, ModbusDataType.UINT_32, unit=unit) * 10
# tägliche DC Entladung der Batterie in Wh
exported = self.client.read_holding_registers(39611, ModbusDataType.UINT_32, unit=unit) * 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die openWB benötigt den Gesamtzählerstand. Gibt es da ein Register für?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ja, ich habe die Registernummern der drei Tageszähler in die der Gesamtzähler geändert

Comment on lines 31 to 32
# Gesamte DC PV Tagesproduktion in Wh
exported = self.client.read_holding_registers(39603, ModbusDataType.UINT_32, unit=unit) * 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

siehe oben

@mekrapp
Copy link
Contributor Author

mekrapp commented Dec 5, 2025

erledigt, Registernummern auf Gesamtzählerstände geändert.

@LKuemmel LKuemmel merged commit 6f5f546 into openWB:master Dec 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants