Closed Nessy1970 closed 3 years ago
freebox documentation freebox source (message by IssueLinks)
Hey there @hacf-fr, @quentame, mind taking a look at this issue as its been labeled with an integration (freebox
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
Hi !
Do you know HACF ?
French HA community.
Let's join our Discord, we have dev
channels, including dev-freebox
channel 😉 --> https://discord.gg/ZGA5dxjnHq
Do you see an authentication step on your Freebox ?
Have you tried to :
.storage/freebox
directoryThanks.
Hello, It is exactly the same problem. I even deleted Home assistant as an application in the management of freebox access. Here is the HA reboot error message:
Logger: homeassistant.config_entries Source: components/freebox/router.py:69 First occurred: 8:54:22 (1 occurrences) Last logged: 8:54:22
Error setting up entry i9rta3t1.fbxos.fr for freebox Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 239, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File "/usr/src/homeassistant/homeassistant/components/freebox/init.py", line 65, in async_setup_entry await router.setup() File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 69, in setup fbx_config = await self._api.system.get_config() File "/usr/local/lib/python3.8/site-packages/aiofreepybox/api/system.py", line 10, in get_config return await self._access.get('system/') File "/usr/local/lib/python3.8/site-packages/aiofreepybox/access.py", line 112, in get return await self._perform_request(self.session.get, end_url) File "/usr/local/lib/python3.8/site-packages/aiofreepybox/access.py", line 82, in _perform_request await self._refresh_session_token() File "/usr/local/lib/python3.8/site-packages/aiofreepybox/access.py", line 63, in _refresh_session_token session_token, session_permissions = await self._get_session_token( File "/usr/local/lib/python3.8/site-packages/aiofreepybox/access.py", line 40, in _get_session_token challenge = await self._get_challenge(base_url, timeout) File "/usr/local/lib/python3.8/site-packages/aiofreepybox/access.py", line 24, in _get_challenge r = await self.session.get(url, timeout=timeout) File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request await resp.start(conn) File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 905, in start self._continue = None File "/usr/local/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in exit raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError
Here is what I have in .storage / freebox: {"app_id": "hass", "app_name": "Home Assistant", "app_version": "0.106", "device_name": "homeassistant", "app_token": "PgMtZUlXw1tw/OzSJ3lK3m6hjhclKv0LUXc4EHQThzvFjCuYwv7yVdpFCEYr+Pw3", "track_id": 3} --> Reboot, no longer works, delete integration, add freebox integration, and works and in storage / freebox: {"app_id": "hass", "app_name": "Home Assistant", "app_version": "0.106", "device_name": "homeassistant", "app_token": "8FqmLhbcz+5XpRHlds2K5ifG7ipDy6jnx6BM6cEpquBORiqnr2r5Sf+5Tw25A1eb", "track_id": 4} --> After Reboot, no longer works and in storage / freebox: {"app_id": "hass", "app_name": "Home Assistant", "app_version": "0.106", "device_name": "homeassistant", "app_token": "8FqmLhbcz+5XpRHlds2K5ifG7ipDy6jnx6BM6cEpquBORiqnr2r5Sf+5Tw25A1eb", "track_id": 4} The problem seems to be with the access token.
Thanks.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Le mar. 2 mars 2021 à 21:29, Quentame notifications@github.com a écrit :
Hi ! Do you know HACF ? French HA community. Let's join our Discord, we have dev channels, including dev-freebox channel 😉 --> https://discord.gg/ZGA5dxjnHq
Do you see an authentication step on your Freebox ?
Have you tried to :
- remove the integration
- remove the .storage/freebox directory
- add the integration
Thanks.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/46665#issuecomment-789192716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAE7SCOUVIFQXTJGRRCAXTTBVDD7ANCNFSM4XXGXJ7Q .
-- Christophe CHERON
I spent the day doing reboots and tests, always the same result, on the other hand I tried something: After a reboot, I deactivated the freebox integration and I re-activated it, and miracle !!! it works ! at least until the next reboot! It's as if the integration was not active when restarting after a reboot! Strange, isn't it?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
integration freebox not loaded after reboot : After an integration of the Freebox component correctly carried out, it does not load after a reboot and even after several reboots. After removing and reinstalling the integration, everything works fine until the next reboot.
What is version of Home Assistant Core has the issue?
System Health version | core-2021.2.3 -- | -- installation_type | Home Assistant OS dev | false hassio | true docker | true virtualenv | false python_version | 3.8.7 os_name | Linux os_version | 5.4.83-v7 arch | armv7l timezone | Europe/Paris
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 4897 Installed Version | 1.11.3 Stage | running Available Repositories | 747 Installed Repositories | 14Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHass.io
host_os | Home Assistant OS 5.11 -- | -- update_channel | stable supervisor_version | supervisor-2021.02.9 docker_version | 19.03.13 disk_total | 28.6 GB disk_used | 8.8 GB healthy | true supported | true board | rpi3 supervisor_api | ok version_api | ok installed_addons | Samba share (9.3.0), Check Home Assistant configuration (3.6.0), Duck DNS (1.12.5), NGINX Home Assistant SSL proxy (3.0.1), SSH & Web Terminal (8.0.1), Terminal & SSH (9.0.1), Mosquitto broker (5.1), File editor (5.2.0), Home Assistant Google Drive Backup (0.103.1)Lovelace
dashboards | 3 -- | -- resources | 12 views | 18 mode | storageWhat was the last working version of Home Assistant Core?
2021.1.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Freebox
Link to integration documentation on our website
https://www.home-assistant.io/integrations/freebox/
Example YAML snippet
Anything in the logs that might be useful for us?
Freebox Delta S