Reference

Reference

Every action, from the govee CLI, Rust, Python, Node.js or a DMX console.

Find devices

scan

Look for devices and report what answers.

govee scan
govee scan --mode lan
Parameters

govee scan

NameTypeRequiredDefault
--timeout-msMSoptional3000

devices

Name several devices at once, then list them or send them one command.

govee devices
govee devices H6159 kitchen
govee on ambient
govee brightness group:ambient 40
Parameters

govee devices

NameTypeRequiredDefault
TARGETTARGET…optional—

device

Get a handle for one device, by identity or by name.

govee on kitchen
govee status 1C:8B:C4:A2:C0:46:64:6E

identify

Light each device in turn, so a person maps an identity to a fixture in the room.

govee identify
govee identify H6159
govee identify 1C:8B:C4:A2:C0:46:64:6E kitchen
Parameters

govee identify

NameTypeRequiredDefault
TARGETTARGET…optional—
--colorCOLORoptional#00FF00
--wait-msMSoptional1000
--hold-msMSoptional5000
--keepflagoptional—

describe

Report what the device file declares for a model.

govee describe DEVICE
Parameters

govee describe

NameTypeRequiredDefault
TARGETTARGETrequired—

status

Ask the device for its current state.

govee status DEVICE
Parameters

govee status

NameTypeRequiredDefault
DEVICEDEVICErequired—

watch

Follow events: a device appears, a mode changes health.

govee watch
govee watch --json
Parameters

govee watch

NameTypeRequiredDefault
--rescan-msMSoptional0

doctor

Report everything wrong with the configuration.

govee doctor

Control a light

power

Turn the device on or off.

govee on DEVICE
govee off DEVICE
Parameters

govee on

NameTypeRequiredDefault
DEVICEDEVICErequired—

govee off

NameTypeRequiredDefault
DEVICEDEVICErequired—

brightness

Set the brightness of the whole device.

govee brightness DEVICE 40
Parameters

govee brightness

NameTypeRequiredDefault
DEVICEDEVICErequired—
VALUEVALUErequired—

color

Set one color for the whole device.

govee color DEVICE "#ff3d00"
Parameters

govee color

NameTypeRequiredDefault
DEVICEDEVICErequired—
COLORCOLORrequired—

color_temp

Set the white temperature, in kelvin.

govee colortemp DEVICE 4000
Parameters

govee colortemp

NameTypeRequiredDefault
DEVICEDEVICErequired—
KELVINKELVINrequired—

segment

Paint the zones.

govee segment DEVICE "#ff3d00"
govee segment DEVICE --zones 0,1,2 "#ff3d00"
Parameters

govee segment

NameTypeRequiredDefault
DEVICEDEVICErequired—
--zonesLISToptional—
--resolutionRESOLUTIONoptionalapp
COLORSCOLORSrequired—
--gradientflagoptional—

gradient

Set whether the firmware interpolates between zones, without painting.

govee gradient DEVICE on
Parameters

govee gradient

NameTypeRequiredDefault
DEVICEDEVICErequired—
STATEon | offrequired—

music

Play an effect the device renders from its own microphone.

govee music DEVICE 3 --sensitivity 60
Parameters

govee music

NameTypeRequiredDefault
DEVICEDEVICErequired—
EFFECTEFFECTrequired—
--sensitivityLEVELoptional50
--softflagoptional—
--colorCOLORoptional—

scene

Play a scene of the model's scene library, by name or by code.

LANBLE
govee scenes fetch SKU
govee scenes list SKU
govee scene DEVICE "Aurora"
Parameters

govee scene

NameTypeRequiredDefault
DEVICEDEVICErequired—
SCENESCENErequired—

draw

Store a drawing of the LEDs on the device.

LANBLE
govee send DEVICE draw_cells --arg cells=0,1,2 --arg colors=ff3d00
Parameters

govee send

NameTypeRequiredDefault
DEVICEDEVICErequired—
COMMANDCOMMANDrequired—
--argNAME=VALUE…optional—

Animate the segmentsLAN

open_stream

Open the segment channel and keep it armed.

# frames.txt: one frame per line, one color per zone.
govee stream DEVICE --resolution native < frames.txt
Parameters

govee stream

NameTypeRequiredDefault
DEVICEDEVICErequired—
--resolutionRESOLUTIONoptionalapp
--rateHZoptional—
--gradientflagoptional—

set_zone

Set one zone of the stream.

# One frame per line, one color per zone.
echo "000000,ff3d00,000000" | govee stream DEVICE --resolution 3

set_all, fill and clear

Set every zone at once.

govee segment DEVICE "#000000"

close

Close the channel.

# The stream ends when standard input ends.

Drive a rig over DMXLAN

govee-dmx profile

Print the channel table of one model, to patch a desk with.

govee-dmx profile H6159
govee-dmx profile H6159 --personality segment
Parameters

govee-dmx profile

NameTypeRequiredDefault
SKUSKUrequired—
--personalityPERSONALITYoptional—
--jsonflagoptional—

govee-dmx patch

Scan the LAN and write the patch the node runs from.

govee-dmx patch
govee-dmx patch --personality segment --universe 1
govee-dmx patch --dry-run
Parameters

govee-dmx patch

NameTypeRequiredDefault
--patchFILEoptional—
--personalityPERSONALITYoptionalfull
--universeUNIVERSEoptional0
--resetflagoptional—
--dry-runflagoptional—
--configCONFIGoptional—
--jsonflagoptional—

govee-dmx identify

Light each patched fixture in turn, so a person reads the rig.

govee-dmx identify
govee-dmx identify --address 33
govee-dmx identify --universe 1
govee-dmx identify H6159 kitchen
Parameters

govee-dmx identify

NameTypeRequiredDefault
TARGETTARGET…optional—
--universeUNIVERSEoptional—
--addressCHANNELoptional—
--patchFILEoptional—
--colorCOLORoptional#00FF00
--wait-msMSoptional1000
--hold-msMSoptional5000
--keepflagoptional—
--configCONFIGoptional—
--jsonflagoptional—

govee-dmx run

Receive Art-Net on port 6454 and drive the patched devices.

govee-dmx run
govee-dmx run --scan
govee-dmx run --dry-run --debug
Parameters

govee-dmx run

NameTypeRequiredDefault
--patchFILEoptional—
--scanflagoptional—
--personalityPERSONALITYoptionalfull
--universeUNIVERSEoptional0
--dry-runflagoptional—
--no-resetflagoptional—
--debugflagoptional—
--configCONFIGoptional—
--jsonflagoptional—

Raw commands and setup

send

Send one entry of the device file, by name.

govee send DEVICE brightness --arg level=40
Parameters

govee send

NameTypeRequiredDefault
DEVICEDEVICErequired—
COMMANDCOMMANDrequired—
--argNAME=VALUE…optional—

provision_wifi

Put a new device on a Wi-Fi network, over Bluetooth.

BLE
govee provision DEVICE --ssid my-network
Parameters

govee provision

NameTypeRequiredDefault
DEVICEDEVICErequired—
--ssidSSIDoptional—
--passwordPASSWORDoptional—
--openflagoptional—
--utc-offset-hoursHOURSoptional0
--utc-offset-minutesMINUTESoptional0

Choose a mode

Restrict a command to one mode.

govee on DEVICE --mode lan
Parameters

govee

NameTypeRequiredDefault
--jsonflagoptional—
--modelan | ble | cloudoptional—
--configPATHoptional—
--env-filePATHoptional—
--no-envflagoptional—