Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tafkas/kostalpikopy

A package for working with a Piko Inverter from Kostal
https://github.com/tafkas/kostalpikopy

kostal piko-inverter python

Last synced: about 2 months ago
JSON representation

A package for working with a Piko Inverter from Kostal

Awesome Lists containing this project

README

        

# PikoPy
This package is for working with a Piko Inverter from [Kostal](http://www.kostal-solar-electric.com/)

[![Code Climate](https://codeclimate.com/github/Tafkas/KostalPikoPy/badges/gpa.svg)](https://codeclimate.com/github/Tafkas/KostalPikoPy)
[![PyPI version](https://badge.fury.io/py/pikopy.svg)](https://badge.fury.io/py/pikopy)

## Where has it been tested?
PikoPy has been tested with a Kostal Piko 5.5. It should work with other Kostal inverters as well since they provide the same interface.

## Requirements
* Python
* lxml
* httplib2
* httpretty (for testing)

## Installing
```bash
$ pip install pikopy
```

## Usage
import pikopy

#create a new piko instance
p = Piko('host', 'username', 'password')

#get current power
print p.get_current_power()

#get voltage from string 1
print p.get_string1_voltage()