Developer of DrivePulse here, an OBD2 app for Android. I shared the trip intents in October, and the new version adds the car's data to them. Here is the MacroDroid side.
Turn it on in DrivePulse
Settings > App > Car and connections > Automations. Switch on Allow automations, then Include the car's data under Outgoing alerts. Both are off by default.
The trigger
Add an Intent Received trigger with the action app.drivepulse.mobile.action.TRIP_STOPPED. TRIP_STARTED and ADAPTER_CONNECTED work the same way. Save the extras you need into MacroDroid variables.
Extras you can use
fuel_level_pct, fuel_level_l (only where the car reports litres), range_km, odometer_km, battery_voltage (12 V), coolant_temp_c, dtc_count, dtc (comma separated), obd_at, obd_connected and trip_recording. All are text with a decimal point and metric units. A missing extra means the car doesn't report it.
One idea
When the trip ends and fuel_level_pct is low, show a notification with range_km, so you see it before you lock the car.
Good to know
Any app on the phone can read these broadcasts, so the data switch stays off unless you turn it on. No location, VIN or vehicle name is sent. A trip that ends with the app swiped away may not send TRIP_STOPPED. After the trial, connecting to the adapter needs the unlock. The app is read only.
Happy to answer questions here.
Google Play https://play.google.com/store/apps/details?id=app.drivepulse.mobile