Affirmatech / MeshSense

MeshSense directly connects to your Meshtastic node via Bluetooth or WiFi and continuously provides information to assess the health of your mesh network.
https://affirmatech.com/meshsense
GNU General Public License v3.0
46 stars 6 forks source link

Not able to find Environmental Telemetry logs #25

Open jasgroupit opened 1 month ago

jasgroupit commented 1 month ago

I have several nodes setup with one main node to view the data of my other nodes which i use in a farm. but i am not able to see telemetry app logs regarding environmental data

Soltares commented 1 month ago

The TELEMETRY_APP packet type includes the following data:

  "deviceMetrics": {
    "batteryLevel": 101,
    "voltage": 4.150000095367432,
    "airUtilTx": 1.9475831985473633,
    "uptimeSeconds": 46925
  }

Is airUtilTx what you are looking to be displayed or are you looking for different metrics?

For displaying channel utilization, PR #10 is currently in the works.

Kealper commented 1 month ago

I'm just guessing since it's a bit ambiguous but they may be talking about the telemetry coming from the environmental and power metrics in the Telemetry module. Stuff like temperature, humidity, pressure, current draw, etc., from I2C sensors that can be added.

jasgroupit commented 1 month ago

Yes exactly that, temperature humidity pressure etc. Is there a way to display this ?

lupusworax commented 3 days ago

Same Request and issue. As of now a node that functions perfectly with a BME280 shows the following:

{ "num": 3306578313, "user": { "id": "!c5166189", "longName": "Lupus Worax 6189", "shortName": "🐺", "macaddr": "5NrFFmGJ", "hwModel": "HELTEC_MESH_NODE_T114", "isLicensed": false, "role": "CLIENT", "publicKey": "R3Lx2m/TVSMQDLASID=8363dDvaQdmJrg8+Ho=" }, "position": { "latitudeI": 477885538, "longitudeI": 137496299, "altitude": 210, "time": 1731941595, "locationSource": "LOC_UNSET", "altitudeSource": "ALT_UNSET", "timestamp": 0, "timestampMillisAdjust": 0, "PDOP": 0, "HDOP": 0, "VDOP": 0, "gpsAccuracy": 0, "groundSpeed": 0, "groundTrack": 0, "fixQuality": 0, "fixType": 0, "satsInView": 0, "sensorId": 0, "nextUpdate": 0, "seqNumber": 0, "precisionBits": 32 }, "snr": 6.5, "lastHeard": 1731941591.13, "deviceMetrics": { "batteryLevel": 78, "voltage": 3.9730000495910645, "channelUtilization": 4.791666507720947, "airUtilTx": 0.2473333328962326, "uptimeSeconds": 98516 }, "channel": 0, "viaMqtt": false, "hopsAway": 0, "isFavorite": false, "rssi": -53, "trace": null }

Soltares commented 3 days ago

Environmental data appears to come from the environmentMetrics Telemetry Message type. Will attempt to capture this and attach to the tracked Node information.

https://js.meshtastic.org/types/Protobuf.Telemetry.Telemetry.html

Soltares commented 1 day ago

Successfully captured some data with the latest dev build!

  "environmentMetrics": {
    "temperature": 15.008466720581055,
    "relativeHumidity": 53.141929626464844,
    "barometricPressure": 1004.330810546875,
    "gasResistance": 624.9585571289062,
    "iaq": 133
  }
lupusworax commented 1 day ago

Successfully captured some data with the latest dev build!

  "environmentMetrics": {
    "temperature": 15.008466720581055,
    "relativeHumidity": 53.141929626464844,
    "barometricPressure": 1004.330810546875,
    "gasResistance": 624.9585571289062,
    "iaq": 133
  }

Thats freaking awesome! 💯 cant wait to see it pop up with the next ( hopefully) update