# PowerPlay Toggle A simple solution to toggle a Logitech PowerPlay mat off when SteamVR launches and back on when it closes. ## Requirements * Logitech G-Hub needs to be running. ## How it works This application uses WMI (Windows Management Instrumentation) to monitor when the process `vrserver.exe` starts and stops, then connects to Logitech G-Hub using a websocket to first get the ID of a PowerPlay mat, then tells G-Hub to disable or enable charging on that mat. As there is no documentation for the websocket protocol, it had to be reverse engineered from the G-Hub electron application.