Closed jata1 closed 8 months ago
Hey there @ludeeus, mind taking a look at this issue as it has been labeled with an integration (traccar_server
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
traccar_server documentation traccar_server source (message by IssueLinks)
Please attach the diagnostic dump from the integration or that device.
Please attach the diagnostic dump from the integration or that device.
Do you mean turn on debug logging for the integration and post the log file after collecting some data?
if not, then please let me know how to do diagnostic dump!
Here is an example of how to get that file https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics
I also wanted to say that you are doing good work with this integration. So thank you!
Please let me know if you need anything more from me to help.
I see the problem(s).
fixTime
is not a calculated device/position attribute, that is a part of the object response. So that will not work.speedLimit
, you have that for both the device and the position, and the integration uses the first hit, which is the device in this case, which only shows 0
. You need to remove that from the device in the traccar server if you want the attribute of the position to start being used.I see. Thanks. I must have changed some settings on the device inside traccar trying to get speedLimit working.
So now I only have speedLimit attribute setup for the server and not my devices. Is this what you mean by 'position'?
Yes, the "position" is the data that the server provides to the integration whenever a checkin is done. So if you now have removed it from the device inside traccar it should be working from the next restart of Home Assistant (unless traccar caches that data).
That’s great. It seems to be working now. Thank you!
I am using this speed limit data from Traccar to monitor actual driving speed vs limit to flag when my son is driving too fast.
Is this a good approach or do you have other suggestions?
That I can not answer for you. Whatever gives you the information/data you need would be a good approach.
Understood. Thanks for your help.
Is there a Traccar server topic/thread on the home assistant community that you or other SMEs monitor? I haven’t really found an active one to post questions so far
You should create your own topic (and preferably 1 for each question). That way it is contained to your question(s).
The problem
I think since the last update to HA core (2024.3.3), the custom attribute - speedLimit - is no longer being passed to HA. This was working previously and has stopped working.
What version of Home Assistant Core has the issue?
2024.3.3
What was the last working version of Home Assistant Core?
2024.3.1
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Traccar Server
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I have been testing this over the last few weeks and although speed limit is working in traccar, this information is no longer being passed to HA via the integration.
In addition, I have found other custom attribute (e.g. fixTime) are not being passed at all (and never have for me) - it shows up as unavailable in the device_tracker entity in HA.
SpeedLimit comes through as 0 even when traccar is correctly identifying exceeding speed limit events.
Here is the screenshot of my integration config.
and in traccar...