-
-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Tractive integration not working. #111457
Comments
Hey there @Danielhiversen, @zhulik, @bieniu, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) tractive documentation |
I am also facing this issue. It keeps saying "failed setup, will retry". Have tried to restart and uninstall and reinstall integration, but still no luck. There were issues last year around "too many requests", but I'm not sure if this is the same problem. Is there another version we can use? I just need presence detection. |
@alexandertonino There are 6 animals configured on your account, so you receive a |
Is it possible to get a customised plugin? I only have one tracker and just need to know if it's home or not. That should reduce the API requests significantly? |
What do you mean? You can use |
Thanks, I'm looking for a Home Assistant plugin that only checks the location of the device, I don't need the other things like battery status, inside wifi zone etc. I assume this will reduce the chance of there being timeouts? I have quite a lot of automations set up to trigger when my pet is not at home and at the moment, none of them are triggering. Is thre a quick and dirty way to get location updates into Home Assistant? It doesn't even matter if the timeout period is something like 5 minutes or so. thanks |
Hi. Are you still experiencing this problem? |
Hi @Raouzer Sorry for tagging you directly. Are you still experiencing the |
Due to the fact that the PR fixing the problem in the backand library has remained unanswered for many months, I have prepared a workaround for the problem on the HA side. Is anyone able to test them? This zip must be unpacked into the |
Hi, Yes I have the problem again since 2024.05. Before, I was still able to retrieve information from one tracker (Others are disabled on HA) . I am currently in 2024.05.1. I will wait for the 2024.06 release to test your solution. Regards |
Hi bieniu, i juste updated my Home assistant to 2024.6. First after the update, whitout unzip the library, the tractive integration failed to setup. After unzip de library, i have always the same result.
Regards |
Please attach a log file. |
Hi, Logs here Removed Regards |
First of all, please notice that three custom integrations ( Please use this custom version: tractive_too_many_requests_fix_v2.zip |
Try this one tractive_too_many_requests_fix_v3.zip Add this to your logger:
default: error
logs:
aiotractive: debug
custom_components.tractive: debug |
It seems that Tractive changed |
Looking at the log, the integration setup was successful, the |
Hi, After 12h, all devices and entities are unavailables. Logs here: Removed Regards |
Hi, New logs : After a restart, i have two possible results:
Regards |
Hmm that's strange 🤔 |
Hi, At the moment, i have only one devices and entites linked available on tractive integration. But on log, i can see data from others devices... If that can help you. Logs : Removed Regards |
Let's try a different approach... tractive_too_many_requests_fix_v7.zip |
Hi, Unfortunatly, the integration can't setup. Logs Removed Regards |
This comment was marked as off-topic.
This comment was marked as off-topic.
What do yo mean? I can see that integration works and 6 trackers get events from the Tractive API. |
I increased sleep time, please test and attach the log file tractive_too_many_requests_fix_v8.zip |
Last log was totally different, did you get the right file? |
Hum, I'm having a lot of slowness at the moment on HA. I deleted the custom tractive folder to verify that this was not the cause. I also did update 2024.6.3 to fix a bug on Unify protect. This is the last file. Regards |
One more version tractive_too_many_requests_fix_v9.zip |
This is very good news! The worse part is that I had to modify the backend library to achieve this. We need to reach the author of aiotractive to resolve this issue. |
Hi, Intregration back available after a manual reload :) . I have to wait 10 - 15 minutes after the HA restart to do this manual reload. If i do it too early that's not working. home-assistant_2024-06-20T14-16-41.794Z.log regards |
Based on the log, I can say that there were a lot of "too many requests" errors, but eventually the integration was configured for all trackers. Entities should become available when the API sends new data. If you restart HA frequently, you will often receive "too many requests" errors. There's nothing we can do about it. |
The problem
Hi,
I have this issue for a while now: Positions are not shown, battery percentage and other sensors are not loaded correctly.
I have 4 devices from tractive.
What version of Home Assistant Core has the issue?
core-2024.2.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
tractive
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tractive/
Diagnostics information
home-assistant_tractive_2024-02-26T08-16-17.243Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: