But when I do that the tracking is not working anymore. The devices are still listed and refreshed in known_devices.yaml but the status icons are not refreshed anymore on the homepage.
Trying to get this work with my hassbian install. Basically it works, but it keeps asking on my freebox revolution if i’m OK to associate the hassbian application every 30 seconds…
So i decided to fix the freebox platform in my config but now i have as log : get_session_token failed
I checked the host and port, everything seems to be correct.
When i fix the values in the config, there’s no popup at all on the freebox.
It looks like the storage of the authentication token is not done correctly. It should be saved in a file called “freebox.conf” inside the home Assistant configuration directory; could you check if there is such a file there, and if there isn’t, check if Home Assistant has write access to this directory?
@stilllman mais oui !
Thanks a lot, the file was here and i probably done something wrong with the rights on the configuration folder.I’ve deleted it and now it asked again on the freebox with the discovery and it asked only 1 time
Thanks again for this quick and good answer, and also for the work done on this project.
Edit : oops, i spoke a bit fast, i see few seconds later my answer that the freebox keeps asking for auth… and in the web interface of the router i see many auth failures (because i don’t confirm the access each time…)
@SNoof85 The content of the file seems correct, so the problem probably lies elsewhere. The library used to connect to the Freebox lacks some logging to help identify the issue, I’ll try to add some and keep you posted when I do, so that we can troubleshoot the issue. In the meantime, can you tell me what version of the Freebox you have? Not sure this is very relevant, but the more info, the easier it will be to understand what is going on
You’re absolutely right, i shoud have start with all details.
I’m running hassbian up to date (system & HA) on a wired raspberry pi 3 B+.
The router is a freebox revolution r1 (3.5.2 firmware), rebooted during the issue to check if it was not from the router.
As a workaround at the moment i disabled the new applications associations on the router and it’s still working (status of tracked devices are up to date since few days with this).
It looks like Home Assistant is trying to initialize the device tracker before initializing the Freebox component. The great @SNoof85 has made some changes a few releases ago to start implementing new features (upload/download sensors, wifi switch, etc.), maybe you haven’t updated your configuration after the breaking change? The configuration used to be
Hi !
If you are running hassio, i would suggest you to use the check configuration addon before any upgrade That would avoid these kind of issues if you have no time to explore all breaking changes
If you read the docs it’s clearly stated that you have to use the API domain Wich is an external address. And FYI the integration can be configured without any yaml input. You can add freebox from the frontend.
I don’t have anymore any freebox at home. But normally as it’s now configured via UI the consider_home should be on the options of the freebox integration. (i’m using unifi and it’s in the integration options)
But i’m not sure it is implemented on freebox device tracker platform.