ttnmapper / ttnmapper-android-v3

The 3rd rewrite of the Android mapping app
GNU General Public License v3.0
8 stars 8 forks source link

Chirpstack & Helium #33

Open nikito7 opened 3 weeks ago

nikito7 commented 3 weeks ago

Any plans for add decoding of json?

App expects default chirpstack payload.

Screenshot_20240609_135616_TTN Mapper

{
  "app_eui": "0000000000000000",
  "dev_eui": "70b3d57ed0063000",
  "devaddr": "48000000",
  "id": "0000xxx",
  "name": "ADC1",
  "decoded": {
    "payload": {
      "ADC": 607.0,
      "Volt": 3.556640625,
      "txFail": 0.0
    },
    "status": "success"
  },
  "fcnt": 2753,
  "port": 70,
  "payload": "xxxx",
  "reported_at": 1717938063023,
  "dc": {
    "balance": 0,
    "nonce": 0
  },
  "downlink_url": "xxxx",
  "hotspots": [
    {
      "id": "xxxx",
      "name": "xxx",
      "channel": 0,
      "frequency": 868.1,
      "lat": 0.000,
      "reported_at": 1717938063023,
      "rssi": -73.0,
      "snr": 13.5,
      "spreading": "SF7BW125",
      "status": "success",
      "long": 0.0000
    }
  ],
  "metadata": {
    "labels": [
      {
        "id": "000",
        "name": "xxx",
        "organization_id": "xxx"
      }
    ],
    "organization_id": "xxx",
    "multi_buy": 0,
    "rx_delay": 0,
    "rx_delay_actual": 0,
    "rx_delay_state": null
  },
  "uuid": "xxx",
  "type": "uplink"
}
nikito7 commented 3 weeks ago

It's helium-iot.xyz 'http forwarding to mqtt' that changes payload...