@j3lte/govee-lan-controller
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i @j3lte/govee-lan-controller

Weekly Downloads

82

Version

1.0.5

License

MIT

Unpacked Size

51.4 kB

Total Files

15

Last publish

Collaborators

  • j3lte