Hätte da auch noch was, und zwar Daten eines PAX-Counters. Wenn ichs richtig verstanden habe sollte das ggf. schon ohne magic (automatische device / TTN-application-Referenzierung) wie bei Stefan funktionieren, muss ich mal testen, hier der data-Teil der payload:
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
"end_device_ids": {
"device_id": "eui-70b3d57ed005dac6",
"application_ids": {
"application_id": "test-lopy4-paxcounter"
},
"dev_eui": "70B3D57ED005DAC6",
"join_eui": "1561897126894563",
"dev_addr": "260B3993"
},
"correlation_ids": [
"as:up:01H169DDCAXDJ6VKV0CTKAEQYR",
"gs:conn:01H160YDQRFQ6Z3DV6K4TMRCMA",
"gs:up:host:01H160YDQYEA797TNT10R7N3D1",
"gs:uplink:01H169DD5SY9VG9C30JSGREQ47",
"ns:uplink:01H169DD5T7MSVAE6AY1SVVCXY",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01H169DD5S2EDF2V5XQR0EP6CK",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01H169DDCAF7MQX062AXHN1W9J"
],
"received_at": "2023-05-24T07:08:45.322360810Z",
"uplink_message": {
"session_key_id": "AYhMafaKiTqKIkKM6GTZ5w==",
"f_port": 1,
"f_cnt": 52,
"frm_payload": "AQABAA==",
"decoded_payload": {
"ble": 1,
"bytes": [
1,
0,
1,
0
],
"pax": 2,
"port": 1,
"wifi": 1
},
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "ttig-cgruber",
"eui": "58A0CBFFFE800CFA"
},
"time": "2023-05-24T07:08:45.038361072Z",
"timestamp": 287963436,
"rssi": -74,
"channel_rssi": -74,
"snr": 8,
"location": {
"latitude": 52.52666243033787,
"longitude": 13.697235367913564,
"altitude": 64,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "ChoKGAoMdHRpZy1jZ3J1YmVyEghYoMv//oAM+hCs8qeJARoLCP3vtqMGEP6w9zUg4KfV37CCAg==",
"received_at": "2023-05-24T07:08:45.075968299Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "867500000",
"timestamp": 287963436,
"time": "2023-05-24T07:08:45.038361072Z"
},
"received_at": "2023-05-24T07:08:45.114172984Z",
"consumed_airtime": "0.051456s",
"version_ids": {
"brand_id": "opensource",
"model_id": "esp32-paxcounter",
"hardware_version": "_unknown_hw_version_",
"firmware_version": "3.0.0",
"band_id": "EU_863_870"
},
"network_ids": {
"net_id": "000013",
"tenant_id": "ttn",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.network"
}
}
},