Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traccar: wrong status & battery_level after 2024.5 (and position as well) #116628

Open
ildar170975 opened this issue May 2, 2024 · 4 comments
Open

Comments

@ildar170975
Copy link

The problem

In 2024.5 for all my devices - status & battery_level are wrong.

Take this:
image

which is in fact (from a web page)
image
(and battery_level is a correct value)

Or this:
image
which is in fact:
image

Or this:
image
with this history for the status:
image
although the device was seen a few minute ago in fact:
image
and it's last status was
image

No messages in Log:
image

What version of Home Assistant Core has the issue?

2024.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

traccar server

Link to integration documentation on our website

https://www.home-assistant.io/integrations/traccar_server/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented May 2, 2024

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!

Code owner commands

Code owners of traccar_server can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign traccar_server Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


traccar_server documentation
traccar_server source
(message by IssueLinks)

@ildar170975
Copy link
Author

ildar170975 commented May 2, 2024

After a manual reloading the integration - info is valid again.
But the issue is that data should not become invalid.

If anything prevents the integration to work properly (internet issues, timeouts etc) - there are should be corr. messages in Log.

@ildar170975
Copy link
Author

ildar170975 commented May 2, 2024

And binary_sensors for "status" are unknown - WTH?
This sensors for status LOOKS normal:
image

In fact some of them are unknown:
image

And this is not just a "displayed state" - it seems to be a real state:
image

The source value could be online or unknown - then WTH a binary_sensor is used?
Why not a sensor?
If you have chosen a binary_sensor - then make it on / off, not on / unknown.

Hint: the unknown state in considered by users as "there is smth wrong with my sensor".
In this particular case the unknown value for a source status is absolutely normal value - it merely means "no updates from a device within some period".

@ildar170975 ildar170975 changed the title Traccar: wrong status & battery_level after 2024.5 Traccar: wrong status & battery_level after 2024.5 (and position as well) May 6, 2024
@ildar170975
Copy link
Author

Moreover - a device_tracker state becomes outdated as well, even when a status sensor is ON.
Before 2024.5 it was working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants