I am using InfluxDB inside of Thinger. I am sending data using ArduinoJson library to thinger from my NodeMCU (ESP8266). I am sending parameters like SensorID, temperature, location. By default, InfluxDB considers these as field keys. But, I want to convert location parameter from field key to tag key. How can I do that? Or is there any way to directly declare particular parameter as tag key in json string?
I’m not sure. How are you writing data from thinger to InfluxDB? Can you share some resources with me? Are you using grafana? Thank you.