Controlling relay state based on input from IR sensors - Wokwi ESP32, STM32, Arduino Simulator