Where is received device-data stored?

Viewed 12

I'm currently planning to write a script. I have a device that uploads data every 24 hours. I want to know where this data is stored in the background of ChirpStack.
I need to know this API in order to write this script. To put it simply, I just want to know where the 24 messages I reported to the chirpstack backend for a certain device were placed in the past 24 hours.
I would like to know about this API.

1 Answers

ChirpStack does not store the received device-data for you. What you need to do is setup one of the available integrations.

By default the MQTT integration is enabled, but you will only receive data when you subscribe to the MQTT topic(s). The MQTT broker does not store historic data for you.

If you want to run a script e.g. every 24 hours to poll data, you might for example want to setup the PostgreSQL integration. See also: https://www.chirpstack.io/docs/chirpstack/integrations/postgresql.html