wordclock_esp8266
Software for a Wordclock based on ESP8266 and Neopixel LEDs with PONG, TETRIS, SNAKE game modes
Firmware replacement for Growatt ShineWiFi-S
git clone https://github.com/OpenInverterGateway/OpenInverterGateway.gitOpenInverterGateway/OpenInverterGatewayFirmware replacement for Growatt ShineWiFi-S (serial), ShineWiFi-X (USB) or custom-built sticks (ESP8266/ESP32).
Important
The precompiled version will only work if your inverter uses version 1.24 of the Growatt Protocol (here is why). You can start with it, but you will likely need to compile OpenInverterGateway yourself.
Config.h.example to Config.h and adapt it according to your requirements.GrowattConfig, Pass: growsolar) will be available.
Connect to it and configure the firmware via web interface at http://192.168.4.1.ENABLE_AP_BUTTON in Config.h)I tested several ESP8266 boards with built-in USB-Serial converters. So far, only boards with the CH340 chipset do work (CP21XX and FTDI chips do not work). Almost all ESP8266 modules with added 9 pin serial port and level shifter should work with little soldering via serial.
Check out the documentation for more details including pictures.
The documentation from Growatt on the Modbus interface is available, search for "Growatt PV Inverter Modbus RS485 RTU Protocol" on Google.
The older inverters apparently use Protocol v3.05 from year 2013. The newer inverters apparently use protocol v1.05 from year 2018. There is also a new protocol version v1.24 from 2020. (used with SPH4-10KTL3 BH-UP inverter) TL-XH hybrid inverters use version v1.24 with a different set of input and holding registers.
For IoT applications, the raw data can be read in JSON format (Content-Type: application/json) by calling http://<ip>/status.
If you want to scrape the metrics with a Prometheus server, you can use the endpoint http://<ip>/metrics.
A possible configuration is described in the documentation.
To make use of this feature, #define ENABLE_MODBUS_COMMUNICATION 1 must be set in Config.h (default: 0).
Then, once compiled and flashed, access /postCommunicationModbus.
There are several ways to debug OpenInverterGateway:
ENABLE_WEB_DEBUG to enable a debug HTTP endpoint available at http://<ip>/debug.ENABLE_TELNET_DEBUG to enable a debug Telnet endpoint. Access using telnet <IP_OF_OPEN_INVERTER_GATEWAY>, i.e. telnet 192.168.178.91.DEBUG_MODBUS_OUTPUT to enable debug more for Modbus communication.These values must be set in your Config.h.
Check Config.h.example for examples.
This project is based on Jethro Kairys work on the Modbus interface.
more like this
Software for a Wordclock based on ESP8266 and Neopixel LEDs with PONG, TETRIS, SNAKE game modes
Arduino library and MATLAB/Simulink API for the AutomationShield Arduino expansion boards for control engineering educa…
search projects, people, and tags