Skip to content

A plug-in for Elgato Stream Deck that displays your NVIDIA GPU utilization, written in pure PowerShell

License

Notifications You must be signed in to change notification settings

pcgeek86/elgato-streamdeck-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elgato Stream Deck PowerShell Plugin

This project implements integration with Elgato's Stream Deck software on Microsoft Windows 10, using native PowerShell code. This plugin enables a single action in Stream Deck software, under the Custom section called Show GPU Wattage.

Screenshot

Dependencies

  • NVIDIA GPU (tested with NVIDIA GeForce RTX 2080)
  • nvidia-smi.exe must be on your PATH environment variable
  • Windows 10
  • PowerShell (pwsh) must be installed (NOT the version that's included with Windows)

Installation

To install this plugin, place the contents under $env:APPDATA\Elgato\StreamDeck\Plugins\net.trevorsullivan.pwsh.sdPlugin.

IMPORTANT: The plugin folder must have an .sdPlugin suffix in order for Stream Deck to pick it up.

Customization

At this time, no customization is supported, unless you know how to reverse engineer the plugin. The text is rendered as red color at a fixed font size, and injected into an SVG template.

Caveats

  • Only a single instance of this plug-in can be used at any given time, due to how it works internally.
    • It only supports updating a single "context", an Elgato Stream Deck API concept.
  • There is code to help ensure that the WebSocket connection is terminated, and the pwsh.exe process terminates once Elgato Stream Deck is closed.
    • However, there is the possibility that you could end up with orphaned pwsh.exe processes.
    • If you experience this behavior, please file an issue, and I probably won't get to it.

License

This software is licensed under the MIT license. See LICENSE.

Author

About

A plug-in for Elgato Stream Deck that displays your NVIDIA GPU utilization, written in pure PowerShell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published