Skip to content

Conversation

@oscgonfer
Copy link

This is a draft PR to test out a new approach for admin commands specific to sensors. Some sensors (detailed in here: fablabbcn/smartcitizen-meshtastic#12) require commands to set calibration parameters and other fields needed for operation of the sensor.

This is linked to: meshtastic/firmware#7198 and to meshtastic/protobufs#746

@oscgonfer oscgonfer marked this pull request as draft July 29, 2025 13:30
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.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ oscgonfer
❌ pral2a
You have signed the CLA already but the status is still pending? Let us recheck it.

@oscgonfer oscgonfer closed this Feb 8, 2026
@oscgonfer oscgonfer deleted the feat/add-sensor-admin-commands branch February 8, 2026 17:20
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.

3 participants