A PC temperature monitor that sends the reads using MQTT
Currently only supports CPU and Nvidia graphic temperatures
I'm using this to send the temperatures to the Home Assistant broker
1 - NodeJS
2 - Nvidia Graphic Drivers
In Windows you probably have to add this to your PATH variable
C:\Program Files\NVIDIA Corporation\NVSMI
An example of configuration.yaml
for Home Assistant
- platform: mqtt
state_topic: 'computer/temperatures/cpu/0'
name: 'CPU - Thread 0'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/cpu/1'
name: 'CPU - Thread 1'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/cpu/2'
name: 'CPU - Thread 2'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/cpu/3'
name: 'CPU - Thread 3'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/cpu/4'
name: 'CPU - Thread 4'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/cpu/5'
name: 'CPU - Thread 5'
unit_of_measurement: ' C'
- platform: mqtt
state_topic: 'computer/temperatures/graphic-card/1'
name: 'Graphic Card'
unit_of_measurement: ' C'
With some tweaks the result will be something like this :)
Change the config.json
file for your broker settings
$ npm install
$ npm start
or
$ node index.js