Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 742 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 742 Bytes

Win-PC-Monitor

Python parser for http://openhardwaremonitor.org/ remote web server

I am using this python script to read the temperature sensors of my windows computers and display them in home assistant. For this script to work the windows pcs must be running http://openhardwaremonitor.org/ with remote web server enabled and its port opened in windows firewall (the default port is 8085).

This is the configuration for home assistant configuration.yaml file. You may need to modify the command: parameter depending on where you placed the script.

sensor main_cpu_temp:
  platform: command_line
  command: "/usr/bin/python /home/pi/py/pc-monitor/pccpu.py | cut -d ' ' -f 3"
  name: main pc cpu temp
  unit_of_measurement: "°C"