I know that one of the updates in 106 is the frequency of Tesla updates (making them less frequent by default). After the update though, I’m seeing tons of location polling. It looks like every 15-20 seconds.
I found the same odds here, too. Don’t know why they query the location so frequently. Anyone please look up the codes?
I’m on 0.106.2 now, and the behavior is still the same. I’m not sure what to do to correct it.
It’s looking like it updates consistently every 16 seconds, regardless of what I set the value of scan_interval to in the config.
@alandtse - I saw that you did the commit for the update in scan frequency. Any idea what might be going on here?
This is a change because of 106.x, not changes in the component. Essentially, every device_tracker update is now logged even if the data doesn’t change. From a Tesla API perspective, we’re not hitting the Tesla API any more frequently, it’s just the component is using the cached copy of the data and now it’s getting logged. The temporary work around is to not log the device tracker updates until we rewrite the component not to rely on polling.
Ahhh! That makes sense. Thank you for taking the time to explain what’s going on with it. I’ll update logger the way you specified.
Thank you for all of your work on the integration. It works really well!
I have tried to change the logger, but for some reason i cannot get it to stop. is there something i am missing in my code?
logger:
default: critical
logs:
#Log Level for Tesla Location
homeassistant.components.device_tracker.toms_car_location_tracker: warn
It’s not the logger, it’s the recorder where the exclusion has to be done. I don’t know if it will work on a specific entity level though.
Hi there, how to stop log the device tracker updates? It is quite noising. Thanks.
Try updating to 0.106.5 - some fixes were added that might help.