Skip to content

Conversation

@oscgonfer
Copy link

@oscgonfer oscgonfer commented Feb 8, 2026

This is a pull request to add sensor configuration commands for the new sensors implemented in the Air Quality module and which available configs are in the admin.proto already: https://github.com/meshtastic/protobufs/blob/master/meshtastic/admin.proto#L644-L654

However, I have the feeling that I am doing something wrong while parsing the options, as I assume there must be some sort of better option than manually typing all of them... (see https://github.com/fablabbcn/meshtastic-python/blob/b54ac0e0f0aaee60c5a54069e47bbb6c7818447a/meshtastic/node.py#L980-L1021)

An example of what I am doing to test this is:

meshtastic --sensor-config scd4x_config.factory_reset true --host 192.168.1.136

Which successfully reaches the node and gets processed via admin command.

@oscgonfer oscgonfer marked this pull request as draft February 8, 2026 17:18
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