← All Hardware

Yeelight Smart Lighting

Smart lighting by Xiaomi ecosystem. FaustBot integrates with Yeelight to control your lights, create dynamic scenes, and enhance your stream with responsive lighting effects.

View Integration Guide

What You Can Do With FaustBot

FaustBot provides deep integration with Yeelight, giving you full control through actions, triggers, and scripting.

💡

Light Control

Actions
Set colorSet brightnessSet temperatureTurn on/off +1 more
Triggers
State changed

Effects

Actions
Start color flowStop effectsApply scene
Triggers
Effect changed
🎨

Groups

Actions
Control device groupsSync multiple lights
Triggers
Group state changed

Scripting Examples

# Change light color based on stream event
def Execute():
    event_type = CPH.GetArg("event")
    if event_type == "follow":
        CPH.YeelightSetColor("Desk Light", 0, 255, 0)  # Green
    elif event_type == "subscribe":
        CPH.YeelightSetColor("Desk Light", 128, 0, 255)  # Purple
    CPH.YeelightSetBrightness("Desk Light", 100)
    return True
# Trigger color flow effect on raid
def Execute():
    raiders = CPH.GetArg("viewers")
    if raiders >= 10:
        CPH.YeelightStartColorFlow("Stream Lights", "rainbow")
        CPH.Wait(5000)
        CPH.YeelightStopEffects("Stream Lights")
    return True
# Sync all lights for scene change
def Execute():
    scene = CPH.GetArg("scene")
    if scene == "Starting Soon":
        CPH.YeelightGroupSetColor("All Lights", 255, 100, 0)
        CPH.YeelightGroupSetBrightness("All Lights", 50)
    elif scene == "Live":
        CPH.YeelightGroupSetColor("All Lights", 0, 150, 255)
        CPH.YeelightGroupSetBrightness("All Lights", 100)
    return True

Smart Lighting Products

Premium smart lighting with advanced features and seamless integration.

Yeelight Smart Bulb

Yeelight Smart Bulb

Feature-rich smart bulb with vibrant colors and smooth dimming for any setting.

  • 16 million colors
  • Tunable white (1700K-6500K)
  • Wi-Fi and Bluetooth
  • 800 lumens output
Yeelight Light Strip Plus

Yeelight Light Strip Plus

Flexible RGB light strip for immersive ambient lighting and stream backdrops.

  • 2 meter base length
  • Extendable up to 10m
  • Music sync mode
  • Cuttable segments
Yeelight Monitor Light Bar Pro

Yeelight Monitor Light Bar Pro

Monitor-mounted light bar designed to reduce eye strain during long streaming sessions.

  • Asymmetric light design
  • No screen glare
  • USB powered
  • Wireless dimming knob

What FaustBot Can Do

Full RGB control over your Yeelight devices. Set colors, adjust brightness, run color flow animations, and control temperature all from stream events.

Actions

  • Set Color RGB or HSV colors with smooth transitions
  • Set Brightness Adjust brightness from 0-100%
  • Set Color Temperature Kelvin range from 1700K to 6500K
  • Toggle Turn lights on or off
  • Set Flow Color flow animations and effects

Triggers

Output only — controlled via actions

Examples

Color Flash on Sub Flash lights purple when someone subscribes
def Execute():
    # Flash purple for new subscriber
    CPH.YeelightSetColor("Desk Light", 128, 0, 255)
    CPH.YeelightSetBrightness("Desk Light", 100)
    CPH.Wait(500)
    CPH.YeelightStartColorFlow("Desk Light", "pulse")
    return True
Scene-Based Lighting Change lighting based on OBS scene changes
def Execute():
    scene = CPH.GetArg("scene")
    if scene == "Starting Soon":
        CPH.YeelightSetColorTemp("All Lights", 2700)
        CPH.YeelightSetBrightness("All Lights", 50)
    elif scene == "Live":
        CPH.YeelightSetColor("All Lights", 0, 150, 255)
        CPH.YeelightSetBrightness("All Lights", 100)
    return True

Ready to Connect Your Yeelight Products?

FaustBot makes it easy to integrate your Yeelight smart lighting into powerful stream automations.