Including Gateway ID in Device Data

Hi,

I am wondering if it’s possible to include the gw_id in the payload_format for a device?

I can see it when looking at a device in the console / data in the things network but would like to persist it if possible

Thanks
Sean

If you use HTTP integration, all gateways that received the packet are always included in the JSON message.

See also Access Metadata in decoder.

Aside, like @UdLoRa noted: you might get multiple gateways for a single packet.

Thanks, I’ll setup an node endpoint.