This is a Node.js library for controlling Govee devices over the LAN.
npm install @j3lte/govee-lan-controller
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 documentation is available here.
MIT