Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Aug 26, 2024
1 parent dd0fe03 commit 56545ad
Show file tree
Hide file tree
Showing 11 changed files with 107 additions and 20 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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.8.2%20(Latest)-brightgreen)](https://github.com/home-assistant/home-assistant/releases/latest)
[![HA Version](https://img.shields.io/badge/Running%20Home%20Assistant-2024.8.3%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>

I do my best to keep [Home Assistant](https://github.com/home-assistant/home-assistant) on the [latest release](https://github.com/home-assistant/home-assistant/releases/latest). I'm heavily utilizing [AppDaemon](http://appdaemon.readthedocs.io/en/latest/) and [NodeRed](https://flows.nodered.org/node/node-red-contrib-home-assistant-websocket) for advanced/templated automations. See [Appdaemon config](https://github.com/aneisch/home-assistant-config/tree/master/extras/appdaemon) and my NodeRed screenshots below for details. Most of my setup is run as Docker containers (see [docker-compose](https://github.com/aneisch/home-assistant-config/tree/master/extras/docker-compose) for container list).
Expand Down Expand Up @@ -58,8 +58,8 @@ Home Assistant and other containers have ingress handled automatically by [Traef
## Some statistics about my installation:
Description | value
-- | --
Lines of ESPHome YAML | 3250
Lines of Home Assistant YAML | 9667
Lines of ESPHome YAML | 3254
Lines of Home Assistant YAML | 9668
[Integrations](https://www.home-assistant.io/integrations/) in use | 62
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 Expand Up @@ -93,20 +93,20 @@ Entities in the [`number`](https://www.home-assistant.io/components/number) doma
Entities in the [`person`](https://www.home-assistant.io/components/person) domain | 2
Entities in the [`plant`](https://www.home-assistant.io/components/plant) domain | 1
Entities in the [`remote`](https://www.home-assistant.io/components/remote) domain | 4
Entities in the [`script`](https://www.home-assistant.io/components/script) domain | 50
Entities in the [`script`](https://www.home-assistant.io/components/script) domain | 51
Entities in the [`select`](https://www.home-assistant.io/components/select) domain | 4
Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 519
Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 524
Entities in the [`setter`](https://www.home-assistant.io/components/setter) domain | 1
Entities in the [`siren`](https://www.home-assistant.io/components/siren) domain | 1
Entities in the [`sun`](https://www.home-assistant.io/components/sun) domain | 1
Entities in the [`switch`](https://www.home-assistant.io/components/switch) domain | 178
Entities in the [`switch`](https://www.home-assistant.io/components/switch) domain | 181
Entities in the [`timer`](https://www.home-assistant.io/components/timer) domain | 6
Entities in the [`tts`](https://www.home-assistant.io/components/tts) domain | 1
Entities in the [`update`](https://www.home-assistant.io/components/update) domain | 35
Entities in the [`vacuum`](https://www.home-assistant.io/components/vacuum) domain | 1
Entities in the [`weather`](https://www.home-assistant.io/components/weather) domain | 1
Entities in the [`zone`](https://www.home-assistant.io/components/zone) domain | 6
**Total state objects** | **1416**
**Total state objects** | **1425**
## The HACS integrations/plugins that I use:

**Appdaemon**:<br>
Expand Down
4 changes: 0 additions & 4 deletions alexa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ smart_home:
- script.vacuum_clean_master_bedroom
- script.vacuum_clean_guest_bedroom
- script.vacuum_locate
- script.kitchen_launch_ha_dashboard
- script.kitchen_launch_spotify
- script.kitchen_launch_front_door_stream
- script.kitchen_launch_fotoo
- script.kitchen_launch_timers
- sensor.master_bedroom_temperature
- switch.bethany_office_ceiling_fan
Expand Down
2 changes: 1 addition & 1 deletion extras/appdaemon/appdaemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ appdaemon:
production_mode: False

http:
url: http://10.0.1.22:8888
url: http://0.0.0.0:8888

api:

Expand Down
6 changes: 3 additions & 3 deletions extras/appdaemon/apps/apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -368,23 +368,23 @@ Cameras Smallgroup:
module: entity_timer
class: Timer
constrain_input_boolean: input_boolean.is_smallgroup
time_off: "17:30:00"
time_off: "17:41:00"
time_on: "21:00:00"
entities: switch.driveway_detect,switch.front_door_detect

Indoor Light Automation Sunset Smallgroup:
module: entity_timer
class: Timer
constrain_input_boolean: input_boolean.is_smallgroup
time_on: "17:30:00"
time_on: "17:41:00"
entities: light.andrew_desk_lamp,light.bethany_desk_lamp,light.living_room_lamps,light.master_bedroom_lamps,group.under_cabinet_lights,light.living_room_sconces,light.curio_cabinet,media_player.misc_photo_frame #,group.christmas_trees #,switch.ir_candles
brightness: 255

Entryway Light Sunset Smallgroup:
module: entity_timer
class: Timer
constrain_input_boolean: input_boolean.is_smallgroup
time_on: "17:30:00"
time_on: "17:41:00"
time_off: "23:00:00"
entities: light.entryway_light
brightness: 255
Expand Down
40 changes: 40 additions & 0 deletions extras/docker-compose/other/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,46 @@ services:
- traefik.http.routers.doubletake_local.rule=Host(`doubletake.home.domain.com`)
- traefik.http.routers.doubletake_local.service=doubletake

guacd:
image: guacamole/guacd
container_name: guacd
restart: unless-stopped
security_opt:
- no-new-privileges:true

guacamole:
image: guacamole/guacamole:latest
container_name: guacamole
restart: unless-stopped
depends_on:
- guacd
security_opt:
- no-new-privileges:true
environment:
GUACD_HOSTNAME: guacd
MYSQL_HOSTNAME: mariadb
MYSQL_PORT: 3306
MYSQL_DATABASE: guacamole
MYSQL_USER: guacamole
MYSQL_PASSWORD: Dimmed3
labels:
- traefik.enable=true
- traefik.http.services.guacamole.loadbalancer.server.port=8080
# HTTPS for CF
- traefik.http.routers.guacamole.entrypoints=websecure
- traefik.http.routers.guacamole.tls=true
- traefik.http.routers.guacamole.rule=Host(`guacamole.domain.com`)
- traefik.http.routers.guacamole.middlewares=add-guacamole
- traefik.http.routers.guacamole.service=guacamole
# HTTPS Local Only (with 80-->443 redirect)
- traefik.http.routers.guacamole_local.tls=true
- traefik.http.routers.guacamole_local.tls.certResolver=le-home
- traefik.http.routers.guacamole_local.tls.domains[0].main=*.home.domain.com
- traefik.http.routers.guacamole_local.rule=Host(`guacamole.home.domain.com`)
- traefik.http.routers.guacamole_local.middlewares=add-guacamole
- traefik.http.middlewares.add-guacamole.addPrefix.prefix=/guacamole
- traefik.http.routers.guacamole_local.service=guacamole

# networks:
# macos_network:
# driver: bridge
40 changes: 40 additions & 0 deletions extras/docker-compose/unified/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,46 @@ services:
- traefik.http.routers.doubletake_local.rule=Host(`doubletake.home.domain.com`)
- traefik.http.routers.doubletake_local.service=doubletake

guacd:
image: guacamole/guacd
container_name: guacd
restart: unless-stopped
security_opt:
- no-new-privileges:true

guacamole:
image: guacamole/guacamole:latest
container_name: guacamole
restart: unless-stopped
depends_on:
- guacd
security_opt:
- no-new-privileges:true
environment:
GUACD_HOSTNAME: guacd
MYSQL_HOSTNAME: mariadb
MYSQL_PORT: 3306
MYSQL_DATABASE: guacamole
MYSQL_USER: guacamole
MYSQL_PASSWORD: Dimmed3
labels:
- traefik.enable=true
- traefik.http.services.guacamole.loadbalancer.server.port=8080
# HTTPS for CF
- traefik.http.routers.guacamole.entrypoints=websecure
- traefik.http.routers.guacamole.tls=true
- traefik.http.routers.guacamole.rule=Host(`guacamole.domain.com`)
- traefik.http.routers.guacamole.middlewares=add-guacamole
- traefik.http.routers.guacamole.service=guacamole
# HTTPS Local Only (with 80-->443 redirect)
- traefik.http.routers.guacamole_local.tls=true
- traefik.http.routers.guacamole_local.tls.certResolver=le-home
- traefik.http.routers.guacamole_local.tls.domains[0].main=*.home.domain.com
- traefik.http.routers.guacamole_local.rule=Host(`guacamole.home.domain.com`)
- traefik.http.routers.guacamole_local.middlewares=add-guacamole
- traefik.http.middlewares.add-guacamole.addPrefix.prefix=/guacamole
- traefik.http.routers.guacamole_local.service=guacamole

# networks:
# macos_network:
# driver: bridge
11 changes: 8 additions & 3 deletions extras/esphome/water_meter_s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ substitutions:
i2c_sda: GPIO35 # D2
prefix_name: "S3 "
flow_update_interval_seconds: "2"
hide_magnetic_field_strength_sensors: 'true'
hide_magnetic_field_strength_sensors: 'false'
hide_half_rotations_total_sensor: 'false'

esphome:
Expand Down Expand Up @@ -55,7 +55,7 @@ i2c:
sda: ${i2c_sda}
scl: ${i2c_scl}
scan: True
frequency: 400kHz
#frequency: 300kHz

packages:
meter:
Expand All @@ -77,7 +77,12 @@ binary_sensor:
} else {
return false;
}
switch:
- platform: restart
id: restart_device
name: "${friendly_name} Restart"

debug:
update_interval: 5s

Expand Down
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.
8 changes: 7 additions & 1 deletion packages/photo_frames.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,10 @@ script:
target:
entity_id: "{{ entity_id }}"
data:
command: "input tap 50 200" # tap on screen to make fullscreen
command: "input tap 50 200" # tap on screen to make fullscreen

kitchen_launch_timers:
sequence:
- action: script.photo_frame_launch_timers
data:
entity_id: media_player.kitchen_photo_frame
2 changes: 1 addition & 1 deletion rest_command.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Rest call to appdaemon api so we can intelligently trigger changes via appdaemon apps
# these will be triggered by scripts

adjust_night:
adjust_night:z
url: http://127.0.0.1:8888/api/appdaemon/adjust_night
method: POST
payload: '{"type": "Adjust Night"}'
Expand Down

0 comments on commit 56545ad

Please sign in to comment.