Referenz

Referenz

Jede Aktion, aus der govee-CLI, aus Rust, Python, Node.js oder von einem DMX-Pult.

Geräte finden

scan

Nach Geräten suchen und melden, was antwortet.

govee scan
govee scan --mode lan
Parameter

govee scan

NameTypPflichtStandard
--timeout-msMSoptional3000

devices

Mehrere Geräte auf einmal benennen, dann auflisten oder ihnen einen Befehl senden.

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

govee devices

NameTypPflichtStandard
TARGETTARGET…optional—

device

Ein Handle für ein Gerät holen, per Identität oder per Name.

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

identify

Jedes Gerät nacheinander leuchten lassen, damit eine Person eine Identität einer Leuchte im Raum zuordnet.

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

govee identify

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

describe

Melden, was die Gerätedatei für ein Modell deklariert.

govee describe DEVICE
Parameter

govee describe

NameTypPflichtStandard
TARGETTARGETPflicht—

status

Das Gerät nach seinem aktuellen Zustand fragen.

govee status DEVICE
Parameter

govee status

NameTypPflichtStandard
DEVICEDEVICEPflicht—

watch

Ereignissen folgen: Ein Gerät erscheint, ein Modus ändert seinen Zustand.

govee watch
govee watch --json
Parameter

govee watch

NameTypPflichtStandard
--rescan-msMSoptional0

doctor

Alles melden, was an der Konfiguration falsch ist.

govee doctor

Eine Leuchte steuern

power

Das Gerät ein- oder ausschalten.

govee on DEVICE
govee off DEVICE
Parameter

govee on

NameTypPflichtStandard
DEVICEDEVICEPflicht—

govee off

NameTypPflichtStandard
DEVICEDEVICEPflicht—

brightness

Die Helligkeit des ganzen Geräts einstellen.

govee brightness DEVICE 40
Parameter

govee brightness

NameTypPflichtStandard
DEVICEDEVICEPflicht—
VALUEVALUEPflicht—

color

Eine Farbe für das ganze Gerät einstellen.

govee color DEVICE "#ff3d00"
Parameter

govee color

NameTypPflichtStandard
DEVICEDEVICEPflicht—
COLORCOLORPflicht—

color_temp

Die Farbtemperatur in Kelvin einstellen.

govee colortemp DEVICE 4000
Parameter

govee colortemp

NameTypPflichtStandard
DEVICEDEVICEPflicht—
KELVINKELVINPflicht—

segment

Die Zonen färben.

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

govee segment

NameTypPflichtStandard
DEVICEDEVICEPflicht—
--zonesLISToptional—
--resolutionRESOLUTIONoptionalapp
COLORSCOLORSPflicht—
--gradientflagoptional—

gradient

Festlegen, ob die Firmware zwischen den Zonen interpoliert, ohne zu färben.

govee gradient DEVICE on
Parameter

govee gradient

NameTypPflichtStandard
DEVICEDEVICEPflicht—
STATEon | offPflicht—

music

Einen Effekt abspielen, den das Gerät aus seinem eigenen Mikrofon erzeugt.

govee music DEVICE 3 --sensitivity 60
Parameter

govee music

NameTypPflichtStandard
DEVICEDEVICEPflicht—
EFFECTEFFECTPflicht—
--sensitivityLEVELoptional50
--softflagoptional—
--colorCOLORoptional—

scene

Eine Szene aus der Szenenbibliothek des Modells abspielen, über ihren Namen oder ihren Code.

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

govee scene

NameTypPflichtStandard
DEVICEDEVICEPflicht—
SCENESCENEPflicht—

draw

Eine Zeichnung der LEDs auf dem Gerät speichern.

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

govee send

NameTypPflichtStandard
DEVICEDEVICEPflicht—
COMMANDCOMMANDPflicht—
--argNAME=VALUE…optional—

Die Segmente animierenLAN

open_stream

Den Segmentkanal öffnen und scharf halten.

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

govee stream

NameTypPflichtStandard
DEVICEDEVICEPflicht—
--resolutionRESOLUTIONoptionalapp
--rateHZoptional—
--gradientflagoptional—

set_zone

Eine Zone des Streams setzen.

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

set_all, fill and clear

Jede Zone auf einmal setzen.

govee segment DEVICE "#000000"

close

Den Kanal schließen.

# The stream ends when standard input ends.

Ein Rig per DMX steuernLAN

govee-dmx profile

Die Kanaltabelle eines Modells ausgeben, um ein Pult damit zu patchen.

govee-dmx profile H6159
govee-dmx profile H6159 --personality segment
Parameter

govee-dmx profile

NameTypPflichtStandard
SKUSKUPflicht—
--personalityPERSONALITYoptional—
--jsonflagoptional—

govee-dmx patch

Das LAN scannen und den Patch schreiben, mit dem der Node läuft.

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

govee-dmx patch

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

govee-dmx identify

Jedes gepatchte Fixture nacheinander leuchten lassen, damit eine Person das Rig liest.

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

govee-dmx identify

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

govee-dmx run

Art-Net auf Port 6454 empfangen und die gepatchten Geräte steuern.

govee-dmx run
govee-dmx run --scan
govee-dmx run --dry-run --debug
Parameter

govee-dmx run

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

Rohbefehle und Einrichtung

send

Einen Eintrag der Gerätedatei senden, per Name.

govee send DEVICE brightness --arg level=40
Parameter

govee send

NameTypPflichtStandard
DEVICEDEVICEPflicht—
COMMANDCOMMANDPflicht—
--argNAME=VALUE…optional—

provision_wifi

Ein neues Gerät über Bluetooth in ein WLAN bringen.

BLE
govee provision DEVICE --ssid my-network
Parameter

govee provision

NameTypPflichtStandard
DEVICEDEVICEPflicht—
--ssidSSIDoptional—
--passwordPASSWORDoptional—
--openflagoptional—
--utc-offset-hoursHOURSoptional0
--utc-offset-minutesMINUTESoptional0

Choose a mode

Einen Befehl auf einen Modus beschränken.

govee on DEVICE --mode lan
Parameter

govee

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