Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j3lte/govee-lan-controller
Control your Govee lights
https://github.com/j3lte/govee-lan-controller
Last synced: about 2 months ago
JSON representation
Control your Govee lights
- Host: GitHub
- URL: https://github.com/j3lte/govee-lan-controller
- Owner: j3lte
- License: mit
- Created: 2023-02-18T15:28:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T10:50:52.000Z (5 months ago)
- Last Synced: 2024-06-20T10:33:35.001Z (3 months ago)
- Language: TypeScript
- Homepage: https://j3lte.github.io/govee-lan-controller/
- Size: 287 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Govee LAN Controller
====================[![npm](https://img.shields.io/npm/v/@j3lte/govee-lan-controller?label=NPM&logo=npm&style=flat-square)](https://www.npmjs.com/package/@j3lte/govee-lan-controller)
[![License](https://img.shields.io/github/license/j3lte/govee-lan-controller?color=%2344cc10&label=License&logo=github&style=flat-square)](https://github.com/j3lte/govee-lan-controller/blob/main/LICENSE)
[![GitHub Bugs](https://img.shields.io/github/issues-search/j3lte/govee-lan-controller?label=Bugs&logo=github&query=is%3Aopen%20label%3Abug&style=flat-square)](https://github.com/j3lte/govee-lan-controller/issues)
[![GitHub issues](https://img.shields.io/github/issues/j3lte/govee-lan-controller?label=Issues&style=flat-square)](https://github.com/j3lte/govee-lan-controller/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/j3lte/govee-lan-controller?label=Last%20Commit&logo=github&style=flat-square)](https://github.com/j3lte/govee-lan-controller/commits/main)
![npm type definitions](https://img.shields.io/npm/types/@j3lte/govee-lan-controller?style=flat-square)
[![Bundlephobia](https://img.shields.io/bundlephobia/min/@j3lte/govee-lan-controller?label=Size&style=flat-square)](https://bundlephobia.com/package/@j3lte/govee-lan-controller@latest)This is a Node.js library for controlling Govee devices over the LAN.
## Installation
```bash
npm install @j3lte/govee-lan-controller
```## Usage
```typescript
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](https://j3lte.github.io/govee-lan-controller/).
## License
MIT