Logitech
Integrate Logitech devices to control lighting and hardware states.
Overview
The Logitech integration adds dedicated triggers and actions so you can build workflows around events, device state, or external updates.
Event Triggers
React to inbound events and status updates.
Action Effects
Send commands and automate responses.
Automation Hooks
Combine triggers with other plugins and scripts.
Setup
1
Enable the Plugin
Open FaustBot settings and enable the Logitech integration.
2
Connect Your Account or Device
Provide any required credentials or connection details.
3
Verify the Connection
Trigger a test action to confirm the integration is responding.
Connection Tips
Keep the service running and verify network permissions if the connection fails.
Triggers
- Connection status changes (connected, disconnected, error).
- Incoming events or webhook notifications.
- State changes reported by the service or device.
Effects
- Send commands or updates to Logitech.
- Change device settings or activate presets.
- Sync data into variables for other actions.
Scripting API
Use the CPH API to control Logitech RGB lighting directly from scripts.
RGB Lighting Control
RGB lighting control
# Set all devices to a solid color (RGB values 0-255)
CPH.LogitechSetColor(255, 0, 128) # Pink
# Set color for a specific device zone
CPH.LogitechSetColorZone("keyboard", "keys", 0, 255, 0)
# Flash effect
CPH.LogitechFlashColor(255, 0, 0, 200, 5) # Red flash, 200ms, 5 timesEffects and Animation
Effects and animation
# Pulse effect between two colors
CPH.LogitechPulseColor(255, 0, 0, 0, 0, 255, 1000, True)
# Set a breathing effect
CPH.LogitechSetBreathing(0, 255, 128, 2000)
# Reset to default lighting
CPH.LogitechResetLighting()See the full API reference for all available Logitech methods.