0.0.11 • Published 2 months ago

ambx v0.0.11

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 months ago

amBX

Node.JS wrapper for AMBX's and Philips' gaming lights.

amBX speakers and wallwasher © Koninklijke Philips N.V. All image rights reserved

Installation & Requirements

Install using NPM

npm i ambx

This package uses node-usb, make sure to have libusb installed.

Getting Started

To create a new instance, use

import { CreateDevice, Lights } from 'ambx';

(async () => {
    try {
        // Create instance. Will throw if no amBX device is found
        const myAMBX = await CreateDevice();
        // Set the center wallwasher to red
        await myAMBX.SetColor(Lights.WallCenter, 255, 0, 0);
    } catch (e) {
        console.log('Something went wrong:', e);
    }
})();

Methods

tbd

0.0.10

2 months ago

0.0.11

2 months ago

0.0.9

2 months ago

0.0.8

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.7

2 months ago

0.0.6

2 months ago

0.0.3

9 months ago

0.0.2

9 months ago