Open RexYuan opened 9 months ago
Hello,
Thanks for the reply!
Hello,
- Do all the other entities of the integration work? (Are they available and showing some data)
LED switch, enabling 2.4G/5G network switches work, restart buttons work, others don't:
In diagnostic these are showing:
- Are there any warnings or errors in the HA log from the AsusRouter integration?
I don't see anything relevant in /config/home-assistant.log
Also, I'm using Docker HA if that's relevant.
Hey,
It looks like you have most of the entities still disabled. When AsusRouter is just set up, it only forces some of the main entities to be enabled (e.g. internet status and WLAN controls). Other entities should be enabled by the user. That's why you are not seeing so much data and have "disabled_by": "integration"
in the diagnostics.
On the device page, it would be shown like this
With the x entities not shown
hiding all the disabled entities. You can bulk-enable them from the Entities
page of HA
Please, check this. In case the entities are already enabled but still do not provide any data (you need to wait 30 sec after enabling entities and before they will actually be active - or just manually reload AsusRouter integration to have it faster), we'll do the further troubleshooting
Why does it work this way:
AsusRouter is not forcing to enable all the entities by default to prevent useless traffic between your HA and router. E.g. if you don't need data on the OpenVPN - HA won't be even trying to send such requests. Same for WireGuard, Parental control and so on - all those are independent and their disabling allows sending less requests to the device
I see! I didn't realized they're just unenabled! Sorry I am somewhat an HA beginner.
I've enabled some entities and they're working now.
But I have also found another problem. It seems like the ordering of entities name and the networks they're actually controling is off by one:
I also see the wrong name vs ssid in developer tools:
In addition, I'm not sure how related this is. But when I tried to add these switches to Apple HomeKit Bridge these "Configuration" switches don't show up but "Controls" stuff do show up. I assume they're not actually switches by default in HA and I'd have to create HA switches that actually control them?
I will try to check this issue of the naming. Unfortunately, the devices I have only support 2.4 GHz, 5 GHz and 5 Ghz2 bands, so I didn't have a chance to test with 4-band devices. It could be, that in the case of a 4-band device, the indices of the networks are actually shifted and this should be taken into account as a separate case. I will get back to you if some more info is needed to troubleshoot it.
Regarding the HomeKit, I need to check how does it work exactly and interacts with HA. Please, allow me some time for this.
For the HA, all of the entities for Guest WLAN, WLAN and so on are proper switch
entities, so they are compatible with turn_on
, turn_off
and toggle
native services of HA. But might be that for HomeKit there are different requirements
Thanks! I checked documentation and was able to get a guest network switch working by adding this to configuration.yaml
manually:
homekit:
filter:
include_entities:
- switch.gt_axe16000_guest_6_ghz_2
When I said HomeKit bridge doesn't include it, I was using the HA UI "ADD ENTRY" to add it:
(top HASS is added using UI and bottom is added using yaml file)
The problem
I would like to be able to enable/disable the guest networks on my GT-AXE16000 and after installing the integration from HACS I can see several entities associated with them:
but when I click on them they show "This entity is unavailable."
My current configuration on router dashboard is I have one of 2.4G guest network enabled:
Any solution?
Your device model
GT-AXE16000
Firmware type
Stock
Firmware version
3.0.0.4.388_24329
Integration version with the issue
3.0.0.4.388.24329_g5906523
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
2023.11.3
Is there anything useful in the logs?
No response
Diagnostics information
Additional information
No response