i would like to automatically control my bathroom ventilator. It should
a) Turn on when the humidity increases above a certrain threshold, and turn off when going below a certain threshold
b) Turn on when a normal light switch (button) is pressed, and turn off automatically after a configurable time.
Is it possible to implement such a logic using the Sonoff TH16 + Sensor AM2301A? Or which components would I need for that and how to connect them?
Thank you and best regards