{"id":51290569,"url":"https://github.com/jeeyo/torquemate","last_synced_at":"2026-06-30T09:38:56.429Z","repository":{"id":222148328,"uuid":"756399240","full_name":"jeeyo/torquemate","owner":"jeeyo","description":"A car data logger that retrieve data from Torque Android App","archived":false,"fork":false,"pushed_at":"2026-04-14T05:20:24.000Z","size":994,"stargazers_count":7,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-14T05:26:21.568Z","etag":null,"topics":["elm327","grafana","obd2","torque"],"latest_commit_sha":null,"homepage":"","language":"C#","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/jeeyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-12T15:39:05.000Z","updated_at":"2026-04-14T05:20:24.000Z","dependencies_parsed_at":"2024-06-23T14:51:21.372Z","dependency_job_id":"e752cd9d-a5f0-429c-827a-bb5ab40223db","html_url":"https://github.com/jeeyo/torquemate","commit_stats":null,"previous_names":["jeeyo/torque-to-tesla","jeeyo/torquemate"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jeeyo/torquemate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeyo%2Ftorquemate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeyo%2Ftorquemate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeyo%2Ftorquemate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeyo%2Ftorquemate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeeyo","download_url":"https://codeload.github.com/jeeyo/torquemate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeyo%2Ftorquemate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34961549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elm327","grafana","obd2","torque"],"created_at":"2026-06-30T09:38:55.468Z","updated_at":"2026-06-30T09:38:56.423Z","avatar_url":"https://github.com/jeeyo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TorqueMate\n\nA data logger inspired by [TeslaMate](https://github.com/teslamate-org/teslamate), but was designed for any cars that provide data through OBDII and [Torque Android application](https://play.google.com/store/apps/details?id=org.prowl.torque).\n\n## How it works?\n\n```mermaid\nflowchart LR\n    car[🚗 Your car] \u003c--\u003e obd2[OBDII Reader] \u003c--\u003e|Bluetooth| torque[📱 Torque Android App]\n    torque --\u003e|HTTP| torquemate[TorqueMate]\n    torquemate --\u003e postgres[⛁ Postgres]\n    grafana[Grafana] --\u003e postgres\n```\n\n## Components\n\nThis project consists of two parts:\n\n1. **Web server** written in C# using ASP.NET for receiving messages sent from Torque application and save to Postgres database.\n2. **Grafana Dashboards** that you can import to your Grafana instance to visualize the data collected by the web server.\n\n## Screenshots\n\n### TorqueMate Basic\n![TorqueMate Basic](./docs/torquemate_basic_dashboard.png)\n\n## Deployment\n\n### Prerequisites\n\n1. Docker\n2. Postgres 16\n3. Grafana 10\n\n### 1. Setup Postgres instance\n\nCreate a new Postgres 16 instance, it could be on cloud or on your local server, and use [./migrations/bootstrap.sql](./migrations/bootstrap.sql) to automatically get the database schema ready.\n\n### 2. Setup TorqueMate web server\n\nOnce you have your Postgres database, to start the web server, you'll need to provide the connection string to your database to the container environment variable.\n\n```bash\ndocker run \\\n-p 5147:5147 \\\n-e ConnectionStrings__NpgsqlTorqueDatabase=\"Host=\u003cYOUR_DATABASE_URL\u003e; Port=5432; Database=\u003cYOUR_DATABASE_NAME\u003e; Username=\u003cYOUR_DATABASE_USERNAME\u003e; Password=\u003cYOUR_DATABASE_PASSWORD\u003e\" \\\nghcr.io/jeeyo/torquemate:latest\n```\n\n### 3. Setup Grafana\n\nCreate a new Grafana instance, setup a new data source to connect Grafana to your Postgres instance.\n\nThen go to [https://\u003cYOUR_GRAFANA_URL\u003e/dashboards/import](), then import each dashboard JSON file in [grafana directory](./grafana).\n\n### 4. Setup Torque Android Application\n\n_TODO_\n\nSee [docker-compose.yml](./docker-compose.yml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeeyo%2Ftorquemate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeeyo%2Ftorquemate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeeyo%2Ftorquemate/lists"}