Metadata-Version: 2.1
Name: zever-local
Version: 1.0.3
Summary: Connect locally to a Zeversolar inverter.
Home-page: https://github.com/NECH2004/zever_local
Author: NECH
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/NECH2004/zever_local/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Zeversolar local

[![GitHub Release][releases-shield]][releases]
[![License][license-shield]](LICENSE)

[![GitHub Activity][commits-shield_y]][commits]
[![GitHub Activity][commits-shield_m]][commits]
[![GitHub Activity][commits-shield_w]][commits]

[![PyPi][pypi-shield]][pypi-address]
[![Python Versions][pypi-version-shield]][github-address]
[![Validate][validate-shield]][validation]
[![Build Status][pypi-publish-shield]][pypi-publish]


Library for connecting to a Zeversolar inverter over local network. Retrieves the inverter data.

Only tested on a Zeversolar 2000.
## Usage

1. Install this package `pip install zever_local`
2. Connect to your inverter using its IP address (192.168.5.101, e.g.) and fetch the data

```python
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

```
[releases-shield]: https://img.shields.io/github/v/release/NECH2004/zever_local?style=for-the-badge
[releases]: https://github.com/NECH2004/zever_local/releases

[commits-shield_y]: https://img.shields.io/github/commit-activity/y/NECH2004/zever_local?style=for-the-badge
[commits-shield_m]: https://img.shields.io/github/commit-activity/m/NECH2004/zever_local?style=for-the-badge
[commits-shield_w]: https://img.shields.io/github/commit-activity/w/NECH2004/zever_local?style=for-the-badge
[commits]: https://github.com/NECH2004/zever_local/commits/dev

[validate-shield]: https://github.com/NECH2004/zever_local/actions/workflows/verify.yml/badge.svg
[validation]: https://github.com/NECH2004/zever_local/actions/workflows/verify.yml

[license-shield]:https://img.shields.io/github/license/nech2004/zever_local?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-Christian%20Neumeier%20%40NECH2004?style=for-the-badge

[pypi-shield]: https://img.shields.io/pypi/v/zever_local.svg
[pypi-address]: https://pypi.python.org/pypi/zever_local/
[pypi-version-shield]: https://img.shields.io/pypi/pyversions/zever_local.svg
[pypi-publish-shield]: https://github.com/NECH2004/zever_local/actions/workflows/python-publish.yml/badge.svg
[pypi-publish]: https://github.com/NECH2004/zever_local/actions/workflows/publish.yaml

[github-address]: https://github.com/NECH2004/zever_local/



