piko

Package for working with Piko Inverter from Kostal

Usage no npm install needed!

<script type="module">
  import piko from 'https://cdn.skypack.dev/piko';
</script>

README

Piko Inverter Build Status

A NodeJS package that makes it possible to fetch information from a Piko Inverter from Kostal.

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