didn't want to send text wall in challen so created a thread, sorry not beeing engllish native I have sometimes difficulties in explaining well and tend to write rather more than less
hello community
I am struggling with an humidity automation
in a closed environment with a constant undrpressure, created by an exhaust fan I can control the humidity manually from lovelace with a slider on the % of RPM of the fan, and that workz well when interacting manually
the humidity target to kepp varies automatically depending on the measured temperature
what I do is, I have a formula that calculates the corresponding RH depending on a measured temp, that is target RH
and then with fan-speed I can dial it in manually to be like +/- 0.3 % measured RH vs target RH, so my graph oscillates wich is fine, but th peaks a super low
now I want to automate that
RHtarget < RH measured -> too hum -> increase fanspeed
when RH target and RH measured are very close or in a certain range, than apply that to fanspeed
and of cause when too low same vice versa
I can raise the RPM on change of measured RH automated, but than when the turning point comes RPM needs to counter that and there I am stuck
any help would highly appreciated, thx