0.1.0 • Published 7 months ago

@trickfilm400/senec-ies v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

0.1.0

7 months ago