Library for connecting to a Zeversolar inverter over local network. Retrieves the inverter data.
Only tested on a Zeversolar 2000.
- Install this package
pip install zever_local
- Connect to your inverter using its IP address (192.168.5.101, e.g.) and fetch the data
from zever_local.inverter import (
Inverter,
InverterData,
ZeversolarError,
ZeversolarTimeout,
)
async def async_get_data():
ip_address = "192.168.5.101"
my_inverter = Inverter(url)
my_inverter_data = await my_inverter.async_get_data()
energy_today_KWh = my_inverter_data.energy_today_KWh