Compare commits

...

2 Commits

Author SHA1 Message Date
darthsandmann
11f6f5eed3 pfsense 2022-07-30 17:46:12 +02:00
darthsandmann
3d77f07f68 Grouping 2022-07-30 16:41:49 +02:00
9 changed files with 305 additions and 71 deletions

View File

@ -2,31 +2,35 @@
template: card_title
name: Light Bulbs
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 1
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 1
entity: light.ceiling1
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 2
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 2
entity: light.ceiling2
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 3
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 3
entity: light.ceiling3
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed_ceiling
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 1
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 1
entity: light.ceiling1
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 2
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 2
entity: light.ceiling2
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 3
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 3
entity: light.ceiling3
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed_ceiling

View File

@ -2,21 +2,22 @@
template: card_title
name: Light Groups
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Indirect
ulm_card_light_enable_collapse: false
ulm_card_light_name: Indirect
ulm_input_select_option: light indirect
ulm_input_select: input_select.minimalist_ui_switch
entity: light.all_indirect
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Indirect
ulm_card_light_enable_collapse: false
ulm_card_light_name: Indirect
ulm_input_select_option: light indirect
ulm_input_select: input_select.minimalist_ui_switch
entity: light.all_indirect
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Direct
ulm_card_light_enable_collapse: false
ulm_card_light_name: Direct
entity: light.all_direct
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Direct
ulm_card_light_enable_collapse: false
ulm_card_light_name: Direct
entity: light.all_direct

View File

@ -2,18 +2,20 @@
template: card_title
name: Light Stripes
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Desk
ulm_card_light_enable_collapse: false
ulm_card_light_name: Desk
entity: light.desk
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Desk
ulm_card_light_enable_collapse: false
ulm_card_light_name: Desk
entity: light.desk

View File

@ -0,0 +1,87 @@
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: WAN
label: IPv4
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_wan_gw_delay
variables:
ulm_card_generic_swap_name: Delay
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_wan_gw_loss
variables:
ulm_card_generic_swap_name: Loss
- type: 'custom:button-card'
template: card_title
name: Mullvad
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: 1
label: IPv4
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad1gw_delay
variables:
ulm_card_generic_swap_name: Delay
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad1gw_loss
variables:
ulm_card_generic_swap_name: Loss
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: 1
label: IPv6
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad1gwv6_delay
variables:
ulm_card_generic_swap_name: Delay
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad1gwv6_loss
variables:
ulm_card_generic_swap_name: Loss
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: 2
label: IPv4
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad2gw_delay
variables:
ulm_card_generic_swap_name: Delay
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad2gw_loss
variables:
ulm_card_generic_swap_name: Loss
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: 2
label: IPv6
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad2gwv6_delay
variables:
ulm_card_generic_swap_name: Delay
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_gateway_mullvad2gwv6_loss
variables:
ulm_card_generic_swap_name: Loss

View File

@ -0,0 +1,36 @@
- type: 'custom:button-card'
template: card_title
name: Load Average
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.pfsense_cpu_load_average_one_minute
variables:
ulm_card_generic_name: 1m
- type: 'custom:button-card'
template: card_generic
entity: sensor.pfsense_cpu_load_average_five_minute
variables:
ulm_card_generic_name: 5m
- type: 'custom:button-card'
template: card_generic
entity: sensor.pfsense_cpu_load_average_fifteen_minute
variables:
ulm_card_generic_name: 15m
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_memory_used_percentage
variables:
ulm_card_generic_swap_name: "Memory Used %"
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.pfsense_memory_swap_used_percentage
variables:
ulm_card_generic_swap_name: "Swap Used %"

View File

@ -0,0 +1,11 @@
- type: 'custom:button-card'
template: card_title
name: Notifications
- type: 'custom:button-card'
template: card_binary_sensor
variables:
ulm_card_binary_sensor_alert: true
ulm_show_last_changed: false
entity: binary_sensor.pfsense_pending_notices_present

View File

@ -0,0 +1,19 @@
- type: 'custom:button-card'
template: card_title
name: Firewall Rules
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.pfsense_filter_rule_1602620992_disablemullvadtower
variables:
ulm_card_input_boolean_name: "LAN: Disable Mullvad PC"
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.pfsense_filter_rule_1608907801_disablemullvadnetflixtower
variables:
ulm_card_input_boolean_name: "LAN: Bypass Netflix PC"
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.pfsense_filter_rule_1602623476_route_ipad_netflix_to_wan
variables:
ulm_card_input_boolean_name: "LAN: Bypass Netflix iPad"

View File

@ -0,0 +1,64 @@
- type: 'custom:button-card'
template: card_title
name: Traffic
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_wan_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: WAN Incoming
ulm_card_graph_entity: sensor.pfsense_interface_wan_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_wan_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_mullvad1_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Mullvad1 Incoming
ulm_card_graph_entity: sensor.pfsense_interface_mullvad1_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_mullvad1_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_mullvad2_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Mullvad2 Incoming
ulm_card_graph_entity: sensor.pfsense_interface_mullvad2_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_mullvad2_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_lan_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: LAN Incoming
ulm_card_graph_entity: sensor.pfsense_interface_lan_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_lan_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_backend_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Backend Incoming
ulm_card_graph_entity: sensor.pfsense_interface_backend_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_backend_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1

View File

@ -11,27 +11,21 @@ views:
- title: "Overview"
path: 0
cards:
- type: "vertical-stack"
cards:
!include lovelace/overview/welcome.yaml
- type: "vertical-stack"
cards:
!include lovelace/overview/lights.yaml
- type: "vertical-stack"
cards:
!include lovelace/overview/climate.yaml
- type: "vertical-stack"
cards:
!include lovelace/overview/batteries.yaml
- type: "vertical-stack"
cards:
!include lovelace/overview/energy.yaml
- type: "vertical-stack"
cards:
!include lovelace/overview/nas.yaml
@ -40,19 +34,35 @@ views:
- title: "Lights"
path: 1
cards:
- type: "vertical-stack"
cards:
!include lovelace/lights/scenes.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights//lightgroups.yaml
!include lovelace/lights/lightgroups.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights/lightbulbs.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights/lightstripes.yaml
!include lovelace/lights/lightstripes.yaml
- title: "pfSense"
path: 2
cards:
- type: "vertical-stack"
cards:
!include lovelace/pfsense/notifications.yaml
- type: "vertical-stack"
cards:
!include lovelace/pfsense/load.yaml
- type: "vertical-stack"
cards:
!include lovelace/pfsense/gateways.yaml
- type: "vertical-stack"
cards:
!include lovelace/pfsense/traffic.yaml
- type: "vertical-stack"
cards:
!include lovelace/pfsense/rules.yaml