meshtastic / ATAK-Plugin

ATAK Plugin for sending CoT to IMeshService
GNU General Public License v3.0
170 stars 19 forks source link

Environment Metrics - report data without attached sensors #17

Closed daskalovst closed 4 months ago

daskalovst commented 7 months ago

In the remarks section, there are Environment Metrics even if the node doesn't have an attached sensor. For instance, it might show "temperature 1.4E-45," which clearly indicates the measurement is 0, and "humidity 1.9612345E23," indicating a measurement outside the theoretically possible range.

Here are some proposals for improvement:

Include only available data dynamically in the remarks field. Round the values to appropriate tolerances based on datasheets of the sensors attached.

niccellular commented 7 months ago

PR's welcome.