/solar-router

ESP32 code for a diy Solar Energy Router to manage overproduction

Primary LanguageC++GNU General Public License v3.0GPL-3.0

solar-router

ESP32 code for a diy Solar Energy Router to manage overproduction

Based on the code from Le Profes'Solaire.

Features:

  • Support two dimmers and one relay
  • MQTT with Home Assistant auto-discovery
  • Screen display
  • Embeded webserver for monitoring

3D Printing

An enclosure is available at https://www.thingiverse.com/thing:6003867 to be printed. The height as not been calculated for jumper wire, but for soldering wire, which is more secure.

Debug tools

Modbus

The ESP32 send the message 0x01, 0x03, 0x00, 0x48, 0x00, 0x0E, 0x44, 0x18, which mean:

Adress Function Address of first register to read (16-bit) Number of registers to read (16-bit) Cyclic Redundancy Check (CRC)
1 3 (Read) 0x48 (72) 0x0E (14) 0x44, 0x18

ModbusMechanic is a Java multi-platform tool that allow to communicate with ModBus.

Here is the config to talk directly with the JSY-MK-194 :

image

But it does not work with the message to read power measures. It is not a problem as it will works in the pv router.