So, I am testing a remote system HWiNFO for cpu, fan, hdd monitoring using a web server (http://hostname:port/) which puts data out in this format based on sensors selected:
{
"SensorApp": "HWiNFO",
"SensorClass": "NXZT Kraken X52/X62",
"SensorName": "Liquid Temperature",
"SensorValue": "85.46",
"SensorUnit": "°F",
"SensorUpdateTime": 1555817161
},
{
"SensorApp": "HWiNFO",
"SensorClass": "NXZT Kraken X52/X62",
"SensorName": "Pump",
"SensorValue": "2070",
"SensorUnit": "RPM",
"SensorUpdateTime": 1555817161
}
I have Node-RED and Mosquitto working with Home Assistance.
Couple Questions:
- How can I bring this data into HA to display it as a history-graph or gauge etc.
- When testing it in browser I see the data and have to hit “refresh” in browser to display new data. If data can be pulled into HA, how will the refresh part work? I guess some sort of polling?
I am hoping someone can give me a generic template with simple explanation so I can tailor it later to my needs.
Thanks!
Edit: Starting to play with Node-RED, able to pull data into debug window… still tweaking to find the answer… anyway so far, I am thinking the best way is to use Node-RED and then publish it with MQTT… Or, is there a more direct approach?