GithubHelp home page GithubHelp logo

yoswa / unifi_dashboard_dd_addon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meizel/unifi_dashboard_dd_addon

0.0 0.0 0.0 64 KB

🔧 By RubenDijk / 🎨By LRvdLinden-- UniFi in Home Assistant Dwains Dashboard.

unifi_dashboard_dd_addon's Introduction

Unifi Dashboard - Dwains Dashboard Add-on (more_page)

Unifi Dashboard in Home Assistant Dwains Dashboard.

Created by Ruben Dijk and little customize by Léon van der Linden

Prerequisite


⚠️ Please reboot Home Assistant after config the sensors! ⚠️

Installation Add-on


  • Manually install the next custom component from https://github.com/RubenDijk/homeassistant
  • Copy the my_unifi to your custom component folder.
  • Copy the directory unifi_dashboard to your <config dir>/dwains-dashboard/addons/more_page/ directory.
  • Configure your more_page.yaml file in <config dir>/dwains-dashboard/configs with config below.
  • Add unifi controller (Home-Assistant integration)
  • Restart Home Assistant.
  • Reload the theme configuration via Theme Settings

Usage

To use this add-on in your Dwains Theme, add the following to your more_page.yaml file:

# Example more_page.yaml entry
more_page:
    addons:
      - name: Ubiquiti UniFi
        icon: 'mdi:router-network'
        path: 'dwains-dashboard/addons/more_page/unifi_dashboard/unifi.yaml'

Optional for room addon:

addons:
  - name: Ubiquiti UniFi
    icon: mdi:router-wireless
    path: 'dwains-dashboard/addons/more_page/unifi_dashboard/unifi.yaml'
    button_path: 'dwains-dashboard/addons/rooms/hello-room/button.yaml'
    data:
      entity: sensor.unifi_gateway_alerts

Add the following package to your config Ubiquiti

Replace the following


Change the next line's

Line Fill in directory/file
Nr.8 ip adres switch sensor_ubiquiti.yaml
Nr.22 ip adres switch sensor_ubiquiti.yaml
Nr.27 ip adres switch sensor_ubiquiti.yaml
Nr.32 ip adres ap sensor_ubiquiti.yaml
Nr.46 ip adres ap sensor_ubiquiti.yaml
Nr.51 ip adres ap sensor_ubiquiti.yaml
Nr.138 ip adres controller sensor_ubiquiti.yaml
Nr.139 Site-id (optional) sensor_ubiquiti.yaml
Nr.140 username sensor_ubiquiti.yaml
Nr.141 password or secret sensor_ubiquiti.yaml
Nr.155 Site-id (optional) sensor_ubiquiti.yaml
Nr.156 username sensor_ubiquiti.yaml
Nr.157 password or secret sensor_ubiquiti.yaml
Nr.158 ip adres controller sensor_ubiquiti.yaml
Nr.63 ip adres of the controller /unifi_dashboard/unifi.yaml
Nr.289 correct entity /unifi_dashboard/unifi.yaml
Nr.290 correct name /unifi_dashboard/unifi.yaml
Nr.311 correct entity /unifi_dashboard/unifi.yaml
Nr.312 correct name /unifi_dashboard/unifi.yaml

WiFi SSID sensors

  • Copy the this line and place it in your template.yaml or sensor.yaml
  • Fill in your main SSID and your GUEST SSID
  - platform: template
    sensors:
      wifi_vdlinden_count:
        friendly_name: "MAIN SSID" # <- MAIN SSID NAME
        unit_of_measurement: 'devices'
        value_template: "{{ state_attr('sensor.unifi', 'YOUR MAIN SSID') }}"
        icon_template: mdi:wifi

  - platform: template
    sensors:
      gast_vdlinden_count:
        friendly_name: "GUEST SSID NAME" # <- GUEST SSID NAME
        unit_of_measurement: 'devices'
        value_template: "{{ state_attr('sensor.unifi', 'FILL IN YOUR GUEST SSID') }}"
        icon_template: mdi:wifi

Result


Light Themed Dark Themed
Light Themed Dark Themed

simple-ipad-pro-mockup-23619

simple-ipad-pro-mockup-23619


Enjoy my card? Help me out for a couple of 🍻 or a ☕!

coffee

unifi_dashboard_dd_addon's People

Contributors

lrvdlinden avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.