Skip to content
/ pikojs Public

Nodejs package to retrieve PV data from Piko Kostal inverters.

Notifications You must be signed in to change notification settings

ptmvr/pikojs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Nodejs package to retrieve PV data from a Piko Kostal Inverter.

Installation

npm i pikojs

Usage

var pikojs = require('pikojs');

var urlData = {
    hostname: "http://fillinyourhostnamehere", // protocol + hostname(or LAN IP)
    port: " ", // external forwarded router port (or '80' if accessed on LAN)
    username: " ", // username for gui login, default is usually 'pvserv'
    password: " " // password for gui login, default is usually 'pvwr'
};

var piko = new pikojs(urlData);
var pvdata; // actual object with the PV data

piko.getData() // getData returns a Promise
    .then(result => pvdata = result);  // store Data to an object for later use

// simulate delay to avoid 'pvdata === undefined' for illustration 
setTimeout(() => console.log(pvdata), 4000);

Tested on

  • Piko 10.1

About

Nodejs package to retrieve PV data from Piko Kostal inverters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published