Skip to main content

zeversolarlocal

Project description

Code style: black PyPI codecov

zeversolarlocal

Access solar energy data from your local Zeversolar inverter.

installation

pip install zeversolarlocal

usage

import asyncio
import zeversolarlocal

loop = asyncio.get_event_loop()

def get():

    address = "192.168.1.12"  # ip address of your zeversolar inverter.
    url = zeversolarlocal.default_url(address)
    
    solar_data = loop.run_until_complete(zeversolarlocal.solardata(url))

    print(solar_data)

CLI

from the commandline use:

python -m zeversolarlocal 192.168.1.12

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeversolarlocal-0.0.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

zeversolarlocal-0.0.3-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page