TheThingsArchive / ttn

The Things Network Stack V2
https://www.thethingsnetwork.org
MIT License
462 stars 276 forks source link

Add airtime to message metadata #682

Closed gonzalocasas closed 6 years ago

gonzalocasas commented 6 years ago

This is a feature request for the backend.

What do you want to do?

I would like to be able to analyze and understand the air time used by each device over time.

What is missing?

The airtime is currently available in the TTN console but only as an on-the-fly calculation (airtime calculator). However, this value is not accessible via any API. It would be very useful to have this value (even if it is an estimate), integrated into the payload of the messages, as part of the metadata.

gonzalocasas commented 6 years ago

Implementation might be linked to #646.

htdvisser commented 6 years ago

I like the idea. Then at least we don't have to worry about inconsistent implementations anymore.

gonzalocasas commented 6 years ago

/cc @maveonair