Skip to content

feat: cli to query sensor running on the node#2830

Open
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:sensor-cli
Open

feat: cli to query sensor running on the node#2830
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:sensor-cli

Conversation

@NickDunklee

@NickDunklee NickDunklee commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Adds one command: sensors

  • Can access via CLI on repeater, sensor, room server
  • lists sensor, channel, and i2c address
  • format example: ch2: BME680+BSEC @ 0x76
  • Channel numbering mirrors the order querySensors() assigns at runtime.

This is one part of a 2-part addition per some feedback on the initial sensor change deployment, so people can query/scan their installed sensors.

Accessible via USB CLI and LoRa MeshCore app CLI.

Tested on:

  • RAK19003 repeater via LoRa in official MC app
  • RAK19007 repeater via LoRa in official MC app
  • RAK19001 sensor via USB
  • RAK3401 1W repeater via LoRa in official MC app
sensor-admin Example from in app. (The other command will be in a subsequent PR.)

Adds one command: sensors

  - Can access via CLI on repeater, sensor, room server
  - lists sensor, channel, and i2c address
  - format example: ch2: BME680+BSEC @ 0x76
  - Channel numbering mirrors the order querySensors()
    assigns at runtime.

This is one part of a 2-part addition per some feedback on the
initial sensor change deployment, so people can query/scan their
installed sensors.

Accessible via USB CLI and LoRa MeshCore app CLI.

Tested on:

- RAK19003 repeater via LoRa in official MC app
- RAK19007 repeater via LoRa in official MC app
- RAK19001 sensor via USB
- RAK3401 1W repeater via LoRa in official MC app
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