Hey, there is a template in the integration GitHub for device support (link). Just fill it in, so I will know what device and FW versions work or do not work correctly.
Hi guys!
i’m just exploring this card and i wonder - sensor “connected_devices” has delimiter comma, if i see correct. Now, is there any way to show all devices in one card as a list? All cards i tried show all devices in a single row, thus making reading impossible.
How to create card to show attribute “devices” and set delimiter so that i’d have a nice list, like:
The connected_devices sensor attribute devices is already a list of values MAC/IP/Name. You can easily convert the list with a template. You can use it as any other list object. So, let’s say you want to list only names of devices. You split each element by / and use the part with index 2.
{% for el in state_attr('sensor.devicename_connected_devices', 'devices') %}- {{ el.split("/")[2] }}
{% endfor %}
In principle, any dashboard card with the support of templates will be able to handle it.
An example with Mushroom:
type: custom:mushroom-template-card
primary: Connected devices
secondary: >-
{% for el in state_attr('sensor.devicename_connected_devices', 'devices') %}- {{
el.split("/")[2] }}
{% endfor %}
icon: mdi:router-network
multiline_secondary: true
layout: vertical
fill_container: false
Maybe not the nicest looking, but the fastest one in a couple of minutes
Many thanks, it works!
I’m not an programmer by nature, so these things are still strange to me, when it gets complicated (i’m more of a “basic - bascom language” guy). I’m learning and i always try to understand what i’m doing… i already succesfully converted your code to : name - IP address - MAC
Hi everyone,
I have an Asus RT-AC66U-B1 (same firmwae as RT-AC68U) with Merlin and I have the Asus Router integration installed in Home Assistant. My issue is that I have 10 connected devices to the Router but only 3 show up under the integration as devices. What could be the problem and the possible fix here?
Thanks for the help!
The integration only creates device_tracker entities. The one, that belongs to a device known to HA (e.g. this device was added by some other integration) will show up within a device. See a screenshot as an example. In this case, the device will be shown within 2 (or more) integrations.
In case, this device is unknown for HA, the device_tracker entity is created in the disabled state and needs to be enabled by the user. A screenshot 2 for example.
No, it is not. The official AsusWRT is using SSH or Telnet for the connection. AsusRouter is using HTTP API - the same way, Web UI or mobile apps from Asus work.
Asus devices can easily handle multiple HTTP/HTTPS logins, so there is no problem on more than one connection simultaneously.
Hey. You might need to clear your browser cache. Or just click Ctrl + F5 - this should help. Some parts of the frontend are cached for faster UI load, which means changes are not shown immediately.