Skip to content

Conversation

@pral2a
Copy link
Member

@pral2a pral2a commented Jul 6, 2025

This PR introduces an example script mqtt_bridge.py that connects to a Meshtastic MQTT broker, subscribes to specified topics, and processes incoming packets. The script supports optional decryption of encrypted payloads using a key from environment variables. It parses protobuf messages, maps sensor data to IDs, and formats timestamps for further processing. Environment variables for broker connection and topics are loaded via dotenv. This example demonstrates how to bridge Meshtastic MQTT data for integration with other systems.

pral2a added 3 commits July 6, 2025 14:38
This script connects to a Meshtastic MQTT broker, subscribes to specified topics, and processes incoming packets. It supports optional decryption of encrypted payloads using a key from environment variables. The script parses and transforms protobuf messages, mapping sensor data to IDs and formatting timestamps. Environment variables for broker connection and topics are loaded via dotenv. The script demonstrates how to bridge Meshtastic MQTT data for further processing or integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant