In current implementation, phosphor-pid-control needs to build sensors and zones from configuration first, then start calculating the PWM outout value. Any error during build sensors will causes phosphor-pid-control delay 10 seconds and then rebuild sensors again. In this case, phosphor-pid-control will never calculate and update PWM output value. (This issue also mentioned in #33)
I would to propose a new feature to apply a fixed fan PWM as transitional mode at below two time points.
-
At service startup, before loading configuration.
This can ensure fan start working immediately to avoid any problem of wrong configuration or bad sensor.
-
At service terminate.
From the point of view of keeping the system safe, It is much safer to set a fixed PWM value when service stop then keeping last calculated value.
In current implementation, phosphor-pid-control needs to build sensors and zones from configuration first, then start calculating the PWM outout value. Any error during build sensors will causes phosphor-pid-control delay 10 seconds and then rebuild sensors again. In this case, phosphor-pid-control will never calculate and update PWM output value. (This issue also mentioned in #33)
I would to propose a new feature to apply a fixed fan PWM as transitional mode at below two time points.
At service startup, before loading configuration.
This can ensure fan start working immediately to avoid any problem of wrong configuration or bad sensor.
At service terminate.
From the point of view of keeping the system safe, It is much safer to set a fixed PWM value when service stop then keeping last calculated value.