Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trickfilm400/ups-apc-ap9630
- Owner: Trickfilm400
- License: mit
- Created: 2023-10-11T04:23:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-13T04:12:08.000Z (5 months ago)
- Last Synced: 2024-09-18T23:38:35.707Z (about 2 months ago)
- Topics: 2, ap9630, apc, api, card, maangementcard2, management, node, nodejs, ups
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@trickfilm400/ups-apc-ap9630
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
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