/python_evcc

Access evcc API from python

Primary LanguagePythonMIT LicenseMIT

SonnenCharger

Purpose

Read status information from evcc's API

Installation

Using pip

pip3 install evcc

Manual installation

Download the archive from pypi.org and unpack where needed ;)

Usage

from evcc import evcc

evcc_host = '192.168.1.2'
evcc_port = 502  # optional, default=502

# Init class, establish connection
evcc_info = evcc(sc_host, sc_port)

print(evcc.get_state())	    # retrieve general wallbox information

Results (examples)