Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/austinmesh/bridger
A Meshtastic MQTT to InfluxDB metrics bridge
https://github.com/austinmesh/bridger
influxdb meshtastic mqtt
Last synced: 27 days ago
JSON representation
A Meshtastic MQTT to InfluxDB metrics bridge
- Host: GitHub
- URL: https://github.com/austinmesh/bridger
- Owner: austinmesh
- Created: 2024-06-18T21:17:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T04:02:16.000Z (about 2 months ago)
- Last Synced: 2024-09-29T18:55:46.134Z (about 1 month ago)
- Topics: influxdb, meshtastic, mqtt
- Language: Python
- Homepage: http://graphs.austinmesh.org
- Size: 1.32 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ![bridger](./logo/logo-wide.png)
Bridger is a Meshtastic MQTT to InfluxDB metrics bridge. It listens to MQTT for protobuf messages and uses those to push metrics to InfluxDB.
## Usage
You will need InfluxDB and a MQTT broker running or available already.
Copy the the `.env.default` file to `.env` and view for the environment variables that can be set. The following are required:
- MQTT_TOPIC
- MQTT_BROKER
- MQTT_USER
- MQTT_PASS
- INFLUXDB_V2_BUCKET
- INFLUXDB_V2_ORG
- INFLUXDB_V2_TOKEN
- INFLUXDB_V2_URLThen install the required packages in a Python virtual environment:
```bash
pip install -r requirements.txt
```And run the script:
```bash
python -m bridger
```## Node Setup
To get your Meshtastic node to send metrics to the MQTT broker you will need to set the following settings:
MQTT Module:
* Enabled: `Checked`
* MQTT Server Address: `mqtt.austinmesh.org`
* MQTT Username:
* MQTT Password:
* Encryption Enabled: `Unchecked`
* JSON Enabled: `Unchecked`
* TLS Enabled: `Unchecked`
* Root topic: `egr/home`Primary Channel:
* Uplink Enabled: `Checked`