Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Mar 1, 2024
1 parent 5f51299 commit 2433c0b
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://github.com/aneisch/home-assistant-config/actions/workflows/check-ha-release-compatibility.yml/badge.svg)](https://github.com/aneisch/home-assistant-config/actions)
[![GitHub last commit](https://img.shields.io/github/last-commit/aneisch/home-assistant-config)](https://github.com/aneisch/home-assistant-config/commits/master)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/aneisch/home-assistant-config)](https://github.com/aneisch/home-assistant-config/graphs/commit-activity)
[![HA Version](https://img.shields.io/badge/Running%20Home%20Assistant-2024.2.3%20(Latest)-brightgreen)](https://github.com/home-assistant/home-assistant/releases/latest)
[![HA Version](https://img.shields.io/badge/Running%20Home%20Assistant-2024.2.5%20(Latest)-brightgreen)](https://github.com/home-assistant/home-assistant/releases/latest)
<br><a href="https://www.buymeacoffee.com/aneisch" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-black.png" width="150px" height="35px" alt="Buy Me A Coffee" style="height: 35px !important;width: 150px !important;" ></a>


Expand Down Expand Up @@ -57,7 +57,7 @@ Also using Grafana/Influx for graphing, both running in Docker containers on NUC
Description | value
-- | --
Lines of ESPHome YAML | 2801
Lines of Home Assistant YAML | 9120
Lines of Home Assistant YAML | 9139
[Integrations](https://www.home-assistant.io/integrations/) in use | 57
Zigbee devices in [`zha`](https://www.home-assistant.io/integrations/zha/) | 26
Z-Wave devices in [`zwave_js`](https://www.home-assistant.io/integrations/zwave_js/) | 37
Expand Down
2 changes: 1 addition & 1 deletion extras/Node-RED/flows.json

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions extras/appdaemon/apps/apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ Kitchen Timer Sync:
# # Publish to MQTT (remove mqtt entry if you don't want..)
# mqtt: True

Set Smallgroup Boolean:
Set Smallgroup Boolean On:
module: entity_timer
class: Timer
constrain_days: wed
time_on: "17:00:00"
time_on: "13:13:00"
entities: input_boolean.is_smallgroup

Set Smallgroup Boolean Off:
module: entity_timer
class: Timer
time_off: "23:59:00"
entities: input_boolean.is_smallgroup

Expand Down Expand Up @@ -486,7 +491,7 @@ Globe Lights Smallgroup:
constrain_input_boolean: input_boolean.is_smallgroup
class: Timer
time_on: sunset - 00:20:00
time_off: "21:00:00"
time_off: "21:30:00"
entities: switch.globe_lights

# Turn on focus mode when desk LED on
Expand Down
14 changes: 8 additions & 6 deletions homekit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@
- switch.master_bedroom_ceiling_fan
- script.too_cold
- script.too_hot
exclude_entities:
- lock.all_doors

- name: Mom and Dad House
port: 21064
filter:
include_entities:
- cover.mom_and_dad_garage_mom_and_dad_garage
- cover.mom_and_dad_gate_mom_and_dad_gate
# - name: Mom and Dad House
# port: 21064
# filter:
# include_entities:
# - cover.mom_and_dad_garage_mom_and_dad_garage
# - cover.mom_and_dad_gate_mom_and_dad_gate
Binary file modified images/nodered_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/nodered_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion packages/leak_detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ automation:
# Alert if water flowing for minutes and we're not home
# Alert if water flowing for hours regardless
id: "water_flow_alert"
mode: parallel
trigger:
- platform: state
entity_id: binary_sensor.flume_flow_status
Expand All @@ -41,7 +42,7 @@ automation:
to: "on"
for: "02:00:00"
action:
# irrigation off AND not during a scheduled timer AND bhyve off AND not_home
# any flow when not home and irrigation off AND not during a scheduled timer AND bhyve off
- if: "{{ trigger.id == 'minutes'
and states('sensor.flume_sensor_home_current') | float > 0
and is_state('switch.irrigation_master_valve', 'off')
Expand All @@ -57,6 +58,22 @@ automation:
message: Unexpected water flow! {{ states('sensor.flume_sensor_home_60_minutes')}}g/h (instantaneous {{ states('sensor.flume_sensor_home_current') }}g/m )
data:
priority: 1
# high flow when not home and irrigation off AND not during a scheduled timer AND bhyve off
- if: "{{ trigger.id == 'minutes'
and states('sensor.flume_sensor_home_current') | float > 2
and is_state('switch.irrigation_master_valve', 'off')
and not (now().hour == 12 and now().minute in [0,1,2,3,4,5])
and not (now().hour == 9 and now().minute in [16,17,18,19,20,21])
and not (now().hour == 8 and now().minute in [31,32,33,34,35,36,37,38])
and not is_state('switch.bhyve_1','on')
and is_state('group.trackers', 'home' )
and is_state('input_boolean.guest_mode', 'off') }}"
then:
- service: script.notify_wrapper
data:
message: Unexpected water flow! {{ states('sensor.flume_sensor_home_60_minutes')}}g/h (instantaneous {{ states('sensor.flume_sensor_home_current') }}g/m )
data:
priority: 1
- if: "{{ trigger.id == 'hours' }}"
then:
- service: script.notify_wrapper
Expand Down
4 changes: 2 additions & 2 deletions packages/mom_and_dad_gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ automation:
webhook_id: !secret mom_and_dad_gate_webhook_id
local_only: false
id: gate
allowed_meethods:
allowed_methods:
- GET
- platform: webhook
webhook_id: !secret mom_and_dad_garage_webhook_id
local_only: false
id: garage
allowed_meethods:
allowed_methods:
- GET
action:
- service: cover.toggle
Expand Down

0 comments on commit 2433c0b

Please sign in to comment.