I want to have a pipe, not with water, with a flap I can switch with esphome and a switch. I plan to build a pipe where we can throw in dirty clothes and the flap should switch for example for white clothes and others.
Any idea how to solve that and what hardware is needed? I have esp32 here would need the switch an something to move the flap.