How teh-hippo/ha-govee-led-ble works
Govee LED BLE is a Home Assistant integration for local Bluetooth control of supported Govee lights, with Effect Studio for browsing scenes, editing and saving effects, and live preview. The user workflow begins with automatic discovery or adding the integration, then controls devices through Home Assistant entities and Effect Studio. The README also documents projector-specific controls, native segment canvases, and music/video effect settings. The graph combines those documented capabilities with sampled module relationships; unsampled subsystem links are omitted where their wiring is not shown.
Main entry points: panel-controller.ts Studio panel · coordinator.py Device coordinator · protocol_core.py Device protocol · light.py Light entities
Components 19
Home Assistant integration
- Setup and discovery
custom_components/ha_govee_led_ble/config_flow.py - Device coordinator
custom_components/ha_govee_led_ble/coordinator.py - Light entities
custom_components/ha_govee_led_ble/light.py - Light services
custom_components/ha_govee_led_ble/light_services.py
BLE device protocol
- BLE transport
custom_components/ha_govee_led_ble/transport.py - Device protocol
custom_components/ha_govee_led_ble/protocol_core.py - Govee encryption
custom_components/ha_govee_led_ble/govee_encryption/__init__.py - Model capabilities
custom_components/ha_govee_led_ble/const.py
Effects and scenes
- Scenes and layouts
custom_components/ha_govee_led_ble/scenes.py - Effect definitions
custom_components/ha_govee_led_ble/effect_domain.py - Saved effects
custom_components/ha_govee_led_ble/effect_storage.py - Live preview
custom_components/ha_govee_led_ble/effect_preview.py
Effect Studio
- Studio panel
frontend/src/panel-controller.ts - Effect editor
frontend/src/panel-editor-controller.ts - Scene browser
frontend/src/scene-browser.ts - Preview controller
frontend/src/panel-preview-controller.ts - Studio API
frontend/src/api.ts
Other components
- Home Assistant user
- Home Assistant
Connections 22
- Home Assistant user → Home Assistant: uses
README.md - Home Assistant → Setup and discovery: adds integration
README.md - Setup and discovery → Device coordinator: connects device
- Device coordinator → Light entities: provides state
- Home Assistant user → Light entities: controls lights
README.md - Light entities → Light services: invokes controls
- Light services → BLE transport: sends commands
- BLE transport → Device protocol: exchanges frames
- Device protocol → Govee encryption: uses crypto
- Device coordinator → Model capabilities: uses model data
- Home Assistant user → Studio panel: opens Studio
README.md - Studio panel → Effect editor: coordinates editing
frontend/src/panel-controller.ts - Studio panel → Scene browser: coordinates browsing
frontend/src/panel-controller.ts - Studio panel → Preview controller: coordinates preview
frontend/src/panel-controller.ts - Scene browser → Studio API: loads catalogue
frontend/src/scene-browser.ts - Preview controller → Studio API: submits preview
frontend/src/panel-preview-controller.ts - Effect editor → Effect definitions: edits definitions
- Home Assistant user → Scenes and layouts: chooses scenes
README.md - Home Assistant user → Live preview: previews effects
README.md - Home Assistant user → Saved effects: saves effects
README.md - Saved effects → Effect definitions: validates items
custom_components/ha_govee_led_ble/effect_storage.py - Device protocol → Scenes and layouts: encodes scenes