That’s good and all but I would want to make it smarter. For example, increase fan speed if higher humidity is detected after a shower etc.
Is there any “smart” potentiometer (preferbly that also has a dial in case HA becomes outdated in 20 years) that you can buy of the shelf and integrate with HA? Looking at the external Controller above, it looks like it needs to output 0-10V?
One option is to set the fan to run at maximum speed and use a motor controller module (dimmer) rated for the (inductive) load. 35.5W is not a large load at all. There are plenty of devices that can control this.
I had a look at the manual - I don’t speak Swedish, but I can look at circuits.
“Max effekt: 35,5W Vid 10V styrsignal. 11W vid 6V styrsignal”
Maybe this is a VFD (variable frequency drive) input and you could control this using an ESP32 with ESPHOME and PWM. It might need a couple of components on the output to convert the PWM into a usable voltage between 0v to 10v…
The only thing that I’ll say is that if you try to control it off a AC voltage dimmer you can mess it up as the fan already has a speed control, so unless you can override that you can’t have a controller on a controller.
Ok, I hadn’t known of the distinction!
In that case I think you need to use the VFD input and connect it using a PWM to voltage driver.
This was done in this posting, but there is no circuit diagram of the PWM to V.
But it seems that there is a device available for this:
I see it available locally to me for 7.10 EUR (inc VAT).
Perhaps this helps!