I want to control two devices:
I have a DHT11 sensor for temperature and humidity. I want the AC to turn on when the temperature is greater than 30°C, and off when it's less than 20°C. Same for the humidifier: on (humidity < 50 ) and off (humidity > 90 ).
It's not necessary for both to operate at the same time, i.e first check for AC then humidifier.
I want to do this task using a single Arduino Uno.