Hello,
I need to decode payload outside of TTN (over node-red or thingsboard).
But I can’t find the TTN setting to received the payload.
I have tried with “HTTP integration” (from TTN to HTTP callback server) and"TTN integration connector" in thingsboard but the problem is still the same:
I get only “payload_raw”, not payload I show in red bellow:
For example, in HTTP callback I have:
BODY
{ mode: ‘JSON’ }
HEADERS
{ host: xxxxxxxxxx’,
‘user-agent’: ‘http-ttn/2.6.0’,
‘content-length’: ‘677’,
‘content-type’: ‘application/json’,
‘accept-encoding’: ‘gzip’ }
BODY
{ app_id: ‘xxxxxx’,
dev_id: ‘xxxxxxxx’,
hardware_serial: ‘xxxxxxxxxx’,
port: 3,
counter: 190,
payload_raw: ‘AdyBBoIs/RM=’,
payload_fields: { port: 3 },
metadata:
{ time: ‘2019-10-26T07:16:06.512317647Z’,
frequency: 867.3,
modulation: ‘LORA’,
data_rate: ‘SF7BW125’,
coding_rate: ‘4/5’,
gateways:
[ { gtw_id: ‘eui-xxxxxxxxx’,
timestamp: 2063664339,
time: ‘2019-10-26T07:16:06.489734Z’,
channel: 4,
rssi: -66,
snr: 10,
rf_chain: 0,
latitude: xxxxxxxx,
longitude: 3.9148493,
location_source: ‘registry’ } ] },
downlink_url:
‘https://integrations.thethingsnetwork.org/ttn-eu/api/v2/down/xxxxxxx’ }
Can you tell how to get “payload” please ?
Have a good day!
Loic