Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trickfilm400/ups-apc-ap9630

NodeJS API for the APC UPS AP9630 Management Network Card 2
https://github.com/trickfilm400/ups-apc-ap9630

2 ap9630 apc api card maangementcard2 management node nodejs ups

Last synced: 2 days ago
JSON representation

NodeJS API for the APC UPS AP9630 Management Network Card 2

Awesome Lists containing this project

README

        

# 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

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

const client = new UPS_APC_API("", "");

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

© 2023-2024 Trickfilm400