Closed Trekky12 closed 1 year ago
Hi, thank you for the contribution. Please rebase against master branch, I have fixed the CI issues, it will make the review easier.
I have rebased the PR could you approve the CI? 😊
You can ignore the coverage, but the lint errors should be fixed, you can see them here https://github.com/desbma/hddfancontrol/actions/runs/5347735245/jobs/9712459974 or via pre-commit run -a
.
Merged, thank you.
I really appreciate your work for controlling the fans on NAS devices based on the hdd temperatures. Currently I am testing if the automatic settings on the BIOS or the "manual" settings with your application is more efficient in my use-case. Unfortunately when hddfancontrol is stopped the fans are set to 100%. This leads to some annoying noises when hddfancontrol is only started for testing purposes. Additionally hddfancontrol is also stopped on shutdown which leads to a full speed fan setting when hddfancontrol is already stopped and the device is still not fully shutdown.
This PR adds the new cli switch
--restore-fan-settings
to restore the fan settings to the values before hddfancontrol was started.