https://github.com/pcgeek86/elgato-streamdeck-powershell
A plug-in for Elgato Stream Deck that displays your NVIDIA GPU utilization, written in pure PowerShell
https://github.com/pcgeek86/elgato-streamdeck-powershell
Last synced: 5 months ago
JSON representation
A plug-in for Elgato Stream Deck that displays your NVIDIA GPU utilization, written in pure PowerShell
- Host: GitHub
- URL: https://github.com/pcgeek86/elgato-streamdeck-powershell
- Owner: pcgeek86
- License: mit
- Created: 2020-05-20T21:35:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T01:01:38.000Z (over 3 years ago)
- Last Synced: 2024-08-13T07:05:40.946Z (8 months ago)
- Language: PowerShell
- Homepage: https://trevorsullivan.net
- Size: 208 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - pcgeek86/elgato-streamdeck-powershell - A plug-in for Elgato Stream Deck that displays your NVIDIA GPU utilization, written in pure PowerShell (PowerShell)
README
# 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`.
## 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
* https://github.com/pcgeek86
* https://twitter.com/pcgeek86
* https://trevorsullivan.net