I recently built a custom ESPHome setup to automatically log my vehicle's mileage to LubeLogger. I'm really happy with how it turned out, so I wanted to share the architecture I put together! Hardware & Software M5Stack Tab5 (Acting as the in-car dashboard display & comms hub) BLE OBD2 dongle In-car LTE Wi-Fi dongle Home Assistant & LubeLogger How it works Data Collection: The M5Stack Tab5 sits in the car and connects to the OBD2 dongle via BLE. It continuously polls vehicle telemetry to display real-time data and get the current odometer reading. Remote Connection: The Tab5 connects to an in-car LTE Wi-Fi dongle for internet. I utilized ESPHome's native WireGuard component, allowing the device to maintain a secure, direct tunnel to my HA server while driving. Trigger & Sync: When the engine turns off (detected via OBD state change), a Home Assistant automation is triggered. HA grabs the final odometer value and pushes it directly to LubeLogger via Webhook/API.…