What the hardware does
- On / off
- Color
- White temperature
- Brightness
- Music
- Segments 12 × 11 grid · 132 pixels
- Segment brightness
What each mode reaches
| Mode | Capabilities |
|---|---|
| LAN |
|
| BLE |
|
| CLOUD |
|
What you can send
device.power(true).await?;govee on DEVICE
govee off DEVICEawait device.power(True)await device.power(true)Set the brightness
- lan
level0–100 - ble
level0–100 - cloud
level1–100
device.brightness(50).await?;govee brightness DEVICE 50await device.brightness(50)await device.brightness(50)device.color([255, 61, 0]).await?;govee color DEVICE "#ff3d00"await device.color((255, 61, 0))await device.color([255, 61, 0])Set the white temperature
White and color are mutually exclusive: this ends the color the device shows.
kelvin2700–6500
device.color_temp(4600).await?;govee colortemp DEVICE 4600await device.color_temp(4600)await device.colorTemp(4600)Paint the zones
zones132pixels132
device.segment(&Paint {
zones: None,
colors: &frame,
resolution: Resolution::default(),
gradient: false,
}).await?;govee segment DEVICE "#ff3d00"
govee segment DEVICE --zones 0,1,2 "#ff3d00"await device.segment(colors=frame)await device.segment(frame)Interpolate between the zonesBLE
The interpolation wraps from the last zone back to the first.
device.gradient(true).await?;govee gradient DEVICE onawait device.gradient(True)await device.gradient(true)Play a music effectBLECLOUD
The device listens on its own microphone.
- ble
effect0–7 - ble
sensitivity0–99 - cloud
sensitivity0–100
device.music(&Music {
effect: 4,
sensitivity: 50,
soft: false,
color: None,
}).await?;govee music DEVICE 4 --sensitivity 50await device.music(effect=4, sensitivity=50)await device.music(4, 50)let state = device.status().await?;
let cached = device.last_status();govee status DEVICEstate = await device.status()
cached = device.last_status()const state = await device.status()
const cached = device.lastStatus()device.provision_wifi(&credentials).await?;govee provision DEVICE --ssid my-networkawait device.provision_wifi("network name", "password")await device.provisionWifi("network name", "password")DMX
-
1
Dimmer
- 0 off
- 1 – 255 brightness 0 to 100%
-
2
Mode
- 0 – 9 no action
- 10 – 249 reserved
- 250 – 255 full resend
-
3
White
- 0 no white
- 1 – 255 2700 K to 6500 K
-
4
Red
- 0 no red
- 1 – 255 red 0 to 100%
-
5
Green
- 0 no green
- 1 – 255 green 0 to 100%
-
6
Blue
- 0 no blue
- 1 – 255 blue 0 to 100%
-
1
Dimmer
- 0 off
- 1 – 255 brightness 0 to 100%
-
2
Mode
- 0 – 9 no action
- 10 – 249 reserved
- 250 – 255 full resend
-
3
White
- 0 no white
- 1 – 255 2700 K to 6500 K
-
4 – 48
15 zones
- three channels each
- red, green, blue, in zone order
-
1
Dimmer
- 0 off
- 1 – 255 brightness 0 to 100%
-
2
Mode
- 0 – 9 no action
- 10 – 249 reserved
- 250 – 255 full resend
-
3
White
- 0 no white
- 1 – 255 2700 K to 6500 K
-
4 – 399
132 zones
- three channels each
- red, green, blue, in zone order
Verification
Verified by damient on on firmware 1.03.08.
The device file
This page states what devices/H6022.yaml
holds.