mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
all kinds of fun
This commit is contained in:
@@ -8,7 +8,7 @@ triggers:
|
||||
to: "on"
|
||||
|
||||
action:
|
||||
- action: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: >-
|
||||
The following are open: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_hvac_affecting_openings', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}"
|
||||
|
||||
@@ -39,7 +39,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
@@ -80,7 +80,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
|
||||
@@ -48,7 +48,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
@@ -89,7 +89,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
|
||||
@@ -45,7 +45,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
@@ -86,7 +86,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
|
||||
@@ -52,7 +52,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
@@ -93,7 +93,7 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{ not group_target }}"
|
||||
sequence:
|
||||
- device_id: 70c62eb366d6ed914b0ccc6bf41c32fd
|
||||
- device_id: 99193a9cdfd7a8cb893c54665d710e7d
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
message: A {{ label }} was detected on the {{ camera_name }} camera.
|
||||
|
||||
@@ -10,3 +10,9 @@ action:
|
||||
data:
|
||||
entity_id: input_text.person_clint
|
||||
value: at work
|
||||
# - action: notify.mobile_app_pixel_10_pro
|
||||
# data:
|
||||
# message: command_volume_level
|
||||
# data:
|
||||
# media_stream: notification_stream
|
||||
# command: 1
|
||||
|
||||
@@ -52,5 +52,14 @@ action:
|
||||
entity_id: input_boolean.clint_home
|
||||
- action: automation.turn_on
|
||||
entity_id: automation.clint_at_work
|
||||
- action: script.pixel_10_to_normal_mode
|
||||
data: {}
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: command_volume_level
|
||||
data:
|
||||
media_stream: notification_stream
|
||||
command: 4
|
||||
|
||||
|
||||
- delay: "00:00:30"
|
||||
|
||||
@@ -49,10 +49,10 @@ action:
|
||||
entity_id: media_player.ma_bedroom_hub
|
||||
data:
|
||||
media_type: playlist
|
||||
media_id: library://playlist/7
|
||||
media_id: library://playlist/32
|
||||
#media_id: >
|
||||
# {% set playlists = ['library://playlist/32','library://playlist/9'] %}
|
||||
# {{ playlists|random }}
|
||||
enqueue: replace
|
||||
|
||||
- action: script.wake_the_bedroom
|
||||
#- action: script.wake_the_bedroom
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
alias: Continue Girls Room Noise
|
||||
id: automation_continue_girls_room_noise
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.girls_room_clock
|
||||
from: "playing"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_in_bed
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_home
|
||||
state: "on"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_in_bed
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Night on"
|
||||
action:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.google_home
|
||||
option: "Girls Room"
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.ambient_sound
|
||||
option: "Random White Noise"
|
||||
- action: input_number.set_value
|
||||
data:
|
||||
entity_id: input_number.volume_ambientsounds
|
||||
value: "0.35"
|
||||
- action: script.ambientsounds
|
||||
@@ -17,7 +17,7 @@ condition:
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
- action: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
title: Update Available
|
||||
message: A Home Assistant update is available
|
||||
|
||||
@@ -15,6 +15,6 @@ action:
|
||||
media_player_entity_id: media_player.front_room_hub, media_player.bathroom_mini, media_player.kitchen, media_player.bedroom_hub
|
||||
message: Attention! A water leak has been detected on the furnace room floor!
|
||||
|
||||
- action: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: Attention! A water leak has been detected on the furnace room floor!
|
||||
|
||||
@@ -17,6 +17,6 @@ condition:
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
- action: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: The garage is open, but nobody is home
|
||||
|
||||
@@ -36,7 +36,7 @@ action:
|
||||
|
||||
- action: media_player.volume_set
|
||||
data:
|
||||
volume_level: 0.4
|
||||
volume_level: 0.25
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_clock
|
||||
|
||||
@@ -55,7 +55,7 @@ action:
|
||||
|
||||
- action: music_assistant.play_media
|
||||
data:
|
||||
media_id: library://playlist/5
|
||||
media_id: library://playlist/10
|
||||
media_type: playlist
|
||||
enqueue: replace
|
||||
target:
|
||||
|
||||
@@ -29,10 +29,10 @@ action:
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_clock
|
||||
|
||||
- action: script.search_and_play_playlist
|
||||
- action: music_assistant.play_media
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_clock
|
||||
data:
|
||||
speaker: media_player.ma_girls_room_clock
|
||||
search_term: Clever Kids Goodnight Songs
|
||||
volume: 0.25
|
||||
repeat: all
|
||||
shuffle: false
|
||||
media_type: playlist
|
||||
media_id: library://playlist/10
|
||||
enqueue: replace
|
||||
@@ -1,35 +0,0 @@
|
||||
alias: Continue White Noise
|
||||
id: automation_continue_white_noise
|
||||
initial_state: "on"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
to: "off"
|
||||
for: "00:00:02"
|
||||
- platform: state
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
to: "idle"
|
||||
for: "00:00:02"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_asleep
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
#- action: input_select.select_option
|
||||
# data:
|
||||
# entity_id: input_select.master_bedroom_mode
|
||||
# option: 'Off'
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.google_home
|
||||
option: "Master Bedroom"
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.ambient_sound
|
||||
option: "Thunderstorm"
|
||||
- action: input_number.set_value
|
||||
data:
|
||||
entity_id: input_number.volume_ambientsounds
|
||||
value: "0.3"
|
||||
- action: script.ambientsounds
|
||||
@@ -4,7 +4,7 @@ initial_state: "off"
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.pixel_7_charger_type
|
||||
entity_id: sensor.pixel_10_pro_charger_type
|
||||
to: "wireless"
|
||||
|
||||
- platform: state
|
||||
@@ -37,7 +37,7 @@ condition:
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sensor.pixel_7_charger_type
|
||||
entity_id: sensor.pixel_10_pro_charger_type
|
||||
state: "wireless"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
# state: "off"
|
||||
|
||||
# sequence:
|
||||
# - action: notify.mobile_app_pixel_7
|
||||
# - action: notify.mobile_app_pixel_10_pro
|
||||
# data:
|
||||
# message: The dishwasher is done
|
||||
# data:
|
||||
|
||||
@@ -55,7 +55,7 @@ action:
|
||||
state: "off"
|
||||
|
||||
sequence:
|
||||
- action: notify.mobile_app_pixel_7
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: The kitchen fridge has been open for too long!
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -9,3 +9,4 @@ options:
|
||||
- 'Dimmed'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
- 'Adaptive'
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
amcrest:
|
||||
- name: Amcrest Camera19
|
||||
host: !secret camera19ip
|
||||
username: !secret camera19username
|
||||
password: !secret camerapassword
|
||||
stream_source: rtsp
|
||||
binary_sensors:
|
||||
- online
|
||||
# amcrest:
|
||||
# - name: Amcrest Camera19
|
||||
# host: !secret camera19ip
|
||||
# username: !secret camera19username
|
||||
# password: !secret camerapassword
|
||||
# stream_source: rtsp
|
||||
@@ -1,6 +1,6 @@
|
||||
template:
|
||||
- trigger:
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- sensor.pm_dryer_w
|
||||
- input_number.tumble_dryer_delay_on
|
||||
@@ -9,11 +9,11 @@ template:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
|
||||
- platform: event
|
||||
- trigger: event
|
||||
event_type: event_template_reloaded
|
||||
id: "reload"
|
||||
|
||||
- platform: homeassistant
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
binary_sensor:
|
||||
@@ -31,27 +31,35 @@ template:
|
||||
state: "{{ states('sensor.pm_dryer_w')|float(default=0) >= states('input_number.tumble_dryer_on')|float(default=0) }}"
|
||||
|
||||
- trigger:
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: sensor.pm_dryer_w
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: input_number.tumble_dryer_delay_on
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: input_number.tumble_dryer_delay_off
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
|
||||
- platform: event
|
||||
- id: door_open
|
||||
trigger: state
|
||||
entity_id: binary_sensor.tumble_dryer_door_contact
|
||||
from: "off"
|
||||
to: "on"
|
||||
for:
|
||||
seconds: 5
|
||||
|
||||
- trigger: event
|
||||
event_type: event_template_reloaded
|
||||
id: "reload"
|
||||
|
||||
- platform: homeassistant
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
sensor:
|
||||
@@ -61,7 +69,11 @@ template:
|
||||
{% if is_state('binary_sensor.tumble_dryer','on') %}
|
||||
running
|
||||
{% elif is_state('binary_sensor.tumble_dryer','off') and is_state('input_boolean.fold_clothes','on') %}
|
||||
pending
|
||||
{% if is_state('binary_sensor.tumble_dryer_door_contact','on') %}
|
||||
idle
|
||||
{% else %}
|
||||
pending
|
||||
{% endif %}
|
||||
{% else %}
|
||||
idle
|
||||
{% endif %}
|
||||
@@ -126,19 +138,19 @@ automation:
|
||||
alias: Fold Clothes
|
||||
trigger:
|
||||
- id: tumble_dryer_off
|
||||
platform: state
|
||||
trigger: state
|
||||
entity_id: binary_sensor.tumble_dryer
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
- id: tumble_dryer_on
|
||||
platform: state
|
||||
trigger: state
|
||||
entity_id: binary_sensor.tumble_dryer
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- id: door_open
|
||||
platform: state
|
||||
trigger: state
|
||||
entity_id: binary_sensor.tumble_dryer_door_contact
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
@@ -4,6 +4,8 @@ sensor:
|
||||
name: Lowest Hue Device Battery
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.hue_button_battery_level
|
||||
- sensor.hue_dimmer_switch_battery_level
|
||||
- sensor.bar_hue_motion_sensor_battery
|
||||
- sensor.entryway_hue_motion_sensor_battery
|
||||
- sensor.front_room_hue_motion_sensor_battery
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
sensor:
|
||||
- platform: min_max
|
||||
unique_id: sensor_lowest_xiaomi_device_battery
|
||||
name: Lowest Xiaomi Plant Sensor Battery
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.plant_sensor_3eae_battery
|
||||
- sensor.plant_sensor_3eb0_battery
|
||||
- sensor.plant_sensor_cea4_battery
|
||||
|
||||
- platform: min_max
|
||||
unique_id: sensor_lowest_ecowitt_device_battery
|
||||
name: Lowest Ecowitt Battery
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.hasta_soil_sensor_battery
|
||||
- sensor.daisy_soil_sensor_battery
|
||||
# - platform: min_max
|
||||
# unique_id: sensor_lowest_xiaomi_device_battery
|
||||
# name: Lowest Xiaomi Plant Sensor Battery
|
||||
# type: min
|
||||
# entity_ids:
|
||||
# - sensor.plant_sensor_3eae_battery
|
||||
# - sensor.plant_sensor_3eb0_battery
|
||||
# - sensor.plant_sensor_cea4_battery
|
||||
|
||||
@@ -79,8 +79,15 @@ recorder:
|
||||
- sensor.interlogix*
|
||||
- sensor.*_timestamp
|
||||
- sensor.everything_presence_lite*target*
|
||||
- sensor.everything_presence_lite*assumed_present_remaining
|
||||
- sensor.*_cpu_percent
|
||||
- sensor.*_memory_percent
|
||||
- sensor.*_heap_free
|
||||
- sensor.*_loop_time
|
||||
- sensor.*_rssi
|
||||
- sensor.*_wifi_signal_strength
|
||||
- sensor.homeassistant_veth*x
|
||||
|
||||
domains:
|
||||
- updater
|
||||
- calendar
|
||||
@@ -90,6 +97,8 @@ recorder:
|
||||
- scene
|
||||
- button
|
||||
- remote
|
||||
- automation
|
||||
- script
|
||||
# include:
|
||||
# domains:
|
||||
# - sensor
|
||||
|
||||
@@ -1,48 +1,48 @@
|
||||
plant:
|
||||
plant_sensor_cea4:
|
||||
sensors:
|
||||
moisture: sensor.plant_sensor_cea4_moisture
|
||||
temperature: sensor.plant_sensor_cea4_temperature
|
||||
conductivity: sensor.plant_sensor_cea4_conductivity
|
||||
brightness: sensor.plant_sensor_cea4_illuminance
|
||||
#battery: sensor.plant_sensor_cea4_battery
|
||||
min_moisture: 10
|
||||
max_moisture: 65
|
||||
min_temperature: 30
|
||||
min_brightness: 200
|
||||
max_brightness: 300000
|
||||
min_conductivity: 10
|
||||
max_conductivity: 5700
|
||||
# plant_sensor_cea4:
|
||||
# sensors:
|
||||
# moisture: sensor.plant_sensor_cea4_moisture
|
||||
# temperature: sensor.plant_sensor_cea4_temperature
|
||||
# conductivity: sensor.plant_sensor_cea4_conductivity
|
||||
# brightness: sensor.plant_sensor_cea4_illuminance
|
||||
# #battery: sensor.plant_sensor_cea4_battery
|
||||
# min_moisture: 10
|
||||
# max_moisture: 65
|
||||
# min_temperature: 30
|
||||
# min_brightness: 200
|
||||
# max_brightness: 300000
|
||||
# min_conductivity: 10
|
||||
# max_conductivity: 5700
|
||||
|
||||
plant_sensor_3eae:
|
||||
sensors:
|
||||
moisture: sensor.plant_sensor_3eae_moisture
|
||||
temperature: sensor.plant_sensor_3eae_temperature
|
||||
conductivity: sensor.plant_sensor_3eae_conductivity
|
||||
brightness: sensor.plant_sensor_3eae_illuminance
|
||||
#battery: sensor.plant_sensor_3eae_battery
|
||||
min_moisture: 10
|
||||
max_moisture: 65
|
||||
min_temperature: 30
|
||||
min_brightness: 200
|
||||
max_brightness: 300000
|
||||
min_conductivity: 10
|
||||
max_conductivity: 5700
|
||||
# plant_sensor_3eae:
|
||||
# sensors:
|
||||
# moisture: sensor.plant_sensor_3eae_moisture
|
||||
# temperature: sensor.plant_sensor_3eae_temperature
|
||||
# conductivity: sensor.plant_sensor_3eae_conductivity
|
||||
# brightness: sensor.plant_sensor_3eae_illuminance
|
||||
# #battery: sensor.plant_sensor_3eae_battery
|
||||
# min_moisture: 10
|
||||
# max_moisture: 65
|
||||
# min_temperature: 30
|
||||
# min_brightness: 200
|
||||
# max_brightness: 300000
|
||||
# min_conductivity: 10
|
||||
# max_conductivity: 5700
|
||||
|
||||
plant_sensor_3eb0:
|
||||
sensors:
|
||||
moisture: sensor.plant_sensor_3eb0_moisture
|
||||
temperature: sensor.plant_sensor_3eb0_temperature
|
||||
conductivity: sensor.plant_sensor_3eb0_conductivity
|
||||
brightness: sensor.plant_sensor_3eb0_illuminance
|
||||
#battery: sensor.plant_sensor_3eb0_battery
|
||||
min_moisture: 10
|
||||
max_moisture: 65
|
||||
min_temperature: 30
|
||||
min_brightness: 200
|
||||
max_brightness: 300000
|
||||
min_conductivity: 10
|
||||
max_conductivity: 5700
|
||||
# plant_sensor_3eb0:
|
||||
# sensors:
|
||||
# moisture: sensor.plant_sensor_3eb0_moisture
|
||||
# temperature: sensor.plant_sensor_3eb0_temperature
|
||||
# conductivity: sensor.plant_sensor_3eb0_conductivity
|
||||
# brightness: sensor.plant_sensor_3eb0_illuminance
|
||||
# #battery: sensor.plant_sensor_3eb0_battery
|
||||
# min_moisture: 10
|
||||
# max_moisture: 65
|
||||
# min_temperature: 30
|
||||
# min_brightness: 200
|
||||
# max_brightness: 300000
|
||||
# min_conductivity: 10
|
||||
# max_conductivity: 5700
|
||||
|
||||
hasta_soil_sensor:
|
||||
sensors:
|
||||
|
||||
@@ -13,8 +13,8 @@ sensor.lowest_door_battery:
|
||||
sensor.lowest_zigbee_device_battery:
|
||||
icon: mdi:battery-20
|
||||
|
||||
sensor.lowest_xiaomi_plant_sensor_battery:
|
||||
icon: mdi:battery-20
|
||||
# sensor.lowest_xiaomi_plant_sensor_battery:
|
||||
# icon: mdi:battery-20
|
||||
|
||||
sensor.lowest_ecowitt_battery:
|
||||
icon: mdi:battery-20
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
# entity_picture: /local/image/evening_star.jpg
|
||||
# friendly_name: Evening Star
|
||||
|
||||
plant.plant_sensor_cea4:
|
||||
entity_picture: /local/image/pepper_planter.jpg
|
||||
friendly_name: Pepper Planter (CE:A4)
|
||||
# plant.plant_sensor_cea4:
|
||||
# entity_picture: /local/image/pepper_planter.jpg
|
||||
# friendly_name: Pepper Planter (CE:A4)
|
||||
|
||||
# plant.plant_sensor_3eae:
|
||||
# entity_picture: /local/image/golden_deck_box.jpg
|
||||
# friendly_name: Golden Deck Box (3E:AE)
|
||||
|
||||
plant.plant_sensor_3eae:
|
||||
entity_picture: /local/image/lavender_planter.jpg
|
||||
friendly_name: Lavender Planter (3E:AE)
|
||||
# plant.plant_sensor_3eae:
|
||||
# entity_picture: /local/image/lavender_planter.jpg
|
||||
# friendly_name: Lavender Planter (3E:AE)
|
||||
|
||||
plant.plant_sensor_3eb0:
|
||||
entity_picture: /local/image/manly_deck_box.jpg
|
||||
friendly_name: Manly Deck Box (3E:B0)
|
||||
# plant.plant_sensor_3eb0:
|
||||
# entity_picture: /local/image/manly_deck_box.jpg
|
||||
# friendly_name: Manly Deck Box (3E:B0)
|
||||
|
||||
# plant.pansy:
|
||||
# entity_picture: /local/image/pansy.jpg
|
||||
|
||||
@@ -172,7 +172,7 @@ sensor:
|
||||
# Clip "ghost" watts when the device is off
|
||||
- lambda: "return x < 5.0 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${watt_delta_lights}
|
||||
- delta: ${watt_delta_appliances}
|
||||
- throttle: ${watt_throttle}
|
||||
gain_voltage: ${voltage_cal2}
|
||||
gain_ct: ${current_cal_ct24}
|
||||
|
||||
@@ -25,7 +25,7 @@ sensor:
|
||||
# Drop noise below 0.02A, then log 0.05A changes or every 60s
|
||||
- lambda: "return x < 0.02 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${amp_delta}
|
||||
- delta: ${grid_amp_delta}
|
||||
- throttle: ${amp_throttle}
|
||||
power:
|
||||
name: ${ct1_name} ${watt_label}
|
||||
@@ -95,6 +95,10 @@ sensor:
|
||||
gain_ct: ${current_cal_ct3}
|
||||
frequency:
|
||||
name: Frequency 1
|
||||
filters:
|
||||
- or:
|
||||
- delta: ${freq_delta}
|
||||
- throttle: ${freq_throttle}
|
||||
chip_temperature:
|
||||
name: ${main_meter_name1} Chip Temp
|
||||
line_frequency: ${electric_freq}
|
||||
@@ -118,7 +122,7 @@ sensor:
|
||||
# Drop noise below 0.02A, then log 0.05A changes or every 60s
|
||||
- lambda: "return x < 0.02 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${amp_delta}
|
||||
- delta: ${grid_amp_delta}
|
||||
- throttle: ${amp_throttle}
|
||||
power:
|
||||
name: ${ct4_name} ${watt_label}
|
||||
@@ -156,7 +160,7 @@ sensor:
|
||||
# Clip "ghost" watts when the device is off
|
||||
- lambda: "return x < 2.0 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${watt_delta_lights}
|
||||
- delta: ${watt_delta_computers}
|
||||
- throttle: ${watt_throttle}
|
||||
gain_voltage: ${voltage_cal2}
|
||||
gain_ct: ${current_cal_ct5}
|
||||
@@ -191,12 +195,18 @@ sensor:
|
||||
# name: Frequency 2
|
||||
chip_temperature:
|
||||
name: ${main_meter_name2} Chip Temp
|
||||
filters:
|
||||
- or:
|
||||
- delta: ${temp_delta}
|
||||
- throttle: ${temp_throttle}
|
||||
|
||||
line_frequency: ${electric_freq}
|
||||
gain_pga: 1X
|
||||
update_interval: ${update_time}
|
||||
enable_offset_calibration: ${offset_calibration}
|
||||
enable_gain_calibration: ${gain_calibration}
|
||||
|
||||
|
||||
#Total A Main
|
||||
################
|
||||
# - platform: template
|
||||
|
||||
@@ -30,5 +30,5 @@ packages:
|
||||
binary_sensor: !include binary_sensor/status_sensor.config.yaml
|
||||
button: !include button/restart_button.config.yaml
|
||||
sensor: !include sensor/uptime_sensor.config.yaml
|
||||
debug: !include sensor/debug_sensor.config.yaml
|
||||
# debug: !include sensor/debug_sensor.config.yaml
|
||||
text_sensor: !include text_sensor/version_sensor.config.yaml
|
||||
|
||||
@@ -24,13 +24,19 @@ substitutions:
|
||||
kwh_report_interval: 60s
|
||||
watt_heartbeat: 60s
|
||||
throttle_time: 60s
|
||||
temp_delta: "5.0"
|
||||
temp_throttle: 60s
|
||||
watt_delta_lights: "2.0"
|
||||
watt_delta_appliances: "10.0"
|
||||
watt_delta_computers: "15.0"
|
||||
watt_delta_grid: "100.0"
|
||||
watt_throttle: 60s
|
||||
watt_accuracy_decimals: 1
|
||||
watt_label: W
|
||||
amp_delta: 0.05
|
||||
freq_throttle: 60s
|
||||
freq_delta: "0.02"
|
||||
grid_amp_delta: "0.20"
|
||||
amp_delta: "0.05"
|
||||
amp_throttle: 60s
|
||||
amp_accuracy_decimals: 2
|
||||
amp_label: A
|
||||
@@ -191,9 +197,9 @@ packages:
|
||||
#common: !include circuit-setup/6chan_common.yaml
|
||||
|
||||
main: !include circuit-setup/meter_sensors/6chan_main_sensor.yaml
|
||||
main_status: !include circuit-setup/status_fields/6chan_main_status.yaml
|
||||
#main_cal: !include circuit-setup/calibration/6chan_main_calibration.yaml
|
||||
#main_offset: !include circuit-setup/calibration/6chan_main_offset_calibrations.yaml
|
||||
# main_status: !include circuit-setup/status_fields/6chan_main_status.yaml
|
||||
# main_cal: !include circuit-setup/calibration/6chan_main_calibration.yaml
|
||||
# main_offset: !include circuit-setup/calibration/6chan_main_offset_calibrations.yaml
|
||||
|
||||
addon1: !include circuit-setup/meter_sensors/6chan_addon1.yaml
|
||||
# addon1_status: !include circuit-setup/status_fields/6chan_addon1_status.yaml
|
||||
@@ -364,11 +370,12 @@ sensor:
|
||||
device_class: current
|
||||
state_class: measurement
|
||||
update_interval: ${update_time}
|
||||
# filters:
|
||||
# - or:
|
||||
# - delta: 2.0
|
||||
# - throttle_average: ${throttle_time}
|
||||
# # - heartbeat: ${watt_heartbeat}
|
||||
filters:
|
||||
# Drop noise below 0.02A, then log 0.05A changes or every 60s
|
||||
- lambda: "return x < 0.02 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${amp_delta}
|
||||
- throttle: ${amp_throttle}
|
||||
|
||||
#Total Watts From Grid
|
||||
- platform: template
|
||||
|
||||
+5
-3
@@ -3,15 +3,17 @@ front_yard_plants:
|
||||
# - plant.evening_star
|
||||
# does this work?
|
||||
# back to working here?
|
||||
- plant.plant_sensor_cea4 #Pepper
|
||||
# - plant.plant_sensor_cea4 #Pepper
|
||||
- plant.hasta_soil_sensor #Hostas
|
||||
|
||||
back_yard_plants:
|
||||
- plant.plant_sensor_3eb0 #Manly Deck Box
|
||||
- plant.plant_sensor_3eae #Golden Deck Box
|
||||
plant.daisy_soil_sensor
|
||||
# - plant.plant_sensor_3eb0 #Manly Deck Box
|
||||
# - plant.plant_sensor_3eae #Golden Deck Box
|
||||
|
||||
outdoor_plants:
|
||||
- plant.hasta_soil_sensor #Hostas
|
||||
- plant.daisy_soil_sensor
|
||||
|
||||
ceiling_fans:
|
||||
- fan.girls_room_fan_light_switch_fan
|
||||
|
||||
@@ -17,19 +17,25 @@ cards:
|
||||
title: Ecowitt Batteries
|
||||
entities:
|
||||
- entity: sensor.hasta_soil_sensor_battery
|
||||
name: Hostas - e593
|
||||
- type: entities
|
||||
title: BLE Batteries
|
||||
entities:
|
||||
- entity: sensor.plant_sensor_3eae_battery
|
||||
name: Boys Room - 3eae
|
||||
- entity: sensor.plant_sensor_3eb0_battery
|
||||
name: Master Bedroom - 3eb0
|
||||
- entity: sensor.plant_sensor_cea4_battery
|
||||
name: Computer Area - cea4
|
||||
name: Hostas
|
||||
- entity: sensor.daisy_soil_sensor_battery
|
||||
name: Dasies
|
||||
# - type: entities
|
||||
# title: BLE Batteries
|
||||
# entities:
|
||||
# - entity: sensor.plant_sensor_3eae_battery
|
||||
# name: Boys Room - 3eae
|
||||
# - entity: sensor.plant_sensor_3eb0_battery
|
||||
# name: Master Bedroom - 3eb0
|
||||
# - entity: sensor.plant_sensor_cea4_battery
|
||||
# name: Computer Area - cea4
|
||||
- type: entities
|
||||
title: Hue Batteries
|
||||
entities:
|
||||
- entity: sensor.hue_button_battery_level
|
||||
name: Hue Button
|
||||
- entity: sensor.hue_dimmer_switch_battery_level
|
||||
name: Hue Dimmer Switch
|
||||
- entity: sensor.bar_hue_motion_sensor_battery
|
||||
name: Bar Motion Sensor
|
||||
- entity: sensor.entryway_hue_motion_sensor_battery
|
||||
|
||||
@@ -29,10 +29,10 @@ cards:
|
||||
header:
|
||||
type: buttons
|
||||
entities:
|
||||
- entity: script.pixel_7_to_silent
|
||||
- entity: script.pixel_10_to_silent
|
||||
icon: mdi:volume-mute
|
||||
name: Silent
|
||||
- entity: script.pixel_7_to_vibrate
|
||||
- entity: script.pixel_10_to_vibrate
|
||||
icon: mdi:vibrate
|
||||
name: Vibrate
|
||||
- entity: script.pixel_10_to_normal_mode
|
||||
|
||||
@@ -56,9 +56,9 @@ cards:
|
||||
- from: 3
|
||||
color: "#4dab6d"
|
||||
name: Expected Days Between Watering
|
||||
- !include /config/lovelace/plant-cards/plant_sensor_cea4.yaml
|
||||
- !include /config/lovelace/plant-cards/plant_sensor_3eae.yaml
|
||||
- !include /config/lovelace/plant-cards/plant_sensor_3eb0.yaml
|
||||
# - !include /config/lovelace/plant-cards/plant_sensor_cea4.yaml
|
||||
# - !include /config/lovelace/plant-cards/plant_sensor_3eae.yaml
|
||||
# - !include /config/lovelace/plant-cards/plant_sensor_3eb0.yaml
|
||||
- !include /config/lovelace/plant-cards/hasta_soil_sensor.yaml
|
||||
- !include /config/lovelace/plant-cards/daisy_soil_sensor.yaml
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: plant-status
|
||||
entity: plant.plant_sensor_3eae
|
||||
# type: vertical-stack
|
||||
# cards:
|
||||
# - type: plant-status
|
||||
# entity: plant.plant_sensor_3eae
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: plant-status
|
||||
entity: plant.plant_sensor_3eb0
|
||||
# type: vertical-stack
|
||||
# cards:
|
||||
# - type: plant-status
|
||||
# entity: plant.plant_sensor_3eb0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: plant-status
|
||||
entity: plant.plant_sensor_cea4
|
||||
# type: vertical-stack
|
||||
# cards:
|
||||
# - type: plant-status
|
||||
# entity: plant.plant_sensor_cea4
|
||||
|
||||
@@ -59,4 +59,10 @@
|
||||
- url: /hacsfiles/device-card/device-card.js
|
||||
type: module
|
||||
|
||||
- url: /hacsfiles/weather_alerts_card/weather-alerts-card.js
|
||||
type: module
|
||||
|
||||
- url: /hacsfiles/polr-ytube-media-card/polr-ytube-media-card.js
|
||||
type: module
|
||||
|
||||
- url: /local
|
||||
@@ -88,6 +88,18 @@ cards:
|
||||
points_per_hour: 3
|
||||
show:
|
||||
fill: false
|
||||
|
||||
- type: custom:mini-graph-card
|
||||
align_icon: left
|
||||
align_state: center
|
||||
entities:
|
||||
- sensor.mariadb_size
|
||||
font_size: 50
|
||||
name: LocalDB
|
||||
hours_to_show: 168
|
||||
points_per_hour: 1
|
||||
show:
|
||||
fill: false
|
||||
# - type: vertical-stack
|
||||
# cards:
|
||||
# - type: entities
|
||||
|
||||
@@ -105,11 +105,11 @@ cards:
|
||||
class: "hidden-entity"
|
||||
|
||||
- entities:
|
||||
- plant.plant_sensor_cea4
|
||||
- plant.plant_sensor_3eae
|
||||
# - plant.plant_sensor_cea4
|
||||
# - plant.plant_sensor_3eae
|
||||
- plant.hasta_soil_sensor
|
||||
- plant.daisy_soil_sensor
|
||||
- plant.plant_sensor_3eb0
|
||||
# - plant.plant_sensor_3eb0
|
||||
states:
|
||||
- state: "problem"
|
||||
class: "health-warning"
|
||||
|
||||
+35
-28
@@ -779,13 +779,13 @@ badges:
|
||||
navigation_path: /details-yml/batteries
|
||||
hold_action:
|
||||
action: more-info
|
||||
- entity: sensor.lowest_xiaomi_plant_sensor_battery
|
||||
name: BLE Plant
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/batteries
|
||||
hold_action:
|
||||
action: more-info
|
||||
# - entity: sensor.lowest_xiaomi_plant_sensor_battery
|
||||
# name: BLE Plant
|
||||
# tap_action:
|
||||
# action: navigate
|
||||
# navigation_path: /details-yml/batteries
|
||||
# hold_action:
|
||||
# action: more-info
|
||||
- entity: sensor.lowest_ecowitt_battery
|
||||
name: 433 Plant
|
||||
tap_action:
|
||||
@@ -832,27 +832,27 @@ badges:
|
||||
action: more-info
|
||||
- entity: input_boolean.doorbell
|
||||
name: Doorbell
|
||||
- entity: plant.plant_sensor_cea4
|
||||
name: Lilly Plants
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /phone-yaml/plants
|
||||
hold_action:
|
||||
action: more-info
|
||||
- entity: plant.plant_sensor_3eb0
|
||||
name: Green Onions
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /phone-yaml/plants
|
||||
hold_action:
|
||||
action: more-info
|
||||
- entity: plant.plant_sensor_3eae
|
||||
name: Lavendar Plants
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /phone-yaml/plants
|
||||
hold_action:
|
||||
action: more-info
|
||||
# - entity: plant.plant_sensor_cea4
|
||||
# name: Lilly Plants
|
||||
# tap_action:
|
||||
# action: navigate
|
||||
# navigation_path: /phone-yaml/plants
|
||||
# hold_action:
|
||||
# action: more-info
|
||||
# - entity: plant.plant_sensor_3eb0
|
||||
# name: Green Onions
|
||||
# tap_action:
|
||||
# action: navigate
|
||||
# navigation_path: /phone-yaml/plants
|
||||
# hold_action:
|
||||
# action: more-info
|
||||
# - entity: plant.plant_sensor_3eae
|
||||
# name: Lavendar Plants
|
||||
# tap_action:
|
||||
# action: navigate
|
||||
# navigation_path: /phone-yaml/plants
|
||||
# hold_action:
|
||||
# action: more-info
|
||||
- entity: plant.hasta_soil_sensor
|
||||
name: Hostas
|
||||
tap_action:
|
||||
@@ -860,6 +860,13 @@ badges:
|
||||
navigation_path: /phone-yaml/plants
|
||||
hold_action:
|
||||
action: more-info
|
||||
- entity: plant.daisy_soil_sensor
|
||||
name: Dasies
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /phone-yaml/plants
|
||||
hold_action:
|
||||
action: more-info
|
||||
- entity: binary_sensor.check_mail
|
||||
name: Mail
|
||||
tap_action:
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
# DO NOT EDIT THIS FILE.
|
||||
# This file will be reset with updates.
|
||||
# If you want to customize it, copy the content in another folder and file and change the name.
|
||||
# https://www.home-assistant.io/integrations/frontend/#defining-themes
|
||||
Mushroom Shadow:
|
||||
# Home Assistant override
|
||||
ha-card-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.16)
|
||||
ha-card-border-width: 0
|
||||
modes:
|
||||
light: {}
|
||||
dark: {}
|
||||
@@ -1,22 +0,0 @@
|
||||
# DO NOT EDIT THIS FILE.
|
||||
# This file will be reset with updates.
|
||||
# If you want to customize it, copy the content in another folder and file and change the name.
|
||||
# https://www.home-assistant.io/integrations/frontend/#defining-themes
|
||||
Mushroom Square Shadow:
|
||||
# Home Assistant override
|
||||
ha-badge-border-radius: 6px
|
||||
ha-card-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.16)
|
||||
ha-card-border-width: 0
|
||||
ha-card-border-radius: 6px
|
||||
ha-card-features-border-radius: 6px
|
||||
ha-tile-icon-border-radius: 6px
|
||||
# Layout
|
||||
mush-spacing: 8px
|
||||
# Elements
|
||||
mush-icon-border-radius: 6px
|
||||
mush-control-border-radius: 6px
|
||||
# Chips
|
||||
mush-chip-border-radius: 6px
|
||||
modes:
|
||||
light: {}
|
||||
dark: {}
|
||||
@@ -1,20 +0,0 @@
|
||||
# DO NOT EDIT THIS FILE.
|
||||
# This file will be reset with updates.
|
||||
# If you want to customize it, copy the content in another folder and file and change the name.
|
||||
# https://www.home-assistant.io/integrations/frontend/#defining-themes
|
||||
Mushroom Square:
|
||||
# Home Assistant override
|
||||
ha-badge-border-radius: 6px
|
||||
ha-card-border-radius: 6px
|
||||
ha-card-features-border-radius: 6px
|
||||
ha-tile-icon-border-radius: 6px
|
||||
# Layout
|
||||
mush-spacing: 8px
|
||||
# Elements
|
||||
mush-icon-border-radius: 6px
|
||||
mush-control-border-radius: 6px
|
||||
# Chips
|
||||
mush-chip-border-radius: 6px
|
||||
modes:
|
||||
light: {}
|
||||
dark: {}
|
||||
@@ -1,9 +0,0 @@
|
||||
# DO NOT EDIT THIS FILE.
|
||||
# This file will be reset with updates.
|
||||
# If you want to customize it, copy the content in another folder and file and change the name.
|
||||
# https://www.home-assistant.io/integrations/frontend/#defining-themes
|
||||
Mushroom:
|
||||
# Nothing here as it's the default HA theme since 2022.11
|
||||
modes:
|
||||
light: {}
|
||||
dark: {}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user