Hello,
I am sorry for the novice question, but hoping someone can help.
I receive a JSON payload over MQTT from Chirpstack. What I would like to do is place these values into a google sheets spreadsheet.
So far I have managed to make the connection and the data is flowing, however everything is in the same cell as follows
{"applicationID":"15","applicationName":"Network-testing","deviceName":"AN106","deviceProfileName":"winextfieldtester","deviceProfileID":"REDACTED","devEUI":"REDACTED","rxInfo":[{"gatewayID":"REDACTED","uplinkID":"REDACTED","name":"Laird_1","rssi":-67,"loRaSNR":7,"location":{"latitude":49.16510074802484,"longitude":REDACTED,"altitude":5}}],"txInfo":{"frequency":868300000,"dr":1},"adr":false,"fCnt":589,"fPort":5,"data":"AAAAAAAA//8=","object":{"accuracy":0,"altitude":65535,"latitude":0,"longitude":0}}
Ideally, what I would like as columns is:
Timestamp, Latitude, Longitude, rssi, altitude and gateway name
The JSON looks like this:
{
"applicationID" : "15",
"applicationName" : "Network-testing",
"deviceName" : "AN106",
"deviceProfileName" : "winextfieldtester",
"deviceProfileID" : "REDACTED",
"devEUI" : "REDACTED",
"rxInfo" : [ {
"gatewayID" : "REDACTED",
"uplinkID" : "c837a066-a1c8-4520-829d-c403249a2181",
"name" : "Laird_1",
"rssi" : -67,
"loRaSNR" : 7,
"location" : {
"latitude" : REDACTED,
"longitude" : REDACTED,
"altitude" : 5
}
} ],
"txInfo" : {
"frequency" : 868300000,
"dr" : 1
},
"adr" : false,
"fCnt" : 589,
"fPort" : 5,
"data" : "AAAAAAAA//8=",
"object" : {
"accuracy" : 0,
"altitude" : 65535,
"latitude" : 0,
"longitude" : 0
}
}
I would be most grateful for any help anyone may be able to offer.
Many thanks