Anyone use Open Hardware Monitor

t3hl33td4rg0n

New member
I was looking into making a custom version with a fancy web based UI to monitor hardware stats... Here's the prototype:

3Gl0Yvx.png
 
I'd like to, but work and gaming has been occupying all of my time. Plus I need to get in touch with the developer and ask some questions about the web interface. For now, this project is on hold.

Lot's of coding at work with a full plate as it is, along with helping the planning of our new data center, moving the office, meetings with clients and helping with general Sys Admin stuff. Our company is growing rapidly and there's lots going on around here.

By the time I get home, I don't want to code anymore and just play video games all night :lol:

Did you ever finish this project? Looks really nifty for monitoring from a tablet.

EDIT: And yes, that was my exact idea. Have a tablet or other mobile device on the desk to view stats without overlays and such. Technically you can already do this with Open Hardware Monitor but the web GUI leaves a lot to be desired. I'm hoping to get the ability to see current FPS as well - last I checked that wasn't available, so I'll put in a feature request to get this integrated somehow.
 
Last edited:
EDIT: And yes, that was my exact idea. Have a tablet or other mobile device on the desk to view stats without overlays and such. Technically you can already do this with Open Hardware Monitor but the web GUI leaves a lot to be desired. I'm hoping to get the ability to see current FPS as well - last I checked that wasn't available, so I'll put in a feature request to get this integrated somehow.

Yea I have already poked around in it, and while I am capable of reproducing what you have in mind, I am uh... occupied all the time, with stuff.. totally not super lazy :bleh:

I mean why do all that work when someone else can do it for you :lol: :p
 
Yea I have already poked around in it, and while I am capable of reproducing what you have in mind, I am uh... occupied all the time, with stuff.. totally not super lazy :bleh:

I mean why do all that work when someone else can do it for you :lol: :p

Okay, maybe you could help me out? I am a web-developer so doing anything past that is beyond me.

If you look at how the HTTP server is initialized, would it be possible to just junk whatever is in the HTTP root folder and replace with what I want?

I was looking into switching to Angular or Vue.js for MVC, jQuery knob for the donut charts, and morrisJS for the line chart.

If I were to recompile the solution as is, but just change the HTML/JS/CSS, will it still work without any other modifications?
 
As long as you can retrieve the sensor data with whatever you want to use, there shouldn't be a problem switching the html folder out with what you want. I haven't gone in and looked at what you are given to work with exactly, but it appears to be a simple array.
 
As long as you can retrieve the sensor data with whatever you want to use, there shouldn't be a problem switching the html folder out with what you want. I haven't gone in and looked at what you are given to work with exactly, but it appears to be a simple array.

It's JSON, looked through it not too long ago, nt too worried about that.



What I meant, is that whether the HTTP servlet is going to complain about different files in the Resources/web directory.

This: https://github.com/openhardwaremonitor/openhardwaremonitor/tree/master/Resources/Web

Would the program care if I throw whatever I need in there and still work?
 
Well they are static files, not dynamically created, so unless there are functions to actually check and verify the files in the web folder (I highly doubt it), then there shouldn't be any issues.

You could do a quick check by molesting one of the files and seeing if it throws a fit. I don't see a reason why any of those files would be a dependency for something else so I am pretty sure you will be ok.
 
Well they are static files, not dynamically created, so unless there are functions to actually check and verify the files in the web folder (I highly doubt it), then there shouldn't be any issues.

You could do a quick check by molesting one of the files and seeing if it throws a fit. I don't see a reason why any of those files would be a dependency for something else so I am pretty sure you will be ok.

As soon as I get VisualStudio installed, I will give it a go. Hopefully it will just compile and I can test it.
 
Well, I got some good news and some bad news.

The good news is that I got VS installed and working.


The bad news is that the solution doesn't want to build because its looking for the project files I replaced with my own stuff.


I'm working on it though :D
 
Well, I got some good news and some bad news.

The good news is that I got VS installed and working.


The bad news is that the solution doesn't want to build because its looking for the project files I replaced with my own stuff.


I'm working on it though :D
Kick it?
 
I figured it out, the new files have to be added to the project as an embedded resource, I THINK!

I was looking at the diffs on my local Git repo I cloned from earlier, and noticed this... So just a simple drop in replace the files method didn't work in this case.

tL6I0QK.png



So I'm gonna try adding each file as an embedded resource and see what happens.

If it works, then it's time to move on to a working prototype :D
 
I figured it could be using embedded resources. Maybe you can switch it to a linked resource, just linking an entire external "Web" folder so you don't have to mess around adding/removing things every time you want to add or change files.
 
I figured it could be using embedded resources. Maybe you can switch it to a linked resource, just linking an entire external "Web" folder so you don't have to mess around adding/removing things every time you want to add or change files.


Oh man, I wish I knew how to do that. I've been closing, saving, compiling, refreshing for the past couple hours. what a hassle!

Would it require changing any of the base code to do that?
 
Back
Top