1.1.3 • Published 6 months ago

@trickfilm400/ups-apc-ap9630 v1.1.3

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

UPS APC AP9630 NodeJS API

This NPM package provides a full nodejs-api for the APC AP9630 UPS Management Card 2 device to fetch data of the device.

Usage

  • Install NPM package from GitHub / NPM.
  • Function return a Promise

Example

import UPS_APC_API from "@trickfilm400/ups-apc-ap9630";

const client = new UPS_APC_API("<IP / Host of device", "<username>", "<password>");

client.getData().then((res) => {
    console.log(res);
    /*
     * {
            loadInAmpere: number,
            voltage: number,
            loadInWatt: number,
            temperature: number,
        }
     *
     *
     */
}).catch(console.error);

© 2023-2024 Trickfilm400

1.1.3

6 months ago

1.1.2

10 months ago

1.1.1

12 months ago

1.0.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago