meshtastic / python

The Python CLI and API for talking to Meshtastic devices
https://meshtastic.org
410 stars 170 forks source link

[Feature Request]: Get signal and environment telemetry #705

Closed overlord23 closed 1 day ago

overlord23 commented 1 day ago

I'm looking to download environment metrics from a BME260 sensor and signal metrics like on the Android app. The closest option I've found is --request-telemetry but includes only the device data

Battery level: 91.00%
Voltage: 4.07 V
Total channel utilization: 0.00%
Transmit air utilization: 0.02%
Uptime: 466 s

It would be nice to have an option for both of them or integrate the data provided by --request-telemetry.

ianmcorvidae commented 1 day ago

This is supported already; you can pass an argument to --request-telemetry, e.g. --request-telemetry environmental

overlord23 commented 12 hours ago

I've checked the meshtastic-cli documentation but didn't find any relevant detail about the arguments available. Thanks fo the hint