Hi
I have installed a ttn package in node red and connected uplink node to my ttn application. My problem is how to get right values in node red.
In node red I can see that I receive a payload but it is not the same as the one I see in ttn console.
why ?
Here an example
in ttn console I see the following
payload BE1945512090008570403809080EB0
with
fields
{
"battery_level": 3760,
"dl_counter": 8,
"gps_quality": "Poor",
"hdop": 3,
"lati_hemisphere": "North",
"latitude": 45.85348333333334,
"latitude_dmm": "N 45°51.209",
"long_hemisphere": "East",
"longitude": 8.950666666666667,
"longitude_dmm": "E 008°57.04",
"payload": "BE1945512090008570403809080EB0",
"sats": 8,
"temperature": 25,
"trigger": "pushbutton",
"ul_counter": 9
}
I am using a decoder
in node red I see
msg : Object
object
dev_id: "field_tester"
payload: object
payload: "YO5YASYDCAACCgEGOo6i"
message: object
app_id: "stabio_signal"
dev_id: "field_tester"
port: 0
gateway_id: "amstabio001"
config: object
modulation: "LORA"
data_rate: "SF9BW125"
airtime: 164864000
counter: 8
frequency: 869525000
power: 27
_msgid: "404babea.7db164"
how can I get fields as in ttn console or the string decoded ? maybe i am using wrong node ?
not sure I am receiving all the payload ..
if you have a flow example would be great.
thanks a lot
kind regs
gp