View on GitHub

Zendure_Esp32_TTGO_Shelly

Track the solar panel production & battery load

download .ZIPdownload .TGZ

Zendure & Shelly to TTGO

SCREENLOGO

TARGET:

Display Shelly & Zendure gateway information trough Wifi.

Track the solar production and electric consumption with Shelly Pro 3EM information

Follow the Zendure battery load trough the Zendure’s MQTT message reception.

FIRST VERSION:

Overview:

NEXT VERSION (COMMING SOON)

SCREENLOGOSCREENLOGO

DIFFICULTIES:

TTGO have to connect to shelly first to extract Json production/consumption with local connection.

Zendure data can NOT be collect trough local connection. We should connect first to Zendure API using JSON POST method to collect Zendure MQTT information.

MQTT send information message each 30s, and TTGO must be in reception mode to get the battery value, that why the value reload can not be in real time.

How it’s work:

First, install TTGO parameter in arduino IDE.

Fill wifi SSID, Password; Zendure mail & Serial number.

You must generate your MQTT password by active line 75 (zendure();)

Upload software to TTGO, save information shown on screen.

Fill this information in MQTT parameter, disable line 75, and upload software to TTGO

I added the possibility to turn off the screen the night using var hourstart, hourstop.

The system is ready !

CONNEXION

SCREENLOGO SCREENLOGO

PRODUCTION INFORMATION

SCREENLOGO SCREENLOGO

CONSUMPTION INFORMATION

SCREENLOGO SCREENLOGO

BATTERY INFORMATION

SCREENLOGO

3D PRINT

CASE PROTECTION (in progress)

Note:

No RTC needed, the system is connected to Network Time Protocol.

I’m available if any question.

Have fun !

ARNAUD TOCABENS.