I completely agree with you on the Arduino MKRWAN 1310 board; Chirpstack cannot break down and decode any sensor data despite valid hex payloads; that is definitely a scripting issue.
However, with the Dragino, Chirpstack does decode, interpret, and chart the sensor data. I agree, it’s odd that it doesn’t label the incoming data fields, but it does detect the field data, creates fields in Chirpstack, and then posts data to the fields as new data arrives.
See below… The first image are the fields that were auto-created by Chirpstack based on incoming data, the second graphic is data posting to the same fields as device metrics.
Thanks for your assistance… I posted the JSON decode script for both the Dragino and Arduino; if you can find any errors and/or corrections, I appreciate the help. I will re-test any suggestions and post the results immediately, usually within a few hours.
Thank you, and thanks also to SP193 for being patient with me and working with me to success. I have three Arduino MKRWAN 1310s collecting dust in a box for two years, and they can finally be integrated.
I may have some other problems down the road, but this one was a major roadblock that’s now resolved.