{"id":15286923,"url":"https://github.com/matitalatina/torque-hass-proxy","last_synced_at":"2026-03-03T07:31:42.618Z","repository":{"id":50749127,"uuid":"374297005","full_name":"matitalatina/torque-hass-proxy","owner":"matitalatina","description":"Make Torque compatible for Home Assistant again","archived":false,"fork":false,"pushed_at":"2022-10-15T20:44:08.000Z","size":865,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T04:03:15.874Z","etag":null,"topics":["home-assistant","torque"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matitalatina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"matitalatina","custom":["https://www.buymeacoffee.com/mattianatali","https://paypal.me/mattianatali"]}},"created_at":"2021-06-06T07:33:53.000Z","updated_at":"2025-04-29T13:28:24.000Z","dependencies_parsed_at":"2022-09-02T22:01:55.335Z","dependency_job_id":null,"html_url":"https://github.com/matitalatina/torque-hass-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/matitalatina/torque-hass-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matitalatina%2Ftorque-hass-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matitalatina%2Ftorque-hass-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matitalatina%2Ftorque-hass-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matitalatina%2Ftorque-hass-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matitalatina","download_url":"https://codeload.github.com/matitalatina/torque-hass-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matitalatina%2Ftorque-hass-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265577583,"owners_count":23791183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["home-assistant","torque"],"created_at":"2024-09-30T15:19:07.491Z","updated_at":"2026-03-03T07:31:42.570Z","avatar_url":"https://github.com/matitalatina.png","language":"Go","funding_links":["https://github.com/sponsors/matitalatina","https://www.buymeacoffee.com/mattianatali","https://paypal.me/mattianatali"],"categories":[],"sub_categories":[],"readme":"# Torque Home Assistant Proxy\n\nMake Torque web logging compatible for Home Assistant again.\n\n## Problem\n\n[Just following Home Assistant Torque Integration guide isn't enough anymore](https://www.home-assistant.io/integrations/torque/). Torque web logging supports only http and Home Assistant doesn't authenticate the user using `?api_password=YOUR_PASSWORD` query param anymore.\n\nSo you need a proxy that supports both https and adds the [long lived token](https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token) inside headers request to authenticate the user correctly.\n\nThis little proxy solves both problems.\n\n## Getting started\n\nYou can download the executable `torque-hass-proxy-android-arm64` [from here](https://github.com/matitalatina/torque-hass-proxy/releases/tag/v1.0.0), move it into your and run it on your Android phone using [Termux](https://termux.com/).\n\nFor example, from android termux. You can run\n\n```bash\n# Install curl\npkg install curl\n\n# Download the executable with curl\ncurl -L -o torque-hass-proxy https://github.com/matitalatina/torque-hass-proxy/releases/download/v1.0.0/torque-hass-proxy-android-arm64\n\n# Grant execution permission for it\nchmod +x torque-hass-proxy\n\n# Run torque-hass-proxy\n./torque-hass-proxy -url \u003cYOUR_HOME_ASSISTANT_URL\u003e -token \u003cHOME_ASSISTANT_LIVE_TOKEN\u003e\n```\n\nthen you have the port `8090` open and you can put `http://localhost:8090/api/torque` in Torque -\u003e Settings -\u003e Data Logging \u0026 Upload -\u003e Webserver URL.\n\nFinally, you should see torque data in your Home Assistant! If you add also [prometheus](https://www.home-assistant.io/integrations/prometheus/) + [grafana](https://grafana.com/), you can have also graphs like this.\n\n![Car data on Grafana](assets/grafana.png)\n\n## FAQ\n\n- *Too many steps just to record torque data! Is there any way to simplify it?* No, but you can automate everything with [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm\u0026hl=it\u0026gl=US). If my phone connects with my OBD dongle, Tasker starts automatically both torque and this proxy using [Termux:Tasker](https://play.google.com/store/apps/details?id=com.termux.tasker\u0026hl=it\u0026gl=US).\n- *How did you find this workaround?* This proxy is heavily inspired from this [Github comment](https://github.com/home-assistant/core/issues/28836#issuecomment-579887196). I chose Go because I don't want to use nodeJS runtime on my android phone, I wanted a native program.\n\n## Support my work\n\nEverything I made is open source.\nIf you like what I'm doing and you want to support me, you can help me 😄!\n\n- Sponsor me with [Github](https://github.com/sponsors/matitalatina)\n- [Buy me a coffee](https://www.buymeacoffee.com/mattianatali)\n- [Paypal](https://paypal.me/mattianatali)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatitalatina%2Ftorque-hass-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatitalatina%2Ftorque-hass-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatitalatina%2Ftorque-hass-proxy/lists"}