A project for a friend who has a SteelSeries Arctis 7 and wanted to make a rainmeter skin to display its battery.
I have included both the script that gets the battery level of the headset and serves that information on a webserver as well as the rainmeter skin which parses the battery level from the website and displays it with a cool battery icon (made by yours truly :3)
Requirements:
- To download and install the rainmeter skin download the
rmskinfile from here - Double click the file and it will automatically install into Rainmeter
- Download or clone this repository in a directory of your choosing
- Move the
HeadsetBatteryScriptfolder into someplace safe (like your 'Documents' folder or something) - Navigate to the
HeadsetBatteryScriptfolder using CMD (the command prompt) - run
npm install - open
headsetScriptStartup.cmdand put the full path of theindex.jsfile in there - Double click
headsetScriptStartup.cmdto run it. - Download this gist
- Move the
restartPm2Apps.cmdfile into your startup folder (Typeshell:startupinto windows run dialogue (WIN + R)) - You may need to run
pm2 saveinto a terminal. - done c:. Now the server will automatically start up on PC boot so you don't have to worry about running the script all the time.