1.0.5 • Published 3 days ago

@j3lte/govee-lan-controller v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

Govee LAN Controller

npm License GitHub Bugs GitHub issues GitHub last commit npm type definitions Bundlephobia

This is a Node.js library for controlling Govee devices over the LAN.

Installation

npm install @j3lte/govee-lan-controller

Usage

import { Govee } from '@j3lte/govee-lan-controller';

const run = async () => {
    const govee = new Govee();
    const device = await govee.getDevice();

    if (device) {
        await device.turnOn();
        await device.setBrightness(50);
        await device.setColor('red');
    }
}

run();

API

API documentation is available here.

License

MIT

1.0.5

3 days ago

1.0.4

8 days ago

1.0.3

8 days ago

1.0.2

5 months ago

1.0.1

1 year ago

1.0.0

1 year ago