Skip to content

ESP8266 firmware for triggering relays on excess solar power, supporting Huawei SUN2000 via Modbus.

License

Notifications You must be signed in to change notification settings

gsilvan/esp-solar-boy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP Solar Boy Image

ESP Solar Boy

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.

Features

  • Relay control
  • HTTP configuration
  • Real-time monitoring via web-user-interface
  • Huawei SUN2000 support via Modbus-TCP

Setup

Prerequisites

  • PlatformIO
  • ESP8266 board

1. Clone the repository

git clone https://github.com/gsilvan/esp-solar-boy.git
cd esp-solar-boy

2. Build the project

pio run

3. Upload the firmware and the filesystem image

pio run -t upload
pio run -t uploadfs

4. WiFi settings

  • Connect to esp-solar-boy
  • Connect the device to your home WiFi
  • Save and reboot

5. ESP Solar Boy configuration

  • 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

License

MIT

About

ESP8266 firmware for triggering relays on excess solar power, supporting Huawei SUN2000 via Modbus.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published