esp32 is a small footprint ARM embedded system, low cost. Did you buy a carrier board which integrates that? Basically “on” is shorting the power on pin to ground. I think high level is 5V? Not sure. However, if the esp32 GPIO can efficiently ground that pin momentarily (maybe 50 ms), then it should work. I’m not sure how much resistance the “on” pin handle (and the esp32 GPIO won’t be a true short to ground).