You should be able to see it at least in some places.
Thank you for your answer, so traccar is able to show dozens of temperature sensor's values. I've another question, it is possible to create an api that write on the database using the post of traccar api. I created an api but i cannot connect me to the database it always return me connection error, so i wanted to know if it was possible to do a post in database from a new api thanks to traccar api ?
I don't know if it's really clear.
Thanks.
What do you want to write in the database?
I have created a new column named 'weight' in the 'positions' table, I have another application recording different weights in another database and I would like to be able to add this data in my 'weight' column with an api. In this api I managed to get the weights from my database but I didn't manage to connect to the traccar database to add them and I don't know how to do it, and if it's possible, to add them thanks to the traccar api?
Thank you for your answers
You can't add data to existing position via API, if that's what you're trying to do.
What is the problem with the database connection? What database are you using?
I was thinking of two things either adding me to an existing position (not possible then) or adding a new position in the database containing the weight, is this possible?
We have a mysql database like and I made the changes as in the traccar documentation
I try to connect with a mysql.connect with the host, user, password, database and host and it returns me :
errno: -3008,
code: 'ENOTFOUND'
Thanks.
New position you can add using any protocol. For example OsmAnd supports HTTP POST.
Ok, I'm going to find out about it and try to set it up, so I have to use the osmand protocol via the traccar api in order to make a post in the database if I understand correctly?
Thanks for your answers. I will come back to you if I have other problems or questions.
What do you mean by "protocol via the traccar api"? You just use the protocol. It's separate from the API.
Sorry it was a bad formulation. Thank you.
Hello back,
I connected 6 EYE sensors to my FMC 125 thanks to the new firmware from teltonika, this firmware allows to link the eyes sensors thanks to their name and not their mac address. This is done in the form of a list and we can recover the data via the AVL 11317 protocol.
For that I have two questions:
Does traccar take into account this new functionality with the protocol provided for this purpose (I think not because there are only 4 output temperatures and I receive nothing)?
If not, how and where do I have to modify the app so that it can get these 6 or more temperatures in the 'positions' table?
If yes, what am I missing?
Thank you.
Do you have any documentation on the protocol format?
Sure, i have than one -> https://wiki.teltonika-gps.com/view/EYE_SENSOR_/_BTSMP1
If I'm not mistaken, it looks like they information is reported via standard IO attributes, which are supported in Traccar. So if you don't see anything, it means that your device is not reporting anything.
Hello,
I have several FMC920 / FMC125 from teltonika. These devices can now connect up to 100 temperature sensors (Eye sensors) thanks to a new firmware.
I wanted to know if I will have to make changes on the code to display the temperatures in the reports or if the code already allows to display the values of all sensors as for the 4 temperatures already available ?
Thank you