github markusressel/fan2go 0.1.0

latest releases: 0.9.0, 0.8.1, 0.8.0...
2 years ago

BREAKING CHANGES

This update introduces the concept of "curves", which allow for a much more individual definition of fan speed curves, at the cost of a major breaking change to the configuration layout.

If you just want to migrate without changing the logic of your existing setup it is pretty straight forward though:

Sensors, Curves and Fans

There is a new toplevel configuration entry curves:, which is the new place for your min: and max: temperature
settings. For each sensor you had previously, adapt them to the new format:

Old:

sensors:
  - id: cpu_sensor
    platform: it8620
    index: 3
    min: 50
    max: 80

New:

sensors:
  - id: cpu_sensor
    hwmon:
      platform: it8620
      index: 3

And create a curve that corresponds to the input of this sensor:

curves:
  - id: cpu_curve
    linear:
      sensor: cpu_sensor
      min: 50
      max: 80

Finally, convert your fans to the new format, and connect them to a curve instead of a sensor:

Old:

fans:
  - id: cpu_fan
    platform: nct6798
    index: 1
    neverStop: yes
    sensor: cpu_sensor

New:

fans:
  - id: cpu_fan
    hwmon:
      platform: nct6798
      index: 1
    neverStop: yes
    curve: cpu_curve

Have a look at the README.md for more info.

While this version might still contain bugs, I hope it will give us much more flexibility when adding more features to fan2go in the future. Thx for giving it a try 🤓

Don't miss a new fan2go release

NewReleases is sending notifications on new releases.