Unfortunately then new 0.17.0 release not is working for me, the integration not starts up properly:
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/asusrouter/bridge.py:246
Integration: AsusRouter (documentation, issues)
First occurred: 23:24:09 (3 occurrences)
Last logged: 23:26:23
Error setting up entry 192.168.0.1 for asusrouter
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File “/config/custom_components/asusrouter/init.py”, line 24, in async_setup_entry
await router.setup()
File “/config/custom_components/asusrouter/router.py”, line 700, in setup
await self.update_nodes()
File “/config/custom_components/asusrouter/router.py”, line 807, in update_nodes
aimesh = await self.bridge.async_get_aimesh_nodes()
File “/config/custom_components/asusrouter/bridge.py”, line 257, in async_get_aimesh_nodes
return await self._get_data(self.api.async_get_aimesh)
File “/config/custom_components/asusrouter/bridge.py”, line 246, in _get_data
raw = await method()
File “/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py”, line 834, in async_get_aimesh
await self.async_monitor_onboarding()
File “/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py”, line 657, in async_monitor_onboarding
convert = converters.onboarding_connection(connection)
File “/usr/local/lib/python3.10/site-packages/asusrouter/util/converters.py”, line 313, in onboarding_connection
raise ex
File “/usr/local/lib/python3.10/site-packages/asusrouter/util/converters.py”, line 309, in onboarding_connection
“connection_type”: CONNECTION_TYPE[temp[0]],
KeyError: ‘5G1’
@EdwardTFN, sorry, was already writing a reply. HACS checks for updates with some periodicity. But you can always reload HACS and it will show updates immediately
@sesame26, great! Hope, you won’t have any problems with AsusRouter
2023-01-09 13:03:40.811 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration asusrouter which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-09 13:05:06.155 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry ASUSRouter for asusrouter
File "/config/custom_components/asusrouter/__init__.py", line 24, in async_setup_entry
File "/config/custom_components/asusrouter/router.py", line 680, in setup
ValueError: Unique id 'asusrouter_7c:10:XX:XX:XX:e0_guest_5_ghz_2_1' is already in use by 'switch.router_guest_5_ghz_2_1'
@EdwardTFN, oh, it seems like it happens to some users but not everyone. Also didn’t get it during tests with migration… Issue #450.
I will try to reproduce it and fix it today, so everyone can properly migrate. In case you don’t want to wait, it will work if you just remove and set up integration again.
No problem. I can keep the issue until you have a fix, so you can use my case as a testing bed if you want, otherwise I will remove and setup again as this is not a big issue as well.
@Vaskivskyi the sensors are available when I check, I not use SSL, to be honest I also have no idea how to do this, if I check the SSL conection box I get a “unknow error”
This error originated from a custom integration.
Logger: custom_components.asusrouter.config_flow
Source: custom_components/asusrouter/config_flow.py:863
Integration: AsusRouter (documentation, issues)
First occurred: 19:20:27 (3 occurrences)
Last logged: 19:21:59
Unknown error of type ‘<class ‘homeassistant.exceptions.ConfigEntryNotReady’>’ during connection to 192.168.0.1: (‘Cannot connect to host 192.168.0.1:80 ssl:True [None]’, None)
Unknown error of type ‘<class ‘homeassistant.exceptions.ConfigEntryNotReady’>’ during connection to 192.168.0.1: (‘Cannot connect to host 192.168.0.1:80 ssl:False [None]’, None)
@Vaskivskyi Ok did see also needed to change the port, now did set-up with the SSL box checked and the Check SSL Certificate box unchecked… I hope this is the correct way to do it
Logger: homeassistant.config_entries
Source: helpers/entity_registry.py:695
First occurred: 21:27:45 (2 occurrences)
Last logged: 21:36:38
Error setting up entry 192.168.2.1 for asusrouter
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/asusrouter/__init__.py", line 24, in async_setup_entry
await router.setup()
File "/config/custom_components/asusrouter/router.py", line 680, in setup
entity_reg.async_update_entity(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 749, in async_update_entity
return self._async_update_entity(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 695, in _async_update_entity
raise ValueError(
ValueError: Unique id 'asusrouter_24:4b:fe:e4:ff:80_temperature_2_4_ghz' is already in use by 'sensor.rt_ac86u_temperature_2_4_ghz'
Fixed issue for the devices with missing label_mac value from NVRAM (some older devices with Merlin builds) preventing AsusRouter from start (report #451)
Is it just me or is the documentation hard to understand? I would love to see some code examples in the documentation. Like one thing i want to know is how to i use parental control or device control? Is it not possible to make a list with ”flex-table-card” with name/ip/Mac/parental control for an example? Right now the only information i have found is make a automation and a Button that triggers it to turn on/off parental control that would make me have to create 40ish automations and that aint that great solution…
Search the Forum for flex-table-card, i know it’s there, unfortunately, i deleted the “flex-table-card” i made on “trackers” ( remember flex-table is rows (with columns) from 1 and the same sensor/entity so i doubt you can squeeze in “parental” options, as i don’t see this in the “Trackers” attributes
And it’s basic text-table, last time i looked at it