Source for BYD Atto 3 battery state of charge

I have a Seal. I’ve got some arduino code running on an M5 AtomS3 in the garage. It connects to an OBDLink CX and reads the state of charge and then uploads that to an MQTT server every 5 minutes. The Atom doesn’t like using WiFi and BLE at the same time, so it will only connect to WiFi when it needs to upload the data.

It’s been pretty robust now and gracefully handles when the car is not available.