There are lots of Bluetooth code out in the wild for ESP32 access Victron, but they are often embedded directly. I wanted something reusable. So I have built a library. Working on reviewing the ve direct libraries that already exist and are more portable because not just Bluetooth. I need to extend to add other board bluetooth - currently works on ESP32-C and -S chips.
Also available on platformio
And I’ve created a few displays to use the data - supports multiple devices.
As I cannot create issues on your server, here a comment:
Please add a check that beaconType is actually 0x10. When VE.Smart networking is enabled, other values will be received, possibly leading to bogus data.