imicknl / ha-sagemcom-fast Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration to enable presence detection via Sagemcom F@st routers.
License: MIT License
Home Assistant integration to enable presence detection via Sagemcom F@st routers.
License: MIT License
Key | Value |
---|---|
Home Assistant version | Home Assistant 2023.5.2Supervisor 2023.04.1Operating System 10.1Frontend-version: 20230503.2 - latest |
Integration version | latest 0.2.6 |
Sagemcom F@st model | |
Sagemcom F@st firmware (optional) | |
FAST3890V3_WIFIHUBC2 |
Doesn't initialize
Steps to reproduce the behavior:
Give a clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
2023-05-06 09:58:50.009 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.0.1 for sagemcom_fast
File "/config/custom_components/sagemcom_fast/init.py", line 127, in async_setup_entry
Key | Value |
---|---|
Home Assistant version | 2022.2.9 |
Integration version | 0.25 |
Sagemcom F@st model | |
Sagemcom F@st firmware (optional) | FAST3890V3_WIFIHUBC2_sw18.76.10.10o-17 |
Integration not configured
Steps to reproduce the behavior:
Give a clear and concise description of what you expected to happen.
Logger: homeassistant.config_entries
Source: helpers/device_registry.py:132
First occurred: 20:12:55 (1 occurrences)
Last logged: 20:12:55
Error setting up entry 192.168.0.1 for sagemcom_fast
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/sagemcom_fast/init.py", line 125, in async_setup_entry
device_registry.async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 336, in async_get_or_create
connections = _normalize_connections(connections)
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 850, in _normalize_connections
return {
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 851, in
(key, format_mac(value)) if key == CONNECTION_NETWORK_MAC else (key, value)
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 132, in format_mac
if len(to_test) == 17 and to_test.count(":") == 5:
TypeError: object of type 'NoneType' has no len()
Add any other context about the problem here.
[bug]
I recently got the Sagemcom box F@ST F5359. It is the new modem distributed by KPN known as the Box 12.
I tried to get some more information with executing $.xmo.getValuesTree("Device/DeviceInfo");
in the web console, this results in nothing.
Is it possible to support this device? Please let me know if you need more information.
I want to use it for presence detection in Home Assistant.
Key | Value |
---|---|
Model name | F@ST F5359 |
Hardware Version | 1.0 |
Software Version | SGEJ10000310 |
Key | Value |
---|---|
Home Assistant version | 2021.4.6 |
Integration version | 0.2.2 |
Sagemcom F@st model | 5364 |
Sagemcom F@st firmware (optional) | SG4K10002816t |
Presence keeps jumping from home to away and back again sporadically every few minutes
Steps to reproduce the behavior:
Device should only switch to home when it is no longer connected to WiFi
Additional consideration is that I am using a mesh network for WiFi separate to my Sagemcom router, though the router would still have my mac address for the device present on the system and it does show when I log into the router GUI
[bug]
Key | Value |
---|---|
Home Assistant version | latest dev |
Integration version | 0.2.1 |
Sagemcom F@st model | Sagemcom FAST3890 |
Sagemcom F@st firmware (optional) | FAST3890V3_DELTA-SIP_sw05.76.9.7k-3 |
It seems that the DataUpdateCoordinator only works after startup, and afterwards it will give an error regarding the list index out of range.
Every 10 seconds pull the active devices and merge the lists, without throwing errors.
2021-04-09 19:36:36 ERROR (MainThread) [custom_components.sagemcom_fast] Error fetching sagemcom_hosts data: Error communicating with API: list index out of range
[bug]
Hi
I am looking to change the vpi/vci of the 5566 (bell HH3000) from 0/35 to 0/38 to be able to make it work with a different ADSL provider
Is this something that can be done ?
Working towards an official core integration, it would be great if we could discover Sagemcom F@st routers in a network.
In the past I came up with the following SSDP definition (not included in Config Flow), but I assume it could work with the new DHCP mode as well.
"ssdp": [
{
"deviceType": "urn:schemas-wifialliance-org:device:WFADevice:1",
"manufacturer": "Sagemcom Broadband SAS"
},
{
"deviceType": "urn:schemas-upnp.org:device:InternetGatewayDevice:1",
"manufacturer": "Sagemcom Broadband SAS"
}
],
"dhcp": [
{
"macaddress": "D8A756*"
}
]
Can't get the sagemcom fast 5566 for virgin mobile working I can add it as integration with guest user and emty password but it says failed to set up.
I added the integration using HACS but can't find Sagemcom under Configuration -> Integrations -> Add Integration after the reboot.
Key | Value |
---|---|
Home Assistant version | latest dev |
Integration version | 0.2.1 |
Sagemcom F@st model | Sagemcom FAST3890 |
Sagemcom F@st firmware (optional) | FAST3890V3_DELTA-SIP_sw05.76.9.7k-3 |
After a reboot of Home Assistant, devices that are not connected but which have been connected in the past, will show as unavailable.
Steps to reproduce the behavior:
Device will be home or not home.
We could see if we pull all devices, instead of only active. But this will clutter the entity registry a lot.
hosts = await self._client.get_hosts(only_active=True)
Otherwise, we could loop through the entities on boot and add them to the list / dictionary. This is what other integration do.
[bug]
Hi!
I installed the component, however it does not seem to work with the KPN model Sagemcom F5359. I tried the following combinations;
Config entry 'UPnP/IGD' for upnp integration not ready yet. Retrying in 80 seconds
Not 100% sure this traceback is related;
2021-02-05 20:03:44 ERROR (MainThread) [homeassistant.components.system_health] Error fetching system info for cloud - can_reach_cloud
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/system_health/__init__.py", line 212, in async_check_can_reach_url
await session.get(url, timeout=5)
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
Succesfully connected.
username: admin
password: I used the default, that was still set from fresh install (written on the Sagemcom itself)
I believe it was with standard encryption. md5
Hi,
I've gotten this to work with the KPN Box 12 (Sagemcom F5359). I used SHA512 and the regular admin and password (not the guest account).
Cheers,
Cees
Hi. I've managed to hunt down a bunch of api endpoints for this router. But I'm still missing important things. Such as how to put it in bridge mode. So I'm most of the way ther I believe.
It has the 192.168.12.1 gateway and then if I send curl or other REST api requests at like http://192.168.12.1/TMI/v1/network/configuration/get-ap -- I get back a pretty big json message thats easy to parse. If you want to add this machine to your collection, let me know. Anyway the entire struggle has been trying to figure out the correct endpoints to try. Frustrating that these large corporations have chosen to release products that are essentially black boxes of mystery to most consumers. Very frustrating. Have a good day.
As requested on the Home Assistant Community:
I think would be nice to have a sensor for an network interface sent and received bytes. Maybe publish everything from a xpath expression. eg: “Device/PPP/Interfaces/Interface/Stats”
Sensor
Device/DeviceInfo/UpTime
)Binary Sensor:
Device/IP/Interfaces/Interface[Alias='IP_DATA']/Status
)It could happen that those sensors are not available for every device, thus at start-up it should first check if it is available.
Would require iMicknl/python-sagemcom-api#12, so that we can combine multiple sensor updates in 1 call.
Examples: https://github.com/wuseman/SAGEMCOM-FAST-5370e-TELIA/blob/master/configuration-files/xpaths-wuseman
I would very much like to get uptime information from the router into home assistant so that I can compare if there has been power outage - is this possible?
Key | Value |
---|---|
Home Assistant version | latest |
Integration version | latest |
I get this is my HA logs:
Entity device_tracker.shelly_badkamer (<class 'custom_components.sagemcom_fast.device_tracker.SagemcomScannerEntity'>) implements device_state_attributes. Please report it to the custom component author.
[bug]
Key | Value |
---|---|
Home Assistant version | core-2021.11.1 |
Integration version | latest available |
Sagemcom F@st model | 5655v2 |
Sagemcom F@st firmware (optional) | HW ver 1.0; SW ver SG3G10000636; GUI ver 1.110.62; |
This error originated from a custom integration.
Logger: custom_components.sagemcom_fast
Source: custom_components/sagemcom_fast/init.py:60
Integration: Sagemcom F@st (documentation, issues)
First occurred: 21:06:31 (1 occurrences)
Last logged: 21:06:31
'id'
Traceback (most recent call last):
File "/config/custom_components/sagemcom_fast/init.py", line 60, in async_setup_entry
await client.login()
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 273, in login
if data["id"] is not None and data["nonce"] is not None:
KeyError: 'id'
[bug]
Key | Value |
---|---|
Home Assistant version | 2022.2.9 |
Integration version | 0.2.5 |
Sagemcom F@st model | Telekom Speedport Pro |
Sagemcom F@st firmware (optional) |
I cannot setup the integration with my Telekom Speedport Pro, even though it is listed as supported,
Steps to reproduce the behavior:
I installed the integration using HACS, when setting up I give the following values:
hostname: 192.168.2.1 (this is the address where my speedports UI is reachable)
username: I leave that blank
password: well, the password
encryption: MD5
I tried checking the "use SSL certificate" box, but it didn't change anything.
When logging in into the speedport I don't provide a username, just a password. I also tried "guest". In the documentation it doesn't mention what username should be provided.
When I send submit, I get:
"Invalid authentication"
I've looked in the debug logs, searched for sagem and found the following snippets:
2022-02-28 11:12:51 DEBUG (MainThread) [async_upnp_client.traffic.upnp] Got response: 404 Content-Length: 15 Server: Sagemcom Rest Date: Mon, 28 Feb 2022 10:12:49 GMT b'404 Not Found\r\n' 2022-02-28 11:12:51 DEBUG (MainThread) [async_upnp_client.description_cache] Error fetching http://192.168.2.1:48080/gatedesc0fhidden.xml: Did not receive HTTP 200 but 404
2022-02-28 11:13:47 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548125505232] Sending {"id": 70, "type": "result", "success": true, "result": {"resources": {"component.sagemcom_fast.config.abort.already_configured": "Device is already configured", "component.sagemcom_fast.config.error.access_restricted": "Access restricted", "component.sagemcom_fast.config.error.cannot_connect": "Failed to connect, please try again", "component.sagemcom_fast.config.error.invalid_auth": "Invalid authentication", "component.sagemcom_fast.config.error.unknown": "Unexpected error", "component.sagemcom_fast.config.error.login_timeout": "Request timed-out. This could be caused by using the wrong encryption method, or using a (non) SSL connection.", "component.sagemcom_fast.config.error.maximum_session_count": "Maximum session count reached.", "component.sagemcom_fast.config.step.user.data.host": "Host", "component.sagemcom_fast.config.step.user.data.password": "Password", "component.sagemcom_fast.config.step.user.data.username": "Username", "component.sagemcom_fast.config.step.user.data.encryption_method": "Encryption Method", "component.sagemcom_fast.config.step.user.data.ssl": "Uses an SSL certificate", "component.sagemcom_fast.config.step.user.data.verify_ssl": "Verify SSL certificate", "component.sagemcom_fast.config.step.user.description": "Enter your credentials for accessing the routers web interface. Depending on the router model, Sagemcom is using different encryption methods for authentication, which can be found in the [supported devices](https://github.com/iMicknl/ha-sagemcom-fast#supported-devices) list."}}}
[bug]
Options:
User admin
Pass
sha512
Uses SSL
Integration is working
Router Model: Sagemcom F@ST 5688T (rebranded as FibreBox_X6)
Provider: Salt (CH)
Authentication Method: SAH512
Comments: username: admin
Key | Value |
---|---|
Home Assistant version | 2023.9.3 |
Integration version | 0.2.8 |
Sagemcom F@st model | Kpn Experiabox 12 |
There are no entities and there are errors in the logs
Steps to reproduce the behavior:
You just need to install the integration
I expect it to make a whole list of entities from all the devices
No screenshots but there are logs which i altered just a tiny bit from extra privacy or smthing:
2023-10-01 13:21:41.610 ERROR (MainThread) [homeassistant.components.device_tracker] sagemcom_fast: Not adding entity with invalid device info: Invalid device info {'default_name': '', 'identifiers': {('sagemcom_fast', 'BLOCKED')}, 'via_device': ('sagemcom_fast', '1d13a620997a9ef1fc8788d1ad64cede')} for 'sagemcom_fast' config entry: device info needs to either describe a device, link to existing device or provide extra information.
This is one of a bunch of similar errors
[bug]
Key | Value |
---|---|
Home Assistant version 2021.8.8 | |
Integration version | |
Sagemcom F@st model Bbox3 | |
Sagemcom F@st firmware (optional) |
Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.components.device_tracker
Source: custom_components/nieuwe/device_tracker.py:35
Integration: Apparaattracker
First occurred: 7:22:38 (4 occurrences)
Last logged: 7:26:29
Error while setting up sagemcom_fast platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/nieuwe/device_tracker.py", line 35, in async_setup_entry
for idx, device in coordinator.data.items()
AttributeError: 'NoneType' object has no attribute 'items'
Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.nieuwe
Source: helpers/update_coordinator.py:219
Integration: nieuwe
First occurred: 7:22:35 (4 occurrences)
Last logged: 7:26:29
Error fetching sagemcom_hosts data: Error communicating with API: 'Device' object has no attribute 'mac_address'
Steps to reproduce the behavior:
Restart the integration
Give a clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
[bug]
Key | Value |
---|---|
Home Assistant version | 2021.12.5 |
Integration version | "0.2.1" |
Sagemcom F@st model | 3890V3 |
Sagemcom F@st firmware (optional) | FAST3890V3_MAGYAR_sw18.76.10.13c-1 |
GUI ver | 5.14.0 |
Performed Manual installation.
Attempted to add an integration with authentication method 'md5' as described in Table of supported devices but it failed to login. Then changed to 'sha512' and it succeeded . but on the integration card I see an error ‘Failed to set up. See log’. This is the log entry (only one):
`This error originated from a custom integration.
Logger: custom_components.sagemcom_fast
Source: custom_components/sagemcom_fast/init.py:60
Integration: Sagemcom F@st (documentation, issues)
First occurred: 9:13:08 PM (1 occurrences)
Last logged: 9:13:08 PM
{'code': 16777224, 'description': 'XMO_LOGIN_RETRY_ERR'}
Traceback (most recent call last):
File "/config/custom_components/sagemcom_fast/init.py", line 60, in async_setup_entry
await client.login()
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 265, in login
response = await self.__api_request_async([actions], True)
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 235, in __api_request_async
raise UnknownException(action_error)
sagemcom_api.exceptions.UnknownException: {'code': 16777224, 'description': 'XMO_LOGIN_RETRY_ERR'}
`
I can play with coding a bit but had an issue while installing your package from pypi on Ububntu. 20
`pip install sagecom_api
ERROR: Could not find a version that satisfies the requirement sagecom_api (from versions: none)
ERROR: No matching distribution found for sagecom_api
`
have python 3.8.10
Steps to reproduce the behavior:
Give a clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
[bug]
Environment:
Sagemcom F@st 3865bProximus (b-box3)
Release: 8c.514A
GUI Version
7.4.2.0
The state of my tracked device doesn;t change from 'home' to 'not_home'. if i turn off the wifi it keeps the home state then if i reload the integration the Mobile device entity it shows up as 'This entity is not currently available.'
I need to spend some time to investigate why i cannot get the logs and i will have a look into the code. Any other ideas how can debug your application? HA Core is running over docker in Synology For your reference here we have the my config file.
default_config:
frontend:
themes: !include_dir_merge_named themes
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
logger:
default: critical
logs:
custom_components.sagemcom_fast: debug
Hey!
Thanks for creating this integration! Really helpful.
I have the Sagemcom F@st 5657 and it's working as well with your plugin so you can add this to the list!
Best regards,
Key | Value |
---|---|
Home Assistant version | core-2021.11.1 / supervisor-2021.10.8 |
Integration version | v.0.2.2 |
Sagemcom F@st model | F@st5370e |
Sagemcom F@st firmware (optional) |
Installed using HACCS, added Sagemcom F@st at Integrations. Added my router ip and correct login information with authentication sha512.
"Failed to set up"
"Error setting up entry 192.168.1.1 for sagemcom_fast"
Logger: homeassistant.config_entries
Source: custom_components/sagemcom_fast/__init__.py:109
Integration: Sagemcom F@st (documentation)
First occurred: 19:31:45 (1 occurrences)
Last logged: 19:31:45
Error setting up entry 192.168.1.1 for sagemcom_fast
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/sagemcom_fast/__init__.py", line 109, in async_setup_entry
gateway = await client.get_device_info()
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 326, in get_device_info
data = await self.get_value_by_xpath("Device/DeviceInfo")
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 296, in get_value_by_xpath
response = await self.__api_request_async([actions], False)
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 233, in __api_request_async
raise UnknownPathException(action_error)
sagemcom_api.exceptions.UnknownPathException: {'code': 16777242, 'description': 'XMO_UNKNOWN_PATH_ERR'}
Key | Value |
---|---|
Home Assistant version | 2023.9.1 |
Integration version | latest |
Sagemcom F@st model | FAST3890V3_WIFIHUBC2_sw18.76.15.17w-6 |
Sagemcom F@st firmware (optional) | FAST3890V3_WIFIHUBC2_sw18.76.15.17w-6 |
No entities found, the device trackers are still there but unavailable
Steps to reproduce the behavior:
Give a clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
[bug]
Key | Value |
---|---|
Home Assistant version | 2022.10.5 |
Integration version | V0.2.6 |
Sagemcom F@st model | F5359 (KPN V12) |
Sagemcom F@st firmware (optional) |
Home assistant logger gives notification since 2022.10:
Detected integration that uses deprecated async_get_registry
to access device registry, use async_get instead. Please report issue to the custom integration author for sagemcom_fast using this method at custom_components/sagemcom_fast/init.py, line 127: device_registry = await hass.helpers.device_registry.async_get_registry()
Steps to reproduce the behavior:
restart HA
Give a clear and concise description of what you expected to happen.
See error log, use async_get instead of async_get_registry
[bug]
Key | Value |
---|---|
Home Assistant version | |
Supervisor 2023.04.1 | |
Operating System 10.1 | |
Frontend-version: 20230503.3 - latest | |
Integration version | |
Sagemcom F@st model | |
Sagemcom F@st firmware (optional) | FAST3890V3_WIFIHUBC2_sw18.76.15.17w-6 |
Logginformation (FEL)
Felet härrör från en anpassad integration.
Logger: custom_components.sagemcom_fast
Source: custom_components/sagemcom_fast/init.py:70
Integration: Sagemcom F@st (documentation, issues)
First occurred: 22:24:23 (2 occurrences)
Last logged: 22:50:02
{'code': 16777224, 'description': 'XMO_LOGIN_RETRY_ERR'}
Traceback (most recent call last):
File "/config/custom_components/sagemcom_fast/init.py", line 70, in async_setup_entry
await client.login()
File "/usr/local/lib/python3.10/site-packages/sagemcom_api/client.py", line 270, in login
response = await self.__api_request_async([actions], True)
File "/usr/local/lib/python3.10/site-packages/sagemcom_api/client.py", line 240, in __api_request_async
raise UnknownException(action_error)
sagemcom_api.exceptions.UnknownException: {'code': 16777224, 'description': 'XMO_LOGIN_RETRY_ERR'}
I believe it used to work. Been back using Home Assistant and now I see this error.
Logger: homeassistant.config_entries
Source: custom_components/sagemcom_fast/__init__.py:140
Integration: Sagemcom F@st ([documentation](https://github.com/imicknl/ha-sagemcom-fast), [issues](https://github.com/imicknl/ha-sagemcom-fast/issues))
First occurred: September 15, 2023 at 1:00:09 AM (3 occurrences)
Last logged: 4:04:47 PM
Error setting up entry 192.168.1.1 for sagemcom_fast
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/sagemcom_fast/__init__.py", line 140, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups'
Hello,
I have a router Telekom - Sagemcom F@st 5655V2 AC. Theoretically the device is supported.
However when I try to login, I have got the following message "Failed to connect, please try again"
In the Host field I write the IP address, with this can be reach the router from browser - "192.168.1.1".
I use the username and password, that is mentioned under the router.
The Encryption Method is MD5 I also tried with SHA512 but same issue.
Regards,
Gabor
Hello,
Great work and thanks alot for sharing this integration. I got my Sagemcom F5359 (KPN Netherlands) initial device tracking running in no time.
Now the finetuning part. I would like to track how long my galaxy phone is at home each day. As you can see below the device is flicking state although it is at home.
while investigating whether I could get that solved I stumbled upon the setting "consider_home" (see https://www.home-assistant.io/integrations/device_tracker/) that documents the exact behavior I would like to have.
I just can't figure out whether the device tracker created by this integration (device_tracker.galaxy_s7) would support this setting. If so, where to set it as I cant find a file that holds the configuration of the created device trackers. If not, would there be an equivalent way of implementing the same behavior?
Hi.
I'm trying to connect to my bBox SagemCom F@st5688B. I'm using HA OS ans HACS module integration.
When I'm trying to connect with the user = admin and (my_password) with MD5 or SHA512 the connection is refused.
I don't known if it shoud be working ?
Thanks for your response
I would love it if you could add compatibility for a Fast 5866T, provider is TPG in Australia. I've tried all options, here is the error I receive.
This error originated from a custom integration.
Logger: custom_components.sagemcom_fast.config_flow
Source: custom_components/sagemcom_fast/config_flow.py:69
Integration: Sagemcom F@st (documentation, issues)
First occurred: 11:59:33 (9 occurrences)
Last logged: 13:42:29
Traceback (most recent call last):
File "/config/custom_components/sagemcom_fast/config_flow.py", line 86, in async_step_user
return await self.async_validate_input(user_input)
File "/config/custom_components/sagemcom_fast/config_flow.py", line 69, in async_validate_input
await client.login()
File "/usr/local/lib/python3.10/site-packages/sagemcom_api/client.py", line 270, in login
response = await self.__api_request_async([actions], True)
File "/usr/local/lib/python3.10/site-packages/sagemcom_api/client.py", line 200, in __api_request_async
raise UnknownException(result)
sagemcom_api.exceptions.UnknownException:
Environment:
Sagemcom F@st 3865bProximus (b-box3)
Release: 8c.514A
GUI Version
7.4.2.0
The Sagemcom Client seems to have issues while discovering my Androids devices.
After further investigation the issue seems triggered by the 'hostname' and device type values seen into the router. By default in the router you don't have a friendly name so not sure if your application is expecting a value because in the HA entity you are mapping the same friendly name value.
Workaround is: change the device type from 'Generic' to 'Mobile phone' and assign a friendly name then reload the application
Action Taken:
Added the Sagemcom client integration
Reloaded home Assistant
the client doesn't discover the Motorola G9 Android
Sagemcom F@st
192.168.1.1
12 devices and 12 entities
Tried to reload either the application or HA but no luck
Changed the Motorola device type and the friendly name in the router
Reloaded the client and issue is fixed
Apologies but i cannot share the logs somehow HA didn't print any logs even though i added the required lines in the configuration file.
Key | Value |
---|---|
Home Assistant version | 2021.5.0 |
Integration version | 0.2.2 |
Sagemcom F@st model | XGSR1644 (fibre x6) |
Sagemcom F@st firmware (optional) | SGEk10001A05 |
I've installed the repository via HACS but I cannot find the integration
Steps to reproduce the behavior:
I expect to find the sagem integration
Add any other context about the problem here.
[bug]
Trying this component gives me error in logs:
2021-09-20 13:52:58 ERROR (MainThread) [custom_components.sagemcom_fast] Error fetching sagemcom_hosts data: Error communicating with API: 'utf-8' codec can't decode byte 0x84 in position 81031: invalid start byte
Router: Fast3890v3
Router using software: FAST3890V3_WIFIHUBC2_sw18.76.10.10o-11
Sagecom Fast 5689 (Bell Home Hub 4000), supported with admin login and md5.
Only see the device at this point.
Hello.
As a user of a Sagemcom Fast5359 (which is sold/used in the Netherlands by KPN as 'Box 12') i tried your HACS component, and was able to get the config flow working. I used the admin account for it, so with a password, and sha512 as authentication method .
I for now only see 1 device, no other info.
Sagemcom F@st 5380 supported.
Md5 encryption
Rebranded by TDC
Key | Value |
---|---|
Home Assistant version | 2022.11.5 |
Integration version | LATEST |
Sagemcom F@st model | 3896 |
Sagemcom F@st firmware (optional) |
Hi,
I want to let you know that this integration is awesome!! It works on the Sagemcom F@st3896.
The only issue that I am having is that I need to manually reload the integration to get the updated device tracking information for devices such as mobile phones that leave my home. I've waited hours and I can see my device connected to my router. I'm not sure if I can do reload the integration through an automation or if you have the ability to do it in the integration. The refresh time is set to 10 seconds, but I don't get the updates in home assistant unless I manually reload.
Steps to reproduce the behavior:
Automatic update to the device tracking information.
[bug]
Hi there,
Thank you for your contribution.
I have the HACS add-on installed successfully but I'm unable to log in with various credentials and authentication types.
Is there any support for Fast 5866T?
Many thanks.
`2023-10-09 14:30:07.660 ERROR (MainThread) [custom_components.sagemcom_fast.config_flow]
<title>404 Not Found</title>Is your feature request related to a problem? Please describe.
Choosing the encryption method is unclear for users and requires looking up their device. Eventually when the underlying API supports this, we should implement it in this integration.
Tracking: iMicknl/python-sagemcom-api#35
Describe the solution you'd like
'Automatic' option as default, allowing users to override this by manually choosing an encryption method.
Describe alternatives you've considered
Removing the field to avoid confusion. This could increase setup / login times, since it will only give an wrong encryption method error on a timeout...
Hello i try Sagemcom F@st 3865b | Proximus (b-box3) | md5,
and I have this message : Unexpected error
Debug info:
2022-01-04 11:19:26 ERROR (MainThread) [custom_components.sagemcom_fast.config_flow]
Thanks
Laurent
I am trying to add the KPN box 12b. It's sagecom but it does not allow me to add the itegration, gives me an 'Invalid authentication' error.
Key | Value |
---|---|
Home Assistant version | 2021.12.5 |
Integration version | "0.2.1" |
Sagemcom F@st model | 3890V3 |
Sagemcom F@st firmware (optional) | FAST3890V3_MAGYAR_sw18.76.10.13c-1 |
GUI ver | 5.14.0 |
I am not exactly sure what made it happen. But I noticed the integration gets stuck, setting all device_tracker entries 'Unavailable' status. in such a case I attempted to run 'Reload' option. this all happened a few times. But now I found some entries duplicated with name ended '_2' .. when the original entity is 'Unavailable' and the second one seems gets actual status 'home'.
Steps to reproduce the behavior:
Give a clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
[bug]
Key | Value |
---|---|
Home Assistant version | latest |
Integration version | latest 1.2.5 |
Sagemcom F@st model | bbox proximus |
Sagemcom F@st firmware (optional) |
Integration crashes on startup, see logfile below
'id'
Traceback (most recent call last):
File "/config/custom_components/sagemcom_fast/config_flow.py", line 86, in async_step_user
return await self.async_validate_input(user_input)
File "/config/custom_components/sagemcom_fast/config_flow.py", line 69, in async_validate_input
await client.login()
File "/usr/local/lib/python3.9/site-packages/sagemcom_api/client.py", line 278, in login
if data["id"] is not None and data["nonce"] is not None:
KeyError: 'id'
Add any other context about the problem here.
[bug]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.