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
rmskin
file 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
HeadsetBatteryScript
folder into someplace safe (like your 'Documents' folder or something) - Navigate to the
HeadsetBatteryScript
folder using CMD (the command prompt) - run
npm install
- open
headsetScriptStartup.cmd
and put the full path of theindex.js
file in there - Double click
headsetScriptStartup.cmd
to run it. - Download this gist
- Move the
restartPm2Apps.cmd
file into your startup folder (Typeshell:startup
into windows run dialogue (WIN + R)) - You may need to run
pm2 save
into 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.