@j3lte/govee-lan-controller
v1.0.5
Published
Control Govee devices over LAN
Downloads
24
Maintainers
Readme
Govee LAN Controller
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