Photovoltaics
Endpoint group client.photovoltaics (PhotovoltaicsEndpoints).
API Endpoints to retrieve the photovoltaics data.
Example
client = KebaKeEnergyAPI(
host="ap4400.local",
username="test",
password="test",
ssl=True,
skip_ssl_verification=True
)
await client.photovoltaics.get_excess_power()
get_excess_energy_active
async def get_excess_energy_active(*, human_readable: bool = True) -> int | str
Get the excess energy active.
Parameters
- human_readable
bool(default:True): Return a human-readable string
Returns
int | str: (0) OFF / (1) ON
get_excess_power
async def get_excess_power() -> float
Get excess power.
Returns
float: Excess power in W
get_daily_energy
async def get_daily_energy() -> float
Get daily energy.
Returns
float: Daily energy in J
get_total_energy
async def get_total_energy() -> float
Get total energy.
Returns
float: Total energy in J

