Skip to content

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

Notifications You must be signed in to change notification settings

yoswa/unifi_dashboard_dd_addon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published