Skip to content

FlorianBr/ESP32_Victron

Repository files navigation

ESP32 Victron Display

What is it?

For the Victron devices I have in my camper van I want some low-power display to see the stats like battery capacity and solar panel power. Currently supported:

  • 500A Smart Shunt
  • Smart Solar MPPT 75/15

The Hardware

A Heltec Vision Master E290 with a ESP32, 2.90inch E-Ink Display, LoRa and battery connector. At the moment without any additional hardware.

I will also add a 3D printed case some time in the future.

The Software

Libraries used:

  • ESP-IDF v5.3
  • LVGL 9.2

Features

  • Basic operating system
  • EINK Driver
  • Basic LVGL setup
  • Bluetooth: Device detection
  • Victron: Driver
  • Victron: Decryption
  • Victron: Receive smart shunt data
  • Victron: Receive solar charger data
  • Victron: Receive charger data
  • Victron: Refactoring
  • LVGL: Change Theme to Monochrome
  • LVGL: Fix display orientation
  • Display current states
  • Display battery capacity, voltage and current
  • Display solar panel power
  • Display battery graph
  • Display solar graph
  • Data: Average data

Maybe

  • WiFi
  • Sending Data to a MQTT broker
  • Sending Data via LoRa to my LoRa-Central
  • Store keys in NVS
  • Add and Remove keys with MQTT commands

Notes

  • LV_COLOR_FORMAT_ARGB8888 must be enabled for rotations
  • Unuse Bits/Bytes in the Victron structs are NOT transfered!
  • For some reason the Android App showed the first byte of the encryption key of SmartSolar incorrectly. Instead of b5 it showed only 5.

Useful links