LoraWAN TTN http data to gsheet


this one work, and can parsing field data with json, it first has to run setup. 

also change your payload based on the data field. The problem I met is that the decode data is not shown, same as the down link url

https://blog.squix.org/2017/07/thethingsnetwork-how-to-use-google-spreadsheet-to-log-data.html



this one is another version originated form above.: https://github.com/Uspizig/Ttn-gooogle-script

Nice one:

https://github.com/avbentem/libelium-waspmote-lorawan is a well documented project, there is a section of http to google sheet and run on latest V8 runtime of google app script.https://github.com/avbentem/libelium-waspmote-lorawan/blob/master/src/google-sheets/README.md

the code will send email to sheet owner in case of any error. So make sure you adjust the field property correctly. 


After modification of  row.push fields. part, it works pretty well.

my little question is that since few days, my sensor node always resend 3-4 times as retry. I will look into this.


For these http post to google sheet,the worry is that it seems google doesn't like this integration it show :

Go into the small advanced

and select the last line marked with unsafe then it would work.





Other possibility

https://github.com/alvarowolfx/gcloud-lora-ttn

https://www.hackster.io/fabiocaputo996/google-cloud-based-iot-system-lorawan-ttn-mqtt-4378a4




留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

AIS0. understanding AIS NMEA 0183: How it's coded