Can you please check the new version 0.11.3? Unfortunately, there were a couple of bugs in 0.11.2, which are device-dependent and which I was not able to track with my only device.
Please, welcome the new release. It includes fixes for the version module (which resulted in wrong update entity values for some users of older devices and crashes of the whole integration for some other devices). Moreover, a problem with reaching connection timeout with some requests should be fixed now.
Hi, Iāve been using this integration for a few months and it works great A few days ago I updated to Merlinās latest alpha release of firmware for my AX88U. Ever since then the following two sensors no longer work in the integration:
They both have the error āThis entity is no longer being provided by the asusrouter integration. If the entity is no longer in use, delete it in the settingsā.
Appreciate the Merlin firmware is an alpha release, but I thought Iād mention it as he may have changed something that needs to be reflected in this integration going forward. If youāve got any ideas on how I could go about fixing it, that would be great. Worst case Iāll roll back to the latest build firmware, and hopefully that will sort the issue.
I donāt think it has to do with merlinās alpha release specifically, but the fact that Asus changed/updated things on their official firmware, which is what the new merlin alpha firmware is based on. So even if you update to the newest official Asus firmware, the issue will be there.
Thanks for your info! As @moto2000 has noticed, the new alpha is based on 3.0.0.4.388.x firmware from Asus - and I can check the official one against changes in temperature sensors. If it is Asus-related, it will be fixed as soon as possible.
Unfortunately, I cannot guarantee the work of integration with the alpha releases of Merlin. But as soon as Merlin will release a stable version, I can fix Merlin-only bugs.
Support of different firmware and bug fixing (for all the users interested)
I would like to explain, how exactly are the bug fixes released for the integration.
Any change in the backend library (the link between the integration and your device) is tested against RT-AX88U with both official Asus FW and with the latest available stable Merlin release. So by the time of the actual release of a new integration version, there should not be any problems with most of the devices.
If any problem is reported and all the required data is provided by the user with an issue (and the problem can be fixed), it will be fixed as soon as possible.
Now about the limitations:
I cannot test changes in code against all the possible devices (since I have only one) - so some device-specific problems might appear.
I cannot test changes against anything except for official Asus FW versions or stable Merlin versions - the next section will be about this.
I cannot fix a bug if no (or not enough) details on the issue are provided.
Yes, there might be some problems which I cannot fix (mostly connected to some specific device or FW version).
About the latest issue fixed in 0.11.3
The crash of integration for some devices was connected to the problems with the FW version for the Gnuton releases of Merlin. To be more exact, the fact of making the FW version longer than expected via adding -gnuton.
As I have already mentioned, the only testing device is RT-AX88U. Gnuton fork of Merlin is released for less than 10 models and not for this one.
So, as soon as all the required data was collected (thanks to this bug report), the problem was fixed.
You are managing this very professionally way and Iām impressed on what you have done with all those limitations.
I would be happy to help more with tests using the devices I have on my hands. I have a couple of brand-new AX-8 in production, but my RT-AC88U still sitting on my desk, and I will be happy to use it in a testing environment.
But I also think you should add your āBuy a coffee to Vaskivskyiā link to your signature and I will be also happy to invite people here to visit that link from time to time.
I would love if you buy a router just like mine, so I will have a better integration for myself. Itās too expensive for one person to buy this to you, but itās not that expensive if half of those 500 users can give a bit.
@Vaskivskyi, for your info, the GT series have now a new āVPN Fusionā, where you can create up to 16 VPN client profiles and associate devices to each profile. The UI to setup this is quite different from the RT series and this integration you developed didnāt support that (at least isnāt working on my tests).
Iām not requesting priority to this, as I rarely control the VPN clients from HA, but I think you would like to know about this.
Is it 3.0.0.4.388.xxx firmware? Yes, unfortunately, they have rebuilt all the VPN functionality, so for these new 388 versions (which are already available for some devices), it should be implemented into integration from scratch
I configured this addon using my router DNS name instead of itās IP.
However, I see that in Adguard (DNS provider for my home network) I see a lot of requests from HA to have the IP of my router DNS name.
Iām almost sure itās this addon that causes these high requests.
Is there a way to reduce them? In the install process, I added 0 in the sync options in order to avoid sync (I donāt need the CPU/ram stuff yet), however I keep seeing 2 different requests every 10sec.
Just my curiosity playing hereā¦
I believe you have a static IP for your router, is that right?
If that is the case, what is the point of using DNS name instead of the IP address? That will cause unnecessary DNS queries anyways, no?
If you set up the integration to use the hostname, it will use it for all the connections. That is the point of giving choice between IP / hostname. This, of course, means that each time your local DNS will be asked for the correct IP for connection - this is the way how DNS works and there is nothing to do with it.
The IP is asked from the DNS depending on the settings of your HA host device. E.g. most of the devices are querying DNS once per 5-10 seconds, which is also the case for you. Two queries are probably because of asking for both A and AAAA records.
There are 3 options if you donāt want integration to ask DNS about the router IP:
Configure the integration again using IP - this will avoid any DNS requests.
Add your router hostname/IP to the hosts file of your HA host device - no DNS requests will be made.
And the one possible, but better not be using:
Change the frequency of querying DNS from your HA host device - this will influence ALL the DNS queries.
Yes, usage of hostname instead of IP will always create DNS queries. Except for specifying hostname/IP bind in hosts, as discussed above.
The general thoughts about hostnames and local DNS.
pros:
You donāt care about device IP when configuring any endpoint device (integration in this case).
When migrating between networks, there is no need to reconfigure endpoint devices. Just DNS - once.
Can work with dynamically assigned hosts with a proper DNS configuration.
cons:
Need to configure your DNS records.
Creating some network traffic for DNS queries.
So, from the integration point of view, the advantage would be - you are migrating your network to use another IP pool or something similar - you donāt need to reconfigure integration.
For example, I am using local DNS and am completely happy with it.
The amount of network traffic is neglectable.
There is no noticeable usage of resources of the DNS host device in comparison to all other smart home software running there.
Obviously, in the case of a router, the chance of IP change is quite low for an average user But some people are changing their networks significantly from time to time.
But in general, hostnames are quite cool and useful
Possible to include information about what network a device connects to in the events? Like if itās a guest network and if itās 2,4 GHz or 5 GHz. For consistency the same data should perhaps be added to the connected_devices sensor as well.
Iāve set up an automation that notifies me when devices reconnect/connect thatās not in my whitelist. It would be nice to know if the device connecting was actually using my guest network. And if it wasnāt I could tell the person to connect to my guest network instead.
If you do add this Iām sure someone would like data about what ESSID a device is connected to as well.