Skip to main content

package to communicate with Kostal Piko invertes

Project description

pykostal - a python based kostal bridge

PyPI version PyPI - Python Version PyPI - Status

Python module for Kostal piko inverters supporting:

  • current-values
    • analog-inputs
    • battery
    • grid
    • home
    • pv-generator
    • s0-in
  • home
  • info.versions
  • statistics
    • day
    • log-data
    • total

not supported:

  • all settings
  • events

ongoing:

  • response code mapping (e.g. status code)

Installation

Run the following to install:

pip install pykostal

Usage

import kostal

# create instance
inverter = kostal.Piko(aiohttp.ClientSession(), url)

Developing pykostal

Initially run the following in your virtualenv:

python setup.py bdist_wheel

Everytime you update setup.py, run the following in your virtualenv:

pip install -e .

To install pykostal, along with the tools you need to develop and run tests, run the following in your virtualenv:

pip install -e .[dev]

publishing

python setup.py bdist_wheel sdist
twine upload dist/*

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

pykostal-0.0.2.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

pykostal-0.0.2-py3-none-any.whl (10.3 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