Device vs config attribute

Ronald11 days 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 Tananaev11 days ago

Attribute set on the device should take precedence over configuration.

Ronald10 days 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 Tananaev10 days ago

Which type did you select?

Ronald10 days ago

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

Anton Tananaev10 days ago

Yes, of course it's a number.