This project provides a firmware for the ESP8266 microcontroller to intelligently control relays based on excess solar power availability. It integrates with Huawei SUN2000 inverters via Modbus-TCP to detect surplus energy and trigger connected loads accordingly. All settings are configurable via a simple HTTP interface, making it easy to set up and adjust without flashing new firmware.
- Relay control
- HTTP configuration
- Real-time monitoring via web-user-interface
- Huawei SUN2000 support via Modbus-TCP
- PlatformIO
- ESP8266 board
git clone https://github.com/gsilvan/esp-solar-boy.git
cd esp-solar-boy
pio run
pio run -t upload
pio run -t uploadfs
- Connect to
esp-solar-boy
- Connect the device to your home WiFi
- Save and reboot
- Navigate to http://solarboy.local via mDNS or use the assigned IP-Address
- Connect your relays to
D0
,D1
,D2
- Configure settings and relay-pins via web-ui
MIT