Back to the store
Plugin

SteelSeries GG Sonar

by cjhackeryt

Control SteelSeries GG Sonar audio directly from Macro Deck, including volume, mute, chat mix, and streamer mode.

Code

SteelseriesSonar — SteelSeries GG Sonar Macro Deck 3 Plugin

A professional, high-performance Macro Deck 3 plugin for controlling SteelSeries GG Sonar audio directly from your stream deck, tablet, or secondary monitor.

Control channel volumes, toggle mute states, adjust Chat Mix balance, and switch between Streamer Mode mixes (Streaming vs. Monitoring) with zero perceptible latency.

✨ Features

🔊 Precise Volume Control: Set exact volume levels (0–100%) or adjust up/down incrementally with customizable step sizes. 🔇 Mute & Toggle: Explicitly mute/unmute or use single-button toggle actions with live feedback. 🎚️ Chat Mix Control: Seamlessly adjust the balance slider between game and voice communication (-100 full chat to +100 full game). 🎙️ Streamer Mode Support: Full dual-slider support for Streamer Mode — independently control what your stream hears (Streaming) and what you hear in your headset (Monitoring). 🔄 Automatic Dynamic Discovery: Automatically detects Sonar's local dynamic web server port on startup and handles GG restarts gracefully without manual configuration. ⚡ Optimized Architecture: Powered by .NET 10 and IHttpClientFactory connection pooling for instant response times and low resource usage.

🎧 Supported Audio Channels

Channel ID Name in Plugin Description master Master Master output mix for all Sonar audio game Game Game audio channel chatRender Chat (Playback) Voice chat audio output (Discord, Teams, in-game chat) chatCapture Microphone (Capture) Your microphone / input audio sent to voice chat/stream media Media Music and browser media (Spotify, YouTube, VLC) aux Aux Auxiliary audio channel for system alerts or secondary apps microphone Mic Monitoring Headphone monitor level for your microphone

🎛️ Available Actions

1. Set Volume Sets the target channel to an absolute volume percentage. Channel: Select audio channel (Master, Game, Chat, Media, Aux, Microphone). Output Type: Classic (default), Streaming (OBS/Stream), or Monitoring (Headphones). Volume (%): Target volume slider from 0% to 100%.

2. Adjust Volume Increases or decreases the volume by a specified step percentage. Ideal for rotary encoders or standard up/down buttons. Channel: Target audio channel. Output Type: Classic, Streaming, or Monitoring. Direction: Increase (+) or Decrease (-). Step (%): Volume delta per press (e.g., 5%).

3. Mute / Unmute Explicitly sets the channel's mute state to On or Off. Channel: Target audio channel. Output Type: Classic, Streaming, or Monitoring. State: Mute (Off) or Unmute (On).

4. Toggle Mute Flips the current mute state of the channel (if unmuted, mutes it; if muted, unmutes it). Channel: Target audio channel. Output Type: Classic, Streaming, or Monitoring.

5. Set Chat Mix Adjusts the hardware/software Chat Mix balance slider. Chat Mix Balance: Slider from -100 (100% Chat / Voice) through 0 (Balanced) to +100 (100% Game).

6. Set Streamer Mode Controls SteelSeries GG Sonar's Streamer Mode layout. Action: Toggle, Enable, or Disable.

📦 Installation

Option 1: Macro Deck Extension Store (Recommended) Open Macro Deck 3. Go to Extension Store -> Plugins. Search for SteelSeries GG Sonar. Click Install.

Option 2: Manual Installation from GitHub Releases Download the latest .macroDeckPlugin file from the Releases tab. In Macro Deck 3, navigate to Plugins and click Install from file. Select the downloaded .macroDeckPlugin file. Macro Deck will install and start the plugin automatically.

🛠️ System Requirements

Component Minimum Requirement OS Windows 10 (64-bit) / Windows 11 Macro Deck Macro Deck 3.0 or later SteelSeries GG Any version with the Sonar feature enabled Runtime .NET 10.0 Runtime (installed by Macro Deck if needed)

[!NOTE] SteelSeries Sonar must be active in SteelSeries GG. The plugin connects locally via SteelSeries GG's IPC REST service.

💻 Building from Source

To compile and package the plugin locally:

1. Prerequisites .NET 10.0 SDK or later Macro Deck Plugin CLI

Install the Macro Deck CLI tool: dotnet tool install -g MacroDeck.Plugin.Cli --prerelease

2. Build the Project cd SteelSeriesSonarPlugin dotnet restore dotnet build -c Release

3. Package into .macroDeckPlugin macrodeck-plugin pack --source bin/Release/net10.0 --output ../dist/com.cjhackeryt.steelseriessonar.macroDeckPlugin --force The installable artifact will be generated in dist/com.cjhackeryt.steelseriessonar.macroDeckPlugin.

🚀 Continuous Integration & Deployment

This repository uses two GitHub Actions workflows: .github/workflows/release.yml builds, validates, and uploads tagged packages to the Macro Deck Creator Portal. .github/workflows/attach-release-asset.yml attaches the generated .macroDeckPlugin to the matching GitHub Release.

🏗️ Architecture & Technical Details

SteelSeriesSonarPlugin/ ├── Actions/ ← Macro Deck action definitions & executors │ ├── SetVolumeAction.cs │ ├── AdjustVolumeAction.cs │ ├── MuteAction.cs │ ├── ToggleMuteAction.cs │ ├── SetChatMixAction.cs │ ├── SetStreamerModeAction.cs │ └── SonarChoices.cs ├── SonarClient.cs ← High-performance HTTP client for Sonar REST API ├── SonarIntegration.cs ← Macro Deck IPluginIntegration lifecycle ├── Program.cs ← Plugin entrypoint, DI & IHttpClientFactory config ├── manifest.json ← Macro Deck 3 Plugin Manifest └── nuget.config

Dynamic Port Discovery SteelSeries GG allocates a dynamic port on each launch. The plugin reads C:\ProgramData\SteelSeries\GG\coreProps.json to query GG's local /subApps registry. The discovered base URL is cached in-memory and automatically refreshed whenever a reconnection is needed.

Connection Management All HTTP interactions are managed via IHttpClientFactory with custom TLS validation for localhost certificates and connection pooling to prevent socket exhaustion.

🤝 Contributing

Contributions, bug reports, and pull requests are welcome! Fork the repository. Create a feature branch (git checkout -b feature/amazing-feature). Commit your changes (git commit -m 'Add amazing feature'). Push to the branch (git push origin feature/amazing-feature). Open a Pull Request.

📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

README badge

Paste this into your README so people can open this page in the Macro Deck Store.