@trickfilm400/senec-ies
v0.1.1
Published
This NPM package provides a full nodejs-api for senec.ies devices to fetch the data.
Downloads
1
Readme
senec-ies
This NPM package provides a full nodejs-api for senec.ies devices to fetch the data.
Usage
- Install NPM package from GitHub.
- Function return a Promise
Example
import SenecIES from "@trickfilm400/senec-ies";
const client = new SenecIES("<IP / Host of device");
client.handleSenec().then((res) => {
console.log(res);
/*
* {
responseSchema: EnergyValues;
validPacket: boolean;
}
*
*
*/
}).catch(console.error);
© 2022 Trickfilm400