Monitoring bandwidth use per device

During trials I want to monitor the bandwidth that devices use. The devices in question only communicate when in active use. Their payloads vary in length.

Accessing the data via MQTT I see metadata like this

{
     time: '2018-07-18T07:37:38.635369955Z',
     frequency: 868.1,
     modulation: 'LORA',
     data_rate: 'SF7BW125',
     airtime: 51456000,
     coding_rate: '4/5',
     gateways: [ [Object] ] 
} 

Can someone please clarify the precise meaning of the airtime and data_rate parameters please.

Hi, I suggest you to first have a look on “Duty cycle” and “Modulation and Data Rate” chapter

https://www.thethingsnetwork.org/docs/lorawan/

And https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html

(…) Finally, on The Things Network’s public community network, we have a Fair Access Policy that limits the uplink airtime to 30 seconds per day (24 hours) per node and the downlink messages to 10 messages per day (24 hours) per node.

At first glance, monitoring airtime is more relevant than bandwidth use.

1 Like

Thx @Couin

Yes. I have studied those documents. This is about monitoring during trials to know how well each device is adhering to the guidelines. The monitoring calculations need to take the above values into account and interpret them properly.