v2 used to include “attributes” in MQTT messages. See actual example (with december warning by the way):
“attributes”:
{
“deepness”:“6.7”,
“dev_id_knd”:"",
“warning”:“The Things Network V2 is shutting down in December 2021. Migrate to V3 NOW!”
}
V3 doesn’t (tried with the ‘#’ topic)
Is this intentional or forgotten in the implementation?
In short: device attributes are not passed in the uplink with TTN v3. Not sending them avoids an extra backend database access for every device uplink. You can use the end device API to fetch the attributes at some interval (and cache them locally).