1.3.1 • Published 12 months ago

@4lch4/busylight v1.3.1

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

@4lch4/busylight

This is a simple library to control a Busylight device from Plenom, 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. 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

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 from Kuando on the HTTP app, it's where the API documentation resides.

1.3.1

12 months ago

1.3.0

12 months ago

1.2.0

12 months ago

1.1.0

12 months ago

1.0.0

12 months ago

0.1.0

12 months ago