Device vs config attribute

Ronald a year ago

Greetings
I am kindly asking what happens where an attribute is configured both in the config file and on a specific device with different values, for example i have report.trip.minimalTripDistance with 10 meters in config and report.trip.minimalTripDistance with 900 meters on a specific device (under attributes). This device is still showing trips with less than 900 meters. Does it mean that the config setting overrides the device specific attribute?

Anton Tananaev a year ago

Attribute set on the device should take precedence over configuration.

Ronald a year ago

Thank you Anton. Just to confirm, is this the correct way to add the device attribute? i am thinking that i may have done something wrong as i still have trips lesser than the specified distance on the device:

Device attribute

Anton Tananaev a year ago

Which type did you select?

Ronald a year ago

Hi Anton. I selected "string". Shall i use "Number" instead?

Anton Tananaev a year ago

Yes, of course it's a number.