Sonnen binding
The binding for sonnen communicates with a sonnen battery. More information about the sonnen battery can be found here: https://sonnen.de/
In general the sonne API can be also read with the standard http binding. However I decided to create this binding to make it easier for normal user to integrate it in their openhab instance.
The following channels are yet supported:
Channel | Type | Access | Description |
---|---|---|---|
batteryChargingState | Switch | read | Indicates if the Battery is charging at that moment |
batteryCharging | Number:Energy | read | Indicates the actual current charging the Battery. Otherwise 0. |
batteryDischargingState | Switch | read | Indicates if the Battery is discharging at that moment |
batteryDischarging | Number:Energy | read | Indicates the actual current discharging the Battery. Otherwise 0. |
batteryFeedIn | Number:Energy | read | Indicates the actual charging current of the Battery in watt |
batteryDischarging | Number:Energy | read | Indicates the actual current discharging the Battery in watt |
consumption | Number:Energy | read | Indicates the actual consumption of the consumer in watt |
gridFeedIn | Number:Energy | read | Indicates the actual current feeding to the Grid in watt.0 if nothing is feeded |
gridConsumption | Number:Energy | read | Indicates the actual current consumption from the Grid in watt.0 if nothing is received |
solarProduction | Number:Energy | read | Indicates the actual production of the Solar system in watt |
batteryLevel | Number | read | Indicates the actual Battery Level in % from 0 - 100 |
flowConsumptionBatteryState | Switch | read | Indicates if there is a current flow from Battery towards Consumption |
flowConsumptionGridState | Switch | read | Indicates if there is a current flow from Grid towards Consumption |
flowConsumptionProductionState | Switch | read | Indicates if there is a current flow from Solar Production towards Consumption |
flowGridBatteryState | Switch | read | Indicates if there is a current flow from Grid towards Battery |
flowProductionBatteryState | Switch | read | Indicates if there is a current flow from Production towards Battery |
energyImportedStateProduction | Number:Energy | read | Indicates the imported kWh Production |
energyExportedStateProduction | Number:Energy | read | Indicates the exported kWh Production |
energyImportedStateConsumption | Number:Energy | read | Indicates the imported kWh Consumption |
energyExportedStateConsumption | Number:Energy | read | Indicates the exported kWh Consumption |
Changelog
Version 0.1
- initial release
Version 0.2
- Refactoring code
- Adding new Channels batteryFeedIn, batteryDispense and gridReceive on user request. gridFeedIn shows now only positive values.
Version 1.0
- Refactoring code
- Changing Channel descriptions
- Same Code basis as merged to the next offical release of openhab
Version 1.1 (added 12.03.22) - Update of V1.1 on 07.04.23
- Added support for sonnen API V2
- Added two channels for PowerMeter
Resources
Latest Release JAR:
Latest JAR-File V1.1
Source Code is merged here (pull request created):
Github repository
Author
This binding was developed by @Christian_Feininger .