Hi, i have a question it might be confusing at first so please bear with me.
Background
my friend and I are making an mobile app that can monitoring an IoT device, we decided to split the work, he made the IoT device and i made the mobile app that can monitor that IoT device that my friend made.
i discover influxdb Cloud by chance and make a several test to see how it work. within that test i manage to input using mqtt and manage to send it to influxDB cloud and visualize by seeing the graph and table on Data Explorer.
after that test is done i wanted to know how influxdb cloud work as database, and make the app that will use data that had been transformed from influx db into the mobile app and make it so the mobile app can visualize (e.x graph and table) the data. but my search about it not coming to fruition.
Question
following the background statement i have several questions: 1. Since i’m using influxDB 3.x (cloud), is there a documentation about how to integrate InfuxDB 3.x into android mobile app in Kotlin Language?. 2. how do i make it so user using my app can see the data that the app visualize by login in using their account (e.x gmail,slack, … ,etc)?
Optional Questions: 3. influxdb v2.x integration using flux language in left link there repository about influxdb v2.s integration using flux, but i heard about it that flux language is in maintenance mode base on this link Future of Flux, is there another alternative beside using the flux language?
Hope
i hope with this topic, i as a newbie user of influxdb can have an answer to how can we integrate our database in influx with mobile app and maybe make a path so influxdb cloud can integrate with android easier
So if you’re using InfluxDB Severless v3 the client library situation is a lil bit hectic rn. Basically you can query InfluxDB Cloud Severless v3 with flux using the kotlin client library: influxdb-client-java/client-kotlin at master · influxdata/influxdb-client-java · GitHub, so I might start there. (unforuntately you’ll have to learn some basic Flux to use it for querying. Flux is the query language for v2 but v2 only). However InfluxDB v3 Cloud Serverless actually uses the arrow flight for queries. Basically I’d read this to understand the client library situation with the different influxdb versions: Choosing a Client Library When Developing with InfluxDB 3.0 | InfluxData
So actually youll want to use a tag to differentiate users.
Where it might look like tag key = user tag value = user id
The limits for Cloud 3 for number of measurements are: for Serverless it is 500; for Dedicated Customers we will go higher than that, but not sure if we have ever went more than 10,000.
Max columns on Serverless is 200; for Dedicated the max is 2000, I believe. For one table/measurement.
I ran into the same frustration – there really wasn’t an easy way to check my InfluxDB data from my phone without jumping through hoops with client libraries.
So I ended up building a native iOS app that connects directly to InfluxDB (works with Cloud, self-hosted v2, and Serverless). It handles all the auth and query stuff under the hood, so you just point it at your instance and set up charts/widgets.