Changing light scenes on Yeelight smart lamps for different in-game scenarios in Valve games using game state integration.
- Windows (standalone) or Linux (python3 installed)
- CS:GO or Dota 2 on Steam
- Any Yeelight/Xiaomi/Mijia Wi-Fi lamp
- Windows: Download the latest binary from releases
- Linux: Clone the repo.
- To control your Yeelights via local network, you need to enable the developer mode (also called LAN mode) on your lamps in the Yeelight app.
- Set your lamp's IP addresses in the config.ini.
- Copy the
gamestate_integration_yeelight.cfg
from thecfg
directory to the corresponding game folder. For CS:GO that would begamedir/csgo/cfg
and for Dota 2 it goes intogamedir/game/dota/cfg/gamestate_integration
. Run yourgsi-xxxx
executable of choice and launch the game.
- Round state colors
- Bomb state colors
- Multiple lamp support
- Player health colors and warning
- Bomb flashing
- Ammo warning
- Player health colors
- More player state scenes (
IsSilenced, IsStunned, IsHexed, ...
) - Ult/Ability scenes (
CanCast, IsActive, Cooldown, ...
)
Note: I'm not a Dota player myself so I don't know what features might be desirable. Feel free to get in touch via the issue section for suggestions. Same for CS:GO of course.
Gratefully using the Yeelight python library by Stavros Korokithakis.
Copyright (c) 2016, Stavros Korokithakis
All rights reserved.
This project is licensed under the MIT License - see the LICENSE file for details