UNPKG

piko

Version:

Package for working with Piko Inverter from Kostal

36 lines (27 loc) 769 B
Piko Inverter [![Build Status](https://travis-ci.org/Sitebase/piko.svg?branch=master)](https://travis-ci.org/Sitebase/piko) ============= A NodeJS package that makes it possible to fetch information from a [Piko](http://www.kostal-solar-electric.com/en-GB/Produkte%20u%20Service/PIKO%20Wechselrichter%20bewaehrt) Inverter from [Kostal](http://www.kostal-solar-electric.com/en-GB). Tested on --------- * Piko 5.5 Usage ----- var Piko = require('piko'); var pv = new Piko({ host: 'http://piko.lan', username: 'pvserver', password: 'pvwr' }); pv.fetch(function( result ) { console.log(result); }); Result will look like this object: { totalEnery: 15635, dayEnergy: 1, currentEnergy: 0, active: false } Unit test --------- npm test