{"id":14963473,"url":"https://github.com/austinmesh/bridger","last_synced_at":"2025-07-25T04:38:22.562Z","repository":{"id":245381497,"uuid":"817018640","full_name":"austinmesh/bridger","owner":"austinmesh","description":"A Meshtastic MQTT to InfluxDB metrics bridge","archived":false,"fork":false,"pushed_at":"2025-01-18T03:56:05.000Z","size":1407,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T12:40:25.246Z","etag":null,"topics":["influxdb","meshtastic","mqtt"],"latest_commit_sha":null,"homepage":"http://graphs.austinmesh.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/austinmesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-18T21:17:25.000Z","updated_at":"2025-01-18T03:56:06.000Z","dependencies_parsed_at":"2024-06-29T20:36:44.543Z","dependency_job_id":"2d6f238e-3064-44ea-8f23-e4669c5f8a7b","html_url":"https://github.com/austinmesh/bridger","commit_stats":{"total_commits":82,"total_committers":1,"mean_commits":82.0,"dds":0.0,"last_synced_commit":"1a35d58b4e0ce848aa47d44f444d5861f1ea08dc"},"previous_names":["andyshinn/bridger","austinmesh/bridger"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinmesh%2Fbridger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinmesh%2Fbridger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinmesh%2Fbridger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinmesh%2Fbridger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinmesh","download_url":"https://codeload.github.com/austinmesh/bridger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238065137,"owners_count":19410587,"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":["influxdb","meshtastic","mqtt"],"created_at":"2024-09-24T13:31:33.102Z","updated_at":"2025-07-25T04:38:22.551Z","avatar_url":"https://github.com/austinmesh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![bridger](./logo/logo-wide.png)\n\nBridger is a Meshtastic MQTT to InfluxDB metrics bridge. It listens to MQTT for protobuf messages and uses those to push metrics to InfluxDB.\n\n## Usage\n\nYou will need InfluxDB and a MQTT broker running or available already.\n\nCopy the the `.env.default` file to `.env` and view for the environment variables that can be set. The following are required:\n\n - MQTT_TOPIC\n - MQTT_BROKER\n - MQTT_USER\n - MQTT_PASS\n - INFLUXDB_V2_BUCKET\n - INFLUXDB_V2_ORG\n - INFLUXDB_V2_TOKEN\n - INFLUXDB_V2_URL\n\nThere are some other tunables as well:\n\n - INFLUXDB_V2_WRITE_PRECISION\n - MESHTASTIC_API_CACHE_TTL: The time to cache the Meshtastic API data. Defaults to 6 hours.\n - MESHTASTIC_KEY: The base64 encoded encryption key for the primary channel. Defaults to the the key provided by `AQ==`\n - MQTT_TEST_CHANNEL\n - MQTT_TEST_CHANNEL_ID\n - DISCORD_BOT_TOKEN\n - DISCORD_BOT_OWNER_ID\n - BRIDGER_ADMIN_ROLE\n - EMQX_API_KEY\n - EMQX_SECRET_KEY\n - EMQX_URL\n - LOG_PATH: Set this to a file path to log to a file. Defaults to `logs/bridger.log`\n\n\nThen install the required packages in a Python virtual environment:\n\n```bash\npip install -r requirements.txt\n```\n\nAnd run the script:\n\n```bash\npython -m bridger\n```\n\n## Node Setup\n\nTo get your Meshtastic node to send metrics to the MQTT broker you will need to set the following settings:\n\nMQTT Module:\n\n* Enabled: `Checked`\n* MQTT Server Address: `mqtt.austinmesh.org`\n* MQTT Username: \u003ccreated_per_user\u003e\n* MQTT Password: \u003ccreated_per_user\u003e\n* Encryption Enabled: `Unchecked`\n* JSON Enabled: `Unchecked`\n* TLS Enabled: `Unchecked`\n* Root topic: `egr/home`\n\nPrimary Channel:\n\n* Uplink Enabled: `Checked`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinmesh%2Fbridger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinmesh%2Fbridger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinmesh%2Fbridger/lists"}