Hello,
im looking for a HC3 Script which switch a Bathroom Fan on/off with dependency relative humindity.
I found a HC2 Script from kapitano1 (https://forum.siio.de/t/lua-taupunktlueftung-im-keller/5206)
My Lua skill is very low, so i tried to change the code to hc3 and add my ids.
The script will run correctly when humidInAbs - humidOutAbs > 1 but the switch off fan code is not correct.
And sorry for my english, but it is not my native language; i tried my best.