I don't think we support arbitrary data currently.
how do I add custom fields then? It shows ok when using other protocols though
Using other protocols? What do you mean?
The Fact is: "extras": {} is mentioned in Traccar documentation
Are you saying that:
"extras": {"fuel_level": "98, "obd_speed": "0"}, because there is a different list of supported attributes ? or"extras": {} and we should left it empty ?I guess the second.
I meant other protocols like h02.
My other device is using h02 and is sending custom fields in the url and it's being shown without any problems.
I realised that if you send like:
curl -X POST "http://{traccar server}:5055/?id={imei}&lat=-6.412725&lon=-36.776399×tamp=$(date +%s)000&who_sent_it=jimi&does_it_work=yes_it_does"
it will be sent to attributes field in the public.tc_positions table
Hello! I'm trying to utilize extras field from osmand protocol: https://www.traccar.org/osmand/
I am sending
{"extras": "street_name": "Whatever"}alongside other fields, but it's not displayed on the traccar web. What am I doing wrong? thanks.