I was able to add “speed”, “motion” and “batteryLevel” as attributes to my traccar device_trackers.
These attributes would be very helpful to have in this new traccar component.
Nice to be able to have automations reacting on motion=true, speed>120 or batteryLevel<20 for example.
This will require creating a component to do API handling and communication to the platforms.
I do not see myself doing that anytime soon, but others are most welcome to do so
If someone is going to work on this it might be good to know that the speed that is reported from the traccar server is reported i knots, no matter what you have set inside the traccar server UI.
As far as my experience that only change the speed unit in the web ui and atleast the android traccar server app (i guess that app only wrap the web ui)
same here… wonder why the custom component was never used in the integration as opposed to starting from what I can see is a new component from scratch? Surely the custom component can be integrated as an official component?
Please include “Total Distance” attribute too. I plan to put one smartphone with traccar in my car. If HA can get the value of the total distance travelled, then I can create an automation to remind me to send the car for servicing when it hits certain value.