Here you find the code and other necessary information for Hardware controlling ESP32 (and alike) via MQTT (WiFI) Arduino (and alike) via I2C (Hardwired)