Improve networking dashboard with charts

This commit is contained in:
2020-03-31 19:43:13 +03:00
parent 94df08be2e
commit ce41234b40
2 changed files with 64 additions and 18 deletions
+49 -16
View File
@@ -3,12 +3,49 @@ path: network
icon: "mdi:server-network" icon: "mdi:server-network"
badges: [] badges: []
cards: cards:
- type: entities - type: vertical-stack
entities: cards:
- sensor.fast_com_download - type: "custom:mini-graph-card"
- sensor.speedtest_download graph: bar
- sensor.speedtest_upload points_per_hour: 1
- sensor.speedtest_ping hours_to_show: 72
show:
graph: bar
average: true
extrema: true
entities:
- entity: sensor.fast_com_download
- type: "custom:mini-graph-card"
animate: true
points_per_hour: 1
hours_to_show: 72
show:
graph: bar
average: true
extrema: true
entities:
- entity: sensor.speedtest_download
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
points_per_hour: 0.3
hours_to_show: 72
font_size: 75
line_color: var(--accent-color)
line_width: 6
entities:
- sensor.speedtest_upload
- type: custom:mini-graph-card
font_size: 75
points_per_hour: 0.3
hours_to_show: 72
line_color: var(--accent-color)
line_width: 6
entities:
- sensor.speedtest_ping
- type: vertical-stack - type: vertical-stack
cards: cards:
@@ -22,37 +59,33 @@ cards:
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Total queries name: Total queries
font_size: 75 font_size: 75
icon: mdi:radio-tower
line_color: var(--accent-color) line_color: var(--accent-color)
line_width: 8 line_width: 6
entities: entities:
- sensor.pi_hole_dns_queries_today - sensor.pi_hole_dns_queries_today
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Queries blocked name: Queries blocked
font_size: 75 font_size: 75
icon: mdi:close-box-outline
line_color: var(--accent-color) line_color: var(--accent-color)
line_width: 8 line_width: 6
entities: entities:
- entity: sensor.pi_hole_ads_blocked_today - sensor.pi_hole_ads_blocked_today
icon: mdi:pi-hole
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Percent blocked name: Percent blocked
font_size: 75 font_size: 75
icon: mdi:percent
line_color: var(--accent-color) line_color: var(--accent-color)
line_width: 8 line_width: 6
entities: entities:
- sensor.pi_hole_ads_percentage_blocked_today - sensor.pi_hole_ads_percentage_blocked_today
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Seen clients name: Seen clients
font_size: 75 font_size: 75
icon: mdi:devices
line_color: var(--accent-color) line_color: var(--accent-color)
line_width: 8 line_width: 6
entities: entities:
- sensor.pi_hole_seen_clients - sensor.pi_hole_seen_clients
+15 -2
View File
@@ -5,12 +5,12 @@
# https://www.home-assistant.io/integrations/fastdotcom # https://www.home-assistant.io/integrations/fastdotcom
fastdotcom: fastdotcom:
scan_interval: scan_interval:
minutes: 30 minutes: 90
# https://www.home-assistant.io/integrations/speedtestdotnet # https://www.home-assistant.io/integrations/speedtestdotnet
speedtestdotnet: speedtestdotnet:
scan_interval: scan_interval:
minutes: 31 minutes: 60
# https://www.home-assistant.io/integrations/wake_on_lan # https://www.home-assistant.io/integrations/wake_on_lan
wake_on_lan: wake_on_lan:
@@ -90,3 +90,16 @@ sensor:
- volume_size_total - volume_size_total
- volume_size_used - volume_size_used
- volume_status - volume_status
homeassistant:
customize:
switch.pihole_temp_disable:
icon: mdi:pause-circle-outline
sensor.pi_hole_seen_clients:
icon: mdi:devices
sensor.pi_hole_ads_percentage_blocked_today:
icon: mdi:percent
sensor.pi_hole_ads_blocked_today:
icon: mdi:close-box-outline
sensor.pi_hole_dns_queries_today:
icon: mdi:radio-tower