fancygaphtrn / openwrt_bandwidth

Per user bandwidth reporting to Home Assistant for OpenWRT
3 stars 0 forks source link

Dashboard #1

Open alexandrepossebom opened 2 years ago

alexandrepossebom commented 2 years ago

Hi, I liked your script.

Can you show or share HA dashboard using this sensors data?

Thank you

fancygaphtrn commented 2 years ago

I use a custom card called List Card with this configuration.

      - type: custom:list-card
        entity: sensor.bw_usage
        title: BW usage
        columns:
        - title: Host
          field: host
          style:
            - text-align: left;
        - title: Upload(bps)
          field: upload
          style:
            - text-align: right;
        - title: Download(bps)
          field: download
          style:
            - text-align: right;

      - type: custom:list-card
        entity: sensor.if_usage
        title: Interface usage
        columns:
        - title: Interface
          field: interface
          style:
            - text-align: left;
        - title: Upload(kbps)
          field: upload
          style:
            - text-align: right;
        - title: Download(kbps)
          field: download
          style:
            - text-align: right;

On Thu, Sep 22, 2022 at 1:21 PM Alexandre Possebom @.***> wrote:

Hi, I liked your script.

Can you show or share HA dashboard using this sensors data?

Thank you

— Reply to this email directly, view it on GitHub https://github.com/fancygaphtrn/openwrt_bandwidth/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNZILX4EWMAO6IX6DD3BBDV7SIRDANCNFSM6AAAAAAQTINK7M . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alexandrepossebom commented 2 years ago

Thank you very much, do you have another script to fill data in sensor.if_usage?

fancygaphtrn commented 2 years ago

It is posted above I included both when I pasted.