PC RGB Led Strip Controller
Go to solution
Solved by fizzlesticks,
Since you don't know C++ well, you could skip that step and install Open Hardware Monitor. It has a built in web server that you can use to get your temperatures, here's some code I used to get my GPU temps but it's in Python
The values for the child indexes may be different depending on what you configure OHM to show but doing this in Node.js would be a lot simpler than worrying about writing something yourself in C++ and will also work if you ever switch to nvidia.
import json,urllib.request serverIp = '192.168.56.1'serverPort = '8085' resp = urllib.request.urlopen('http://{}:{}/data.json'.format(serverIp,serverPort))js = json.loads(resp.read().decode('utf-8')) print(js['Children'][0]['Children'][1]['Children'][1]['Children'][0]['Value'])

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now