CS2Hue syncs your Philips Hue lights with bomb events in CS2. Reacts to plants, defuses, wins/losses โ making your room part of the action!
Download from GitHubgamestate_integration_cs2hue.cfg
to your CS2 config folder:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
/api
{ "devicetype":"CS2HUE#device" }
It should look like this:
/api/YOUR_API_KEY/lightsIt should look like this:
๐พ Save Config
button.Key | Default Value | Description |
---|---|---|
BRIDGE_IP |
"192.168.1.10" |
The IP address of your Philips Hue Bridge. |
API_KEY |
"YOUR_API_KEY_HERE" |
Your authorized Hue API key. |
SERVER_HOST |
"127.0.0.1" |
Host address for the local server. Must match the IP in your gamestate_integration_cs2hue.cfg .
|
SERVER_PORT |
8080 |
Port the server listens on. Must match the port in your
gamestate_integration_cs2hue.cfg .
|
LIGHT_ID |
"0, 1, 2" |
Comma-separated Hue light IDs to control. |
SHOW_BOMB_TIMER |
false |
Show extra bomb countdown logs when planted. |
HTML_LOG |
false |
Save a session log as an HTML file under /logs/ . |
DEBUG_MODE |
false |
Enable verbose debug logging in console. |
LIVE_LOG_LINES |
1000 |
Maximum log lines to store for the live HTML log viewer. |
๐ก You can configure all of these inside the app or edit
config.json
manually (not recommended for beginners).
Example config.json
:
{ "BRIDGE_IP": "192.168.1.10", "API_KEY": "YOUR_API_KEY_HERE", "SERVER_HOST": "127.0.0.1", "SERVER_PORT": 8080, "LIGHT_ID": "0, 1, 2", "SHOW_BOMB_TIMER": false, "HTML_LOG": false, "DEBUG_MODE": false, "LIVE_LOG_LINES": 1000 }
SERVER_HOST
and SERVER_PORT
in your
configuration must exactly match the ones defined in your gamestate_integration_cs2hue.cfg
file
โ
otherwise, CS2 wonโt be able to send data to the app.
SERVER_HOST
to the IP address of another local device on your network.
As long as the app is running on that device and your firewall allows the connection, this setup will work.
CS2Hue includes a powerful built-in logging system that helps you track all game and light events, troubleshoot errors, and optionally export logs for deeper analysis.
LIVE_LOG_LINES
config value
HTML_LOG
in your config.json
controls whether logs are saved to disk.
These are completely separate from the live log and can be reviewed later.
If enabled, session logs are flushed to HTML files inside the /logs/
directory.
A new file is created each day, named like: 2025-04-29-log.html
The app window also shows a live log box under the ๐ Log section.
[INFO]
, [WARN]
and [ERROR]
lines appear theresetRendererLogFunction()
links internal logs to both the GUI and browser[DEBUG]
messages are printed to the console when DEBUG_MODE
is
true
Yes, configure them in the app's Bomb Settings UI.
gamestate_integration_cs2hue.cfg
file.