# @4lch4/busylight

> My personal library for interacting with my Kuando Busylight.

Latest version **1.3.1** (published 2023-05-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @4lch4/busylight
pnpm add @4lch4/busylight
yarn add @4lch4/busylight
bun add @4lch4/busylight
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2023-05-28 |
| First published | 2023-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 81.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | 4lch4 |
| Maintainers | alcha, 4lch4-ci |
| Keywords | 4lch4 |

## Links

- npm: https://www.npmjs.com/package/@4lch4/busylight
- Repository: https://github.com/4lch4/Busylight
- Issues: https://github.com/4lch4/Busylight/issues
- npm.io page: https://npm.io/package/@4lch4/busylight

## Dependencies (4)

- [zod](https://npm.io/package/zod.md) ^3.21.4
- [axios](https://npm.io/package/axios.md) ^1.4.0
- [@4lch4/logger](https://npm.io/package/@4lch4/logger.md) ^1.11.0
- [color-convert](https://npm.io/package/color-convert.md) ^2.0.1

## Recent versions

- 1.3.1 (latest) — 2023-05-28
- 1.3.0 — 2023-05-28
- 1.2.0 — 2023-05-26
- 1.1.0 — 2023-05-26
- 1.0.0 — 2023-05-26
- 0.1.0 — 2023-05-26

## README

# @4lch4/busylight

This is a simple library to control a Busylight device from [Plenom][0], using their HTTP app.

## Requirements

In order for this to work, you have to have the official Busylight HTTP app installed and running on your computer. Here are the two ways I'm aware of to get it:

1. From [the Development Tools section of the download software page][2]. You have to request it though.
2. From the same download software page linked just above, but under the Premium Software you want to download the one for Twilio. The zip provided will include the HTTP app.

## Usage

```typescript
import { Busylight } from '@4lch4/busylight'

const busylight = new Busylight()

await busylight.on('green')

await busylight.alert({ color: 'red', sound: 7, volume: 50 })

await busylight.blink('blue')

await busylight.jingle({ color: 'purple', sound: 3, volume: 100 })

await busylight.pulse('yellow')

await busylight.flashColors('red', 'blue')

await busylight.off()
```

## Further Reading

For more information, refer to [the manual][1] from Kuando on the HTTP app, it's where the API documentation resides.

[0]: https://www.plenom.com
[1]: https://www.plenom.com/wp-content/uploads/2020/01/kuandoHUB-Manual-0.9-Rev.0.9.19.pdf
[2]: https://www.plenom.com/downloads/download-software

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