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

All my sensor entities are "unknown" #131

Open
iainbullock opened this issue Jan 5, 2025 · 15 comments
Open

All my sensor entities are "unknown" #131

iainbullock opened this issue Jan 5, 2025 · 15 comments

Comments

@iainbullock
Copy link
Collaborator

iainbullock commented Jan 5, 2025

All my sensor entities are "unknown"

Screenshot 2025-01-05 104839

Originally posted by @twanjaarsveld in #123 (comment)

@iainbullock
Copy link
Collaborator Author

Press the 'Force Data Update' button. Currently there is no polling, you have to press it manually or get an automation to do it

@twanjaarsveld
Copy link

twanjaarsveld commented Jan 5, 2025

Pressing "Force Data Update" did indeed work for most entities to give me a state.
Screenshot 2025-01-05 115658

@iainbullock
Copy link
Collaborator Author

Thanks for the update. Which entities are still not getitng a state?

@twanjaarsveld
Copy link

Mostly the Window and tire entities

@iainbullock
Copy link
Collaborator Author

If you don't mind perhaps you can provide your docker logs from the time after you press the button? It will help me what the problem is which might affect other users

docker logs -t tesla_ble_mqtt

@twanjaarsveld
Copy link

i installed it as Add on in Home Assitant,
What button do you want me to press?

@iainbullock
Copy link
Collaborator Author

Ah sorry I thought you were using the docker version

@raphmur do you have all entities being reported on your setup?

@twanjaarsveld
Copy link

Screenshot 2025-01-05 180138 Here is the log just after i press "Force Data Update"

@raphmur
Copy link
Collaborator

raphmur commented Jan 5, 2025

@iainbullock all sensors are updated for me.

Be aware, it takes few seconds to complete and they come one by one progressively (the calls are different for battery/tire/windows/...)

@twanjaarsveld maybe wait a little (20sec after force update, if your car is already awake) then post log again

@twanjaarsveld
Copy link

i've waited for more than 20seconds but still the same result
Screenshot 2025-01-05 201306

@raphmur
Copy link
Collaborator

raphmur commented Jan 5, 2025

Strange, it works for me.

@iainbullock , for some reason it stops at Steering wheel heater. Maybe the car is not equiped?

@twanjaarsveld What model have you got? Do you have heated steering?

image

@twanjaarsveld
Copy link

i have a 2019 model 3, it still has a leather steering wheel so its not heated

@iainbullock
Copy link
Collaborator Author

Ok thanks that helps understanding the issue. I will look to fix it tomorrow!

@iainbullock
Copy link
Collaborator Author

iainbullock commented Jan 6, 2025

At the moment if any of the individual states in a given section fails, then the rest of the section doesn't continue, and further sections are not even processed at all.

I hadn't considered that some vehicles have different features (they obviously do of course as this Issue highlights).

I think I will change this so it carries processing all states even if one fails, and just throw up a warning in the log.

There is also a request to be able to update state section individually which will improve performance for some people

tesla-local-control/tesla_ble_mqtt_core#115 (comment)

I will try to include in the next major release assuming you can wait!

@twanjaarsveld
Copy link

I can definitely wait, I'm already happy with it as is

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

No branches or pull requests

3 participants