Read status information from evcc's API
pip3 install evcc
Download the archive from pypi.org and unpack where needed ;)
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