millheat-js
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Mill Open API Client for JavaScript

Javacript library to ease the use of the Mill Open API V2

Install

npm install millheat-js

Examples

import { Client } from "millheat-js";

let client = new Client({
  username: "",
  password: "",
});


let hl = await client.getHouses();
console.log("selectHomeList", hl);

let i1 = await client.getDevicesForHouse("YOUR-HOUSE-ID");
console.log("getDevicesForHouse",  JSON.stringify(i1,null,2));

let i2 = await client.getIndependentDevicesForHouse("YOUR-HOUSE-ID")
console.log("getIndependentDevicesForHouse", JSON.stringify(i2,null,2));

Readme

Keywords

Package Sidebar

Install

npm i millheat-js

Weekly Downloads

4

Version

0.2.1

License

MIT

Unpacked Size

32.7 kB

Total Files

16

Last publish

Collaborators

  • bbergshaven