z4gunn / OctoPrint-GpioFanController

8 stars 2 forks source link

Sidebar doesn't update when using CPU mode #8

Open thirtytwobits opened 2 years ago

thirtytwobits commented 2 years ago

When using the CPU mode of this plugin (which works great. Thanks so much!) the slider doesn't update to the speed set by the CPU temperature timer.

Steps to reproduce:

  1. When CPU is running below maximum temperature, manually move the slider up to 100%
  2. wait 5 seconds.

Expected:

The slider would update to a reduced level based on the measured CPU temperature.

Actual:

Value updates (fan speed changes) but the slider value does not. If you refresh the UI the correct value will then be displayed.