-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NZXT Sensor via HWInfo causing exception and stopps reading temp #36
Comments
Realized you are not using the latest version of the code. Haven't made a release for a while. Just did. Try and use the latest version and report back. |
Thanks, I'll try and report back / close the issue within the next 2 days. |
Update: The exception re-occurs randomly during normal operation, and the temp sensor shows "NaN" until I manually refresh sensors. |
From your log, it means the sensor goes offline from HWInfo for more than 10 seconds, and from the plugin POV that's unreliable enough to throw an error. |
Ok. I can think of some more or less elegant solutions for this, which would probably result in a UI/UX nightmare. I think I will fork a version to add some debugging stuff, like....
Maybe that will give me an idea for a user friendly / non-coder solution. If you are interested, you can keep this issue open or I can create a pull request if I come up with something usefull. |
Hi again! I could completely eliminate the issue by changing your code (HWInfoPlugin.cs:90) to I thought about only applying 30 if the missing sensor IDs contain one with "NZXT" in the name, but NZXT may not be the only manufacturer with this problem. As far as I know they are also only licensing their hardware from another manufacturer. Hope I could help. Maybe you can figure out something more fancy. ;) |
NZXT and CAM is a sh*tshow all by itself. They tried to prevent 3rd party apps from accessing controls and sensors.
However, via HWInfo and the FanControl plugin, it's possible to read e.g. the liquid temp sensor. But it doesn't last long. That's when HWInfo is able to re-establish reading the temp by (I guess) deleting and re-initializing the sensor. And at that point, FanControl stops working/updating the temp reading with the following exception:
If I click "Refresh Sensor Detection", it will work another 1 to 10 Minutes. Sometimes longer, before the next exception occurs.
It seems the sensor's path didn't change (I don't need to reconfigure the sensor in FanControl). However, it looks like HWInfo removed and re-added the sensor, which caused the exception and stopped the reading.
I guess the solution is to allow sensory to disappear and reappear after a few update cycles without causing an exception. Unfortunately, my last C# contact was many years ago. Otherwise I'd have given it a shot. But maybe you have a quick and clean solution for this?
The text was updated successfully, but these errors were encountered: