# NodePlugwiseAPI

> API to interface with Plugwise hardware

Latest version **1.0.0** (published 2016-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install NodePlugwiseAPI
pnpm add NodePlugwiseAPI
yarn add NodePlugwiseAPI
bun add NodePlugwiseAPI
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-10-18 |
| First published | 2016-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Alcock |
| Maintainers | coximus |

## Links

- npm: https://www.npmjs.com/package/NodePlugwiseAPI
- Repository: https://github.com/Coximus/NodePlugwiseAPI
- Issues: https://github.com/Coximus/NodePlugwiseAPI/issues
- npm.io page: https://npm.io/package/NodePlugwiseAPI

## Dependencies (2)

- [express](https://npm.io/package/express.md) ~4.14.0
- [NodePlugwise](https://npm.io/package/NodePlugwise.md) ~1.0.5

## Recent versions

- 1.0.0 (latest) — 2016-10-18

## README

# NodePlugwiseAPI

A service which exposees a REST API to allow communication with Plugwise Equipment

## Installation

via [npm (node package manager)](http://github.com/isaacs/npm)

    $ npm install NodePlugwiseAPI

## Usage

    node index path-to-your-usb-port
    e.g.
    node index /dev/ttyUSB0

This will listen on port 3000.

To switch a plug on, make a GET request to:
/switch/plug-address/1
e.g. http://localhost:3000/switch/000D5F0000123456/1

To switch a plug off, make a GET request to:
/switch/plug-address/0
e.g. http://localhost:3000/switch/000D5F0000123456/0

---
_Source: https://npm.io/package/NodePlugwiseAPI · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
