Rem0o / FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.
Other
14.11k stars 442 forks source link

HWInfo Plugin / Sensor get lost with every update notification #1195

Closed itouchdennis closed 8 months ago

itouchdennis commented 1 year ago

Hi there!

I am using the HWInfo plugin to track the fanspeed based on my water temp sensor. Each time I recognize the fans not spinning correctly as I assume it should be, I open fanc0ntrol to see the new popup for a new version. After installing the update / restarting fanc0ntrol / rescanning for sensors I see the sensors again and everything works fine, but if I don`t the fans will be stuck at the last known curve which fits to the temperature the sensor was reporting before the bug happend.

Describe the bug [A clear and concise description of what the bug is. Screenshots are worth a thousand words. Hardware support requests do NOT count as a bug. See https://github.com/Rem0o/FanControl.Releases#issues-and-hardware-compatibility.]

Log entries I assume it could be relevant:

20.10.2022 21:36:29: System.Exception: Could not create instance of FanControl.Plugins.IPlugin2 bei FanControl.Domain.PluginService.CreateInstance[T](Type type) bei FanControl.Domain.PluginService.LoadTypes[T](Assembly assembly) 20.10.2022 22:55:54: Unhandled exception in FanControl v1.0.0.0 20.10.2022 22:55:54: System.Exception: HWInfo sensors were changed during operation bei FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:Zeile 69. bei FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update() bei System.Collections.Generic.List1.ForEach(Action1 action) bei FanControl.Domain.ComputerAccessLayer.Update() bei FanControl.Domain.ApplicationClock.DoActions() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Aquacool Sensor exposed via hwinfo to fanc0ntrol

Rem0o commented 1 year ago

Just tested, the update popup does not "hang" the whole software. In fact, if you don't open the main window, the update check is not even done, so I'm not sure what you are experiencing is linked to the update popup.

What seems to be happening is that the HWInfo plugin stops reporting values for a while, and the associated curve then stay at the last sent value.

What kind of sensors do you export from HWInfo? Try and limit it to only the one you are using. Don't export fan RPMs and such, since FanControl already has those.