You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created several template sensors in HA to show the total Up- and Downstream in kB/s per Deco device. Perhaps this is an idea to add into te integration.
Template Sensor looks like this for total Upload for <deco_name>:
- platform: template
sensors:
deco_<deco_name>_up:
friendly_name: "Deco <deco_name> Upload kB/s"
icon_template: mdi:server-network
unit_of_measurement: kB/s
value_template: |
{% set ns = namespace(result=0) %}
{% set array = integration_entities('tplink_deco') | list %}
{% for a in array if state_attr(a, 'deco_device') == '<deco_name>'%}
{% set ns.result = ns.result + state_attr(a, 'up_kilobytes_per_s') %}
{% endfor %}
{{ ns.result}}
Same template sensor for Download (so 'down_kilobytes_per_s') and for all Deco's you have. So in my case; I have 3 Deco devices, so 6 sensors in total.
The text was updated successfully, but these errors were encountered:
I would like this feature. However if possible it would be best to retrieve the up/down of the Deco Unit itself instead of calculating it based on the clients.
For the main unit I retrieve the total up/down by the uPNP/IGD integration, but it would be nice not to need an additional integration
I have created several template sensors in HA to show the total Up- and Downstream in kB/s per Deco device. Perhaps this is an idea to add into te integration.
Template Sensor looks like this for total Upload for <deco_name>:
Same template sensor for Download (so
'down_kilobytes_per_s'
) and for all Deco's you have. So in my case; I have 3 Deco devices, so 6 sensors in total.The text was updated successfully, but these errors were encountered: