weishaupt-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Node-Weishaupt-API

NPM version Downloads Build Status

A node module for the local Weishaupt WCM-COM 1.0 home API entirely written in TypeScript.

Disclaimer

The developers of this module are in no way endorsed by or affiliated with Weishaupt GmbH, or any associated subsidiaries, logos or trademarks.

Installation

npm install weisshaupt-api --production

Example

import { Weishaupt } from 'weishaupt-api';

const api = new Weishaupt({ url: 'http://192.168.144.162' });

(async () => {
    const res = await api.getHomeParameters();
    console.log(res);

    console.log('----------------------');

    const res2 = await api.getWTCGProcessParameters();
    console.log(res2);

    console.log('----------------------');

    const res3 = await api.getWCMSOLProcessParameters();
    console.log(res3);
})();

Changelog

0.1.2 (2022-09-18)

  • (foxriver76) fixed some types

0.1.0 (2022-09-18)

  • (foxriver76) throw meaningful error if server is busy

0.0.2

  • (foxriver76) added units for the values

0.0.1

  • (foxriver76) initial release

Readme

Keywords

Package Sidebar

Install

npm i weishaupt-api

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

26 kB

Total Files

12

Last publish

Collaborators

  • foxriver76