ESP32 Dual-Power Smart Switch

Job ID: 39852545

Budget: $10 – $30 USD

I need a compact ESP32-based controller that will sit between my main grid supply and a solar array, sense which source is available, and automatically transfer the load with zero or minimal interruption. Beyond the change-over logic, the same board and firmware should:

• log real-time power consumption on both sources,
• publish that data over Wi-Fi (MQTT or a similar lightweight protocol is fine),
• expose basic controls in a simple mobile app or web dashboard so I can force a manual switchover if required, and
• push instant notifications whenever a switch occurs or either source drifts outside configurable voltage/current limits.

Hardware deliverables: a complete schematic, PCB layout (Gerber + BOM) and guidance on relay/SSR ratings suited to household mains and the solar input. Firmware deliverables: well-commented code for the ESP32, ready to compile in the Arduino IDE or PlatformIO, with clear instructions for Wi-Fi credentials, topic naming, and threshold calibration. I will be testing on a bench supply first, then in a live panel, so please include a short step-by-step commissioning guide.