{"id":16242919,"url":"https://github.com/jpmens/qtripp","last_synced_at":"2025-10-25T14:42:31.322Z","repository":{"id":56012941,"uuid":"96547981","full_name":"jpmens/qtripp","owner":"jpmens","description":"Queclink Track (air) Interface Protocol Processor","archived":false,"fork":false,"pushed_at":"2024-11-08T10:08:54.000Z","size":788,"stargazers_count":27,"open_issues_count":4,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-08T19:38:21.518Z","etag":null,"topics":["beanstalk","c","gps","json","mqtt","owntracks","queclink"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpmens.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}},"created_at":"2017-07-07T14:44:38.000Z","updated_at":"2025-03-07T19:18:09.000Z","dependencies_parsed_at":"2024-03-27T11:49:20.255Z","dependency_job_id":"c6803b52-f6b7-41e8-9553-6c36db5da382","html_url":"https://github.com/jpmens/qtripp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fqtripp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fqtripp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fqtripp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fqtripp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpmens","download_url":"https://codeload.github.com/jpmens/qtripp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244008871,"owners_count":20382924,"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":["beanstalk","c","gps","json","mqtt","owntracks","queclink"],"created_at":"2024-10-10T14:13:21.883Z","updated_at":"2025-10-25T14:42:31.221Z","avatar_url":"https://github.com/jpmens.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qtripp\n\nThe _Queclink Track (air) Interface Protocol Processor_ is a TCP GPRS server for Queclink devices: _qtripp_ obtains GPS positions from these devices and publishes those over MQTT in [OwnTracks JSON format](http://owntracks.org/booklet/tech/json/) as `_location_ objects.\n\n![qtripp](assets/qtripp.png)\n\n## requirements\n\n* an Internet-facing server with an open TCP port\n* a Queclink device. We have tested GV65, GV65+, GV55, GV200MT, and GV500. Others ought to be no problem, though you might have to adapt device configurations from the Protocol documentation.\n* an MQTT broker (see the [OwnTracks Booklet](http://owntracks.org/booklet/guide/broker/))\n* a bit of patience\n\n## features\n\n* configurable MQTT publish topics (device lookup)\n* extensible\n* copious debugging\n* support for device reports with embedded segments (e.g. GTFRI/GTERI)\n* ignore specific device reports\n* configurable reports per/device and on a per/firmware basis\n* fast\n* extra JSON data can be merged in to data from devices\n* OwnTracks JSON support\n* MQTT, TLS, TLS client certificates, user/password authentication\n* list devices connected (console \u0026 MQTT)\n* statistics over MQTT\n* statistics dump including _subtype_ stats and _IMEI_ stats.\n* (pseudo-) LWT for devices (when a device disconnects, _qtripp_ publishes LWT)\n* support for 1-Wire temperature sensors (on GV65/GV65+)\n* raw data is copied to file for backup, replay, debugging, etc.\n* optional beanstalkd support (requires [beanstalk-client](https://github.com/deepfryed/beanstalk-client)) for mirroring. (sample workers are provided.) beanstalk host/port/tube are configurable; payload is OwnTracks JSON enriched with a field `imei` and a `raw_line` field which contains original ASCII device data (`+RESP:GT ... $`)\n\n## commands\n\n```\n-t owntracks/qtripp/*/cmd -m list\n-t owntracks/qtripp/*/cmd -m stats\n-t owntracks/qtripp/*/cmd -m dump\n```\n\n## logging\n\n\n\n```\n2017-08-16T17:25:55Z 1502904355 pid=564 +++ I=863123456789090 (JP car) M=GV65 np=200 P=310603 C=2 T=RESP:GTERI (scheduled report) LINE=+RESP:GTERI,310603,8...\n---------+---------- ----+----- ---+---     +---------------- -+------ +----- +----- +------- +-- +----------  +----------------  +-------------------------\n         |               |         |        |                  |       |      |      |        |   |            |                  |\n         |               |         |        |                  |       |      |      |        |   |            |                  +-----------------  raw data received\n         |               |         |        |                  |       |      |      |        |   |            +------------------------------------  (description of T=)\n         |               |         |        |                  |       |      |      |        |   +-------------------------------------------------  T=type/subtype\n         |               |         |        |                  |       |      |      |        +-----------------------------------------------------  C=counter (total reports handled so far)\n         |               |         |        |                  |       |      |      +--------------------------------------------------------------  P=protov (proto, maj/min)\n         |               |         |        |                  |       |      +---------------------------------------------------------------------  np=number of parts (csv)\n         |               |         |        |                  |       +----------------------------------------------------------------------------  M=model (from protov)\n         |               |         |        |                  +------------------------------------------------------------------------------------  (name)\n         |               |         |        +-------------------------------------------------------------------------------------------------------  I=\u003cimei\u003e\n         |               |         +----------------------------------------------------------------------------------------------------------------  process ID\n         |               +--------------------------------------------------------------------------------------------------------------------------  epoch\n         +------------------------------------------------------------------------------------------------------------------------------------------  date/timestamp ISO (Zulu)\n```\n\n## beanstalk\n\n1. clone [beanstalk-client](https://github.com/deepfryed/beanstalk-client/) into _qtripp_'s directory, `cd` into that and `make`. (Apply [this fix](https://github.com/deepfryed/beanstalk-client/issues/32) on macOS.)\n2. in _qtripp_'s `Makefile`, define `BEANSTALK`\n\n## credits\n\n* [uthash](https://troydhanson.github.io/uthash/), by Troy D. Hanson\n* [json.c](https://ccodearchive.net/info/json.html), by Joey Adams\n* [ini.c](https://github.com/benhoyt/inih), by Ben Hoyt\n* [mongoose](https://github.com/cesanta/mongoose), by Cesanta\n* [statsd-c-client](https://github.com/romanbsd/statsd-c-client)\n\n## authors\n\n* Jan-Piet Mens (@jpmens)\n* Christoph Krey (@ckrey)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fqtripp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpmens%2Fqtripp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fqtripp/lists"}