Custom user sensors in HWiNFO

Martin

HWiNFO Author
Staff member
There is currently no such capability, one would have to write a tool pulling data from HWiNFO via Shared Memory and send them via serial port.
 

torexko

New Member
Excellent feature!

Is it possible to add a custom value into an existing sensor?
I want a custom value calculated from 2 real values from that sensor, but I don't want to create a custom sensor just for that.
 

Triton.se

New Member
Hello, I want to know "Performance Limit - Power" in %

The current units are "Yes" and "No", I'd want them 1 and 0 and an average of 0.563 would mean 56.3%

EDIT //

OK, tested and works as I wanted :)

Value formula:

"Performance Limit - Power" * 100

First I was expecting "Yes", "No" but but :)
 
Last edited:

Hyatice

New Member
Hey Martin,

This may be a long shot, but is there any chance you would be willing to add a "run program or 'execute terminal command' every x intervals" feature to hwinfo?

This would be super useful for these custom values. For example, I am using this as part of a couple of batch files that I am using to change EPP (Windows/Intel power management algorithm) on a handheld gaming PC. These batch files automatically adjust the registry key, but outside of running those two batch files, it never gets updated.

Which is ultimately fine for me, personally, but I've been sharing these files and tools with other people and trying to come up with a way to add this "EPP" value to RTSS automatically (even if it means replacing their entire OSD) for the less technically inclined amongst the community. It would be nice for those who don't wish to use the rest of my tools (there are plenty of alternatives) to be able to do so.

Alternatively...

Is there any chance you could add the currently defined EPP to one of the CPU sensors?

From the CPU side it is defined at MSR 0x774 and 0x772 (both with the same value) as a sliding value from 0-255; though Windows usually represents it as a percentage.

0x774 0x0000000 0x%EPPHex%000000
0x772 0x0000000 0x%EPPHex%000000

From the Windows Power Plan side it is defined at:

scheme_current SUB_PROCESSOR PERFEPP

If the answer of both of these is no, that's fine. Thanks for the excellent tool, and for your time.
 

Martin

HWiNFO Author
Staff member
Hey Martin,

This may be a long shot, but is there any chance you would be willing to add a "run program or 'execute terminal command' every x intervals" feature to hwinfo?

This would be super useful for these custom values. For example, I am using this as part of a couple of batch files that I am using to change EPP (Windows/Intel power management algorithm) on a handheld gaming PC. These batch files automatically adjust the registry key, but outside of running those two batch files, it never gets updated.

Which is ultimately fine for me, personally, but I've been sharing these files and tools with other people and trying to come up with a way to add this "EPP" value to RTSS automatically (even if it means replacing their entire OSD) for the less technically inclined amongst the community. It would be nice for those who don't wish to use the rest of my tools (there are plenty of alternatives) to be able to do so.

Alternatively...

Is there any chance you could add the currently defined EPP to one of the CPU sensors?

From the CPU side it is defined at MSR 0x774 and 0x772 (both with the same value) as a sliding value from 0-255; though Windows usually represents it as a percentage.

0x774 0x0000000 0x%EPPHex%000000
0x772 0x0000000 0x%EPPHex%000000

From the Windows Power Plan side it is defined at:

scheme_current SUB_PROCESSOR PERFEPP

If the answer of both of these is no, that's fine. Thanks for the excellent tool, and for your time.

You can setup an alarm to launch any command. If you set a level that will always be triggered you should achieve what you're looking for.
As for showing the HWP Energy_Performance_Preference value, I don't think this would be useful for permanent monitoring.
 

Hyatice

New Member
You can setup an alarm to launch any command. If you set a level that will always be triggered you should achieve what you're looking for.
As for showing the HWP Energy_Performance_Preference value, I don't think this would be useful for permanent monitoring.
Thanks for the tip about the alert, that is a great way to do exactly this - and the 'only notify every 30 seconds' is a good throttle on the number of .bats that have to run.

Now to just find the least-intensive way to do. It's too bad reg copy only works for entire keys and not individual values...

Yeah, I figured it wouldn't be worthwhile to add as a global monitor thing. The only valuable thing is that for anyone using "Balanced" power plan, Windows will often shift EPP around automatically which is.. confusing to say the least. ;-)
 

staktus

New Member
Hi Martin,
Is it possible to use average values from sensors in hwinfo64 for calculation?

For example i want to calculate remaining battery time dependet on average (dis-) charge rate as shown in sensor window.

So i thought a calculation could look something like this:
-1*("Remaining Capicity"/avg("Charge Rate"))

Sadly its not working that way, it will always give me current charge rate as value for calculation.
 

Martin

HWiNFO Author
Staff member
Hi Martin,
Is it possible to use average values from sensors in hwinfo64 for calculation?

For example i want to calculate remaining battery time dependet on average (dis-) charge rate as shown in sensor window.

So i thought a calculation could look something like this:
-1*("Remaining Capicity"/avg("Charge Rate"))

Sadly its not working that way, it will always give me current charge rate as value for calculation.

This is currently not possible, only actual/current values can be used in the formula.
 
Top