Updated Torque OBD-II Integration: Send Torque Telemetry to Home Assistant
A Home Assistant custom integration that receives vehicle telemetry uploaded by the Torque Android application and exposes it as Home Assistant sensors.
Modern rewrite of the legacy Torque logger integration for Home Assistant.
AI assistance disclosure
This project is developed and maintained with assistance from GitHub Copilot and other AI tools. Changes are tested and reviewed before release.
I am not an experienced Python developer, so community testing, code reviews, issues, and pull requests are welcome.
How It Works
The integration does not connect directly to your OBD-II adapter or vehicle.
The data path is:
Vehicle OBD-II interface
↓
OBD-II adapter
↓
Torque Android application
↓
HTTP or HTTPS Web Upload
↓
Home Assistant custom integration
↓
Home Assistant sensors
Torque communicates with the vehicle and adapter. This integration only receives the telemetry that Torque uploads to Home Assistant.
The resulting sensors can be used in dashboards, history, scripts, and automations.
Features
Live telemetry uploads from Torque to Home Assistant
Dynamic sensor creation based on fields received from Torque
Metadata for 151+ known telemetry fields, including common OBD-II, GPS, trip, and manufacturer-specific values
Location telemetry, including latitude, longitude, altitude, and bearing when enabled in Torque
UI-based configuration through Home Assistant
Multiple vehicle support using separate configuration entries and upload endpoints
Home Assistant entities compatible with dashboards, history, and automations
Entity restoration after Home Assistant restarts
Quick Start
Installation
Option 1: HACS, Recommended
- Open HACS in your Home Assistant instance.
- Select Integrations.
- Open the ⋮ menu in the upper-right corner.
- Select Custom repositories.
- Add:
https://github.com/JOHLC/Home-Assistant-Torque-OBDII - Select Integration as the category.
- Click Add.
- Search for Torque OBD-II in HACS.
- Click Download.
- Restart Home Assistant.
- Go to Settings → Devices & services.
- Click Add Integration.
- Search for Torque OBD-II.
- Enter a name for your vehicle, such as
2025 Ford Escape. - Optionally enter an email address. Torque does not always include this field reliably.
- Save the unique upload endpoint created for the vehicle.
Option 2: Manual Installation
- Copy the
custom_components/torque_obddirectory into:config/custom_components/ - Restart Home Assistant.
- Go to Settings → Devices & services.
- Click Add Integration.
- Search for Torque OBD-II.
- Enter a name for your vehicle.
- Optionally enter an email address.
- Save the unique upload endpoint created for the vehicle.
Configure Torque
This project has primarily been tested with Torque Pro. Other editions of Torque may also work if they include the Web Upload feature.
- Open Torque on your Android device.
- Go to Settings → Data Logging & Upload.
- Configure the Web Upload URL using the endpoint created by the integration.
Local Home Assistant
Use plain HTTP only when your phone and Home Assistant are communicating over a trusted private network:
http://YOUR_HA_IP:8123/api/torque-2025-ford-escape
Remote Home Assistant
Use HTTPS whenever the connection crosses the public internet or another untrusted network:
https://YOUR_DOMAIN/api/torque-2025-ford-escape
Security warning
Do not upload vehicle telemetry, GPS coordinates, trip history, identifiers, or other sensitive information over unencrypted HTTP on a public or untrusted network.
- Configure the optional email address if desired.
- Enable logging and Web Upload in Torque.
- Connect Torque to your OBD-II adapter.
If uploads do not begin after the initial configuration:
- Open Android Settings → Apps → Torque.
- Tap Force Stop.
- Reopen Torque.
- Reconnect to the OBD-II adapter.
- Confirm that logging and Web Upload are enabled.
The integration domain is torque_obd to avoid conflicting with Home Assistant’s built-in legacy Torque integration.
Live Connectivity and Timestamps
Telemetry is uploaded while Torque is running, connected to the adapter, and able to reach your Home Assistant instance.
Important limitations:
- The phone must have network connectivity to Home Assistant.
- Uploads occur live or near-real-time.
- The integration does not buffer missed uploads.
- The integration does not replay data after connectivity is restored.
- Data generated while Home Assistant is unreachable may be lost.
- Home Assistant entity timestamps generally represent when Home Assistant received and processed an update, not necessarily the exact time the vehicle measurement occurred.
This integration is therefore most useful for telemetry collection, history, dashboards, and automations. It should not be treated as a guaranteed continuous vehicle data recorder.
Supported Sensors and PIDs
The integration dynamically creates sensors from telemetry fields received from Torque.
Known telemetry definitions include more than 151 fields across categories such as:
- Speed and motion: Vehicle speed, GPS speed, acceleration, and trip distance
- Engine: RPM, engine load, coolant temperature, intake temperature, and oil temperature
- Fuel: Fuel level, consumption, economy, and remaining range
- Electrical: Adapter voltage and other available voltage readings
- Environment: Ambient temperature and barometric pressure
- GPS: Latitude, longitude, altitude, bearing, and GPS accuracy
- Trip information: Trip time, distance, and other Torque-calculated values
- Manufacturer-specific values: Enhanced or custom PIDs provided by Torque
Standard OBD-II values such as speed, RPM, coolant temperature, and engine load are commonly available across many vehicles.
Manufacturer-specific and enhanced PIDs vary by vehicle, adapter, ECU, and Torque configuration. Some values may require custom PID definitions inside Torque.
The integration can only create entities for values that Torque actually sends.
Sensor Names
Where possible, the integration uses telemetry names and known PID metadata to create readable Home Assistant entities.
Entity names and IDs are also associated with the configured vehicle, helping separate sensors when multiple vehicles are configured.
Actual sensor availability, naming, and units depend on the data provided by Torque.
Adapter Compatibility
The integration does not communicate with the OBD-II adapter itself.
Adapter compatibility is primarily determined by:
- The Torque Android application
- The Android device
- The OBD-II adapter
- The vehicle
- The selected PID or sensor
If Torque can communicate with the adapter and successfully upload its telemetry, this integration should be able to process the supported upload fields.
Bluetooth, BLE, Wi-Fi, USB, and other adapter connection methods are handled by Torque, not by this Home Assistant integration.
Requirements
- A supported Home Assistant version, as shown by the version badge above
- The Torque Android application with Web Upload support
- An Android phone or device
- An OBD-II adapter supported by Torque
- A compatible vehicle
- Network connectivity between the Android device and Home Assistant
Security and Privacy
This integration is receive-only.
It does not:
- Connect directly to the vehicle or OBD-II adapter
- Send commands to the vehicle
- Send OBD-II or CAN bus messages
- Write ECU data
- Program vehicle modules
- Change odometer values
- Control vehicle functions
- Provide remote access to the vehicle
It only processes telemetry uploaded by Torque.
This does not mean that every other component in the environment is automatically secure. Users are responsible for securing:
- Their Home Assistant instance
- Remote access to Home Assistant
- Their Android device
- The Torque application
- Their OBD-II adapter
- Their local network
- Any reverse proxy, VPN, tunnel, or cloud service used for remote connectivity
Recommended practices:
- Use HTTPS for remote access.
- Do not expose Home Assistant directly to the internet without appropriate authentication and security controls.
- Keep Home Assistant, HACS, custom integrations, Android, and Torque updated.
- Restrict access to Home Assistant backups and databases.
- Review Home Assistant recorder retention settings.
- Only enable and retain telemetry you are comfortable storing.
Vehicle telemetry may contain sensitive information, including:
- Current and historical GPS coordinates
- Trip history
- Driving patterns
- Vehicle identifiers
- Device identifiers
- Email addresses
- Diagnostic information
- Fuel usage and vehicle performance information
This information may be retained in Home Assistant history, recorder databases, logs, and backups.
Intended Use
This integration is intended for:
- Home Assistant dashboards
- Historical telemetry
- Trip and fuel analysis
- Non-safety-critical notifications
- Automations
- Personal vehicle monitoring and experimentation
It is not a replacement for:
- The vehicle instrument cluster
- Dashboard warning lights
- Driver-assistance systems
- Vehicle safety systems
- Professional diagnostic equipment
- Manufacturer service procedures
- Regular vehicle inspections and maintenance
Do not rely on Home Assistant as the only source of safety-critical vehicle information.
Example Uses
- Track fuel economy over time
- Record trip distance and duration
- Display vehicle telemetry on a dashboard
- Track battery or adapter voltage
- Create location-based automations
- Review temperature or engine-load history
- Send non-safety-critical notifications
- Compare telemetry across multiple vehicles
Documentation
Contributing
Contributions, testing, documentation corrections, code reviews, issues, and pull requests are welcome.
When reporting an issue, please include:
- Home Assistant version
- Integration version
- Torque edition and version
- Adapter type
- Relevant Home Assistant logs
- Example telemetry field names, with sensitive information removed
GitHub repository:
License
This project is licensed under the MIT License.
See the LICENSE file for details.
Credits
This integration works with the Torque Android application by Ian Hawkins.
This project is independent and is not affiliated with or endorsed by Torque, Home Assistant, the Open Home Foundation, any vehicle manufacturer, or any OBD-II adapter manufacturer.



