Giter VIP home page Giter VIP logo

esp32-c3_sungrow_s100_monitor's Introduction

ESP32-C3_Sungrow_S100_Monitor

This project provides PlatformIO code for building a custom Wi-Fi enabled monitoring device for Sungrow S100 energy meters. It collects all available metrics through the meter's RS485/MODBUS interface and sends them to InfluxDB v2 or MQTT. The solution works alongside the inverter that the S100 is typically connected to - it unobtrusively monitors communications while the inverter is running, and takes over in requesting/reporting metrics if the inverter is offline (e.g. during the night).

Required Hardware

  • An ESP32-C3 SuperMini board. They're small, cheap and well suited to this project.
    ESP32-C3 SuperMini
  • A TTL to RS485 adaptor, many of which are available on eBay and Aliexpress. I recommend the type depicted below as they have built-in level shifting, flow control and transient protection.
    TTL to RS485 Module
  • A 2-way Ethernet splitter, allowing the S100 to connect to both the inverter and the RS485 adaptor.
    Ethernet splitter
  • An old Ethernet cable you're willing to sacrifice. This will plug into the Meter/DRM RJ45 jack on the inverter and S100 via the Ethernet splitter.
  • A short Ethernet cable to connect the Ethernet splitter to the inverter.



Wiring and Connections

ESP32-C3 SuperMini TTL to RS485 adaptor
GPIO-1 TXD
GPIO-0 RXD
GND GND
3v3 VCC
Ethernet cable TTL to RS485 adaptor
RJ45 Pin 8 (T568B Brown) A+
RJ45 Pin 6 (T568B Green) B-

The Ethernet splitter is connected to the S100, inverter and RS485 adaptor.


Credits:

4-20ma for ModbusMaster

RobTillaart for RunningAverage

JAndrassy for TelnetStream

Nick O'Leary for PubSubClient

Tobias Schürg for InfluxDB Client



Release notes:

Jun 1, 2024

- Initial release

esp32-c3_sungrow_s100_monitor's People

Contributors

octal-ip avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.