govee-toolkit 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,81 @@
1
- # govee-toolkit (Node.js)
1
+ ![Govee Toolkit](https://raw.githubusercontent.com/damient/govee-toolkit/main/docs/assets/banner.png)
2
2
 
3
- Node.js / TypeScript SDK. `lan` mode by default; `ble` and `cloud` modes are
4
- opt-in, enabled per device by the user — see
5
- [`../../docs/modes.md`](../../docs/modes.md). Also used by
6
- `apps/playground`, `apps/desktop`, `packages/artnet-dmx-bridge` and
7
- `integrations/homebridge`.
3
+ # Govee Toolkit
8
4
 
9
- Reads the shared device database in [`../../devices/`](../../devices/).
5
+ Your lights live on your network, and your commands stay there with them. Wi-Fi
6
+ or a Bluetooth link is all the toolkit needs, straight from your own machine.
7
+ The cloud waits as a third mode for the days you are away. And the toolkit
8
+ sends commands you have never seen before: the undocumented ones, read off the
9
+ wire.
10
10
 
11
- <!-- TODO: install + usage once implemented -->
11
+ [![status](https://img.shields.io/badge/status-beta-yellow)](https://github.com/damient/govee-toolkit/blob/main/docs/roadmap.md)
12
+ [![license](https://img.shields.io/badge/license-MIT-blue)](https://github.com/damient/govee-toolkit/blob/main/LICENSE)
13
+ [![ci](https://github.com/damient/govee-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/damient/govee-toolkit/actions/workflows/ci.yml)
14
+
15
+ [![govee-toolkit on crates.io](https://img.shields.io/crates/v/govee-toolkit?logo=rust&logoColor=white&label=govee-toolkit)](https://crates.io/crates/govee-toolkit)
16
+ [![govee-toolkit-cli on crates.io](https://img.shields.io/crates/v/govee-toolkit-cli?logo=rust&logoColor=white&label=govee-toolkit-cli)](https://crates.io/crates/govee-toolkit-cli)
17
+ [![govee-toolkit-dmx on crates.io](https://img.shields.io/crates/v/govee-toolkit-dmx?logo=rust&logoColor=white&label=govee-toolkit-dmx)](https://crates.io/crates/govee-toolkit-dmx)
18
+ [![govee-toolkit on PyPI](https://img.shields.io/pypi/v/govee-toolkit?logo=python&logoColor=white&label=govee-toolkit)](https://pypi.org/project/govee-toolkit/)
19
+ [![govee-toolkit on npm](https://img.shields.io/npm/v/govee-toolkit?logo=npm&logoColor=white&label=govee-toolkit)](https://www.npmjs.com/package/govee-toolkit)
20
+
21
+ <!-- TODO: demo GIF here — a strip running per-segment colors. -->
22
+
23
+ ## What it does
24
+
25
+ - Switch a device on and off, and set the brightness, the color and the white
26
+ temperature.
27
+ - Address every segment of a strip on its own, not only the preset effects.
28
+ - Drive a strip frame by frame in real time: music reactive, screen ambilight,
29
+ or your own source.
30
+ - Put a device out of the box on your Wi-Fi over Bluetooth, which is what makes
31
+ it reachable over `lan`.
32
+
33
+ A command travels over your Wi-Fi (`lan`), over Bluetooth (`ble`) or through
34
+ Govee's servers (`cloud`). You choose which modes to allow, per device. One
35
+ allowed mode means one mode: an unreachable device fails with an error rather
36
+ than taking a slower path in silence.
37
+
38
+ <br>
39
+
40
+ <p align="center">
41
+ <a href="https://gvetk.com/docs/start/"><img alt="Get started" src="https://img.shields.io/badge/Get%20started-0b7285?style=for-the-badge"></a>
42
+ <a href="https://gvetk.com/devices/"><img alt="Devices" src="https://img.shields.io/badge/Devices-3b444b?style=for-the-badge"></a>
43
+ <a href="https://gvetk.com/docs/modes/"><img alt="Modes" src="https://img.shields.io/badge/Modes-3b444b?style=for-the-badge"></a>
44
+ <a href="https://gvetk.com/reference/"><img alt="API reference" src="https://img.shields.io/badge/API%20reference-3b444b?style=for-the-badge"></a>
45
+ <a href="https://github.com/damient/govee-toolkit/blob/main/devices/README.md"><img alt="Add a device" src="https://img.shields.io/badge/Add%20a%20device-3b444b?style=for-the-badge"></a>
46
+ </p>
47
+
48
+ ## Where the project is
49
+
50
+ The engine works over `lan`, over `ble` and over `cloud`, verified on real
51
+ hardware: discovery, on/off, brightness, color, per-segment color, and live
52
+ animation over the two local modes. It is usable today from Rust, from Python
53
+ and from Node.js.
54
+
55
+ Next come a desktop app, then Home Assistant, Homebridge and Matter.
56
+ [`docs/roadmap.md`](https://github.com/damient/govee-toolkit/blob/main/docs/roadmap.md) tracks the order.
57
+
58
+ ## Contributing
59
+
60
+ The protocol is implemented once, in Rust; Python and Node.js bind to that core.
61
+ Command names, byte layouts and measured limits live in
62
+ [`devices/`](https://github.com/damient/govee-toolkit/tree/main/devices), never in code, so adding a model is editing one file.
63
+ [`docs/architecture.md`](https://github.com/damient/govee-toolkit/blob/main/docs/architecture.md) explains the shape of the code,
64
+ and [`CONTRIBUTING.md`](https://github.com/damient/govee-toolkit/blob/main/CONTRIBUTING.md) covers how to document a newly
65
+ discovered command.
66
+
67
+ Confirming whether your model works needs no code:
68
+ [`devices/README.md`](https://github.com/damient/govee-toolkit/blob/main/devices/README.md) walks through it.
69
+
70
+ ## Legal notice
71
+
72
+ The "Govee" trademark is used descriptively only, to identify compatible
73
+ devices. This project is not affiliated with, sponsored by, or endorsed by
74
+ Govee.
75
+
76
+ ## License
77
+
78
+ [MIT](https://github.com/damient/govee-toolkit/blob/main/LICENSE)
79
+
80
+ <!-- Absolute: this file is the package description on the registry, where a
81
+ relative link out of the package directory is dead. -->