Skip to content

A nodejs module for connecting a buderus heater via km200 interface

License

Notifications You must be signed in to change notification settings

jenszech/km200-api

Repository files navigation

km200-api

NPM

Release npm version Downloads Issues License

A nodejs module for connecting a buderus heater via km200 interface

It is released as npm module under km200-api

Usage

Install

npm install km200-api

Basic Usage

AES key generator for the KM200 web gateway: https://km200.andreashahn.info

import { Km200 } from 'km200-api';

const key = '<INSERT YOUR KEY HERE>';
const km200 = new Km200('192.168.10.22', 80, key);

// Call a single Value from Buderus KM200
console.log('Get Km200 Firmware Verion ... ');
km200.getKM200('/gateway/versionFirmware').then((data) => {
  console.log('Km200 Firmware: ' + data.value);
});

// Print a single API with all provided sub calls
km200.printSingleApi('/gateway');

// Print all provided API calls
km200.printCompleteApi();

More Examples

More examples and details in exampe.ts

You can also check my own project for detailed usage example and inspiration https://github.com/jenszech/hm-node-runner

Dokumentation

Development and build pipeline

Release a new version

npm version major|minor|patch
npm publish

Further documentation

Step by step: Building and publishing an NPM Typescript package.
https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c

License

See the LICENSE file for license rights and limitations (MIT).

About

A nodejs module for connecting a buderus heater via km200 interface

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published