How to see sensors related to specific gateway

Hi,

Is there a way to see a list of sensors that are currently or has communicated with a certain gateway?

I’ve tried to see if this is possible thourgh API but cannot find anything. I know that there is a way to see the raw lora wan data in chirpstack and see devEUIs through there but this these get removed after about 10 messages.

Any ideas? Any help is appreciated :slight_smile:

As you have stated, Chirpstack does not store data for long, so getting this for historic data past the 10ish previous uplinks is not possible.

However if you want to do this in real time, you could subscribe to the MQTT broker and pull the gatewayEUI + devEUI from the JSON message with each uplink, filtering for a single gateway if you wish. (Subscribe to “application/#” to get the decoded data).

You could also enable the SQL integration to store all future uplinks into an SQL database, that would also have the associated gateway EUIs with each uplink so you could retrieve the data based on that.

Indeed. It’s starting to look like the built in integrations is the way to go.