From 119bd58cf3730522b360e56a8e8136f2582c0c1b Mon Sep 17 00:00:00 2001 From: Andrew Neisch Date: Fri, 22 Dec 2023 17:51:24 -0600 Subject: [PATCH] Updates --- README.md | 14 ++-- configuration.yaml | 2 + extras/esphome/bell_thermostat.yaml | 106 ++++++++++++++++++++++++++++ google_home.yaml | 13 ++++ 4 files changed, 128 insertions(+), 7 deletions(-) create mode 100644 extras/esphome/bell_thermostat.yaml create mode 100644 google_home.yaml diff --git a/README.md b/README.md index 67ebea1e..a27cf339 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ Also using Grafana/Influx for graphing, both running in Docker containers on NUC ## Some statistics about my installation: Description | value -- | -- -Lines of ESPHome YAML | 2776 -Lines of Home Assistant YAML | 8450 -[Integrations](https://www.home-assistant.io/integrations/) in use | 52 +Lines of ESPHome YAML | 2863 +Lines of Home Assistant YAML | 8463 +[Integrations](https://www.home-assistant.io/integrations/) in use | 53 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 @@ -66,7 +66,7 @@ Description | value Entities in the [`alarm_control_panel`](https://www.home-assistant.io/components/alarm_control_panel) domain | 1 Entities in the [`automation`](https://www.home-assistant.io/components/automation) domain | 113 Entities in the [`binary_sensor`](https://www.home-assistant.io/components/binary_sensor) domain | 138 -Entities in the [`button`](https://www.home-assistant.io/components/button) domain | 14 +Entities in the [`button`](https://www.home-assistant.io/components/button) domain | 26 Entities in the [`camera`](https://www.home-assistant.io/components/camera) domain | 18 Entities in the [`climate`](https://www.home-assistant.io/components/climate) domain | 1 Entities in the [`counter`](https://www.home-assistant.io/components/counter) domain | 1 @@ -83,14 +83,14 @@ Entities in the [`input_text`](https://www.home-assistant.io/components/input_te Entities in the [`light`](https://www.home-assistant.io/components/light) domain | 41 Entities in the [`lock`](https://www.home-assistant.io/components/lock) domain | 3 Entities in the [`media_player`](https://www.home-assistant.io/components/media_player) domain | 14 -Entities in the [`number`](https://www.home-assistant.io/components/number) domain | 5 +Entities in the [`number`](https://www.home-assistant.io/components/number) domain | 7 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 | 1 Entities in the [`scene`](https://www.home-assistant.io/components/scene) domain | 2 Entities in the [`script`](https://www.home-assistant.io/components/script) domain | 42 Entities in the [`select`](https://www.home-assistant.io/components/select) domain | 3 -Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 394 +Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 398 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 | 163 @@ -100,7 +100,7 @@ Entities in the [`update`](https://www.home-assistant.io/components/update) doma 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 | 2 Entities in the [`zone`](https://www.home-assistant.io/components/zone) domain | 6 -**Total state objects** | **1159** +**Total state objects** | **1177** ## The HACS integrations/plugins that I use: **Appdaemon**:
[aneisch/follow_me_appdaemon](https://github.com/aneisch/follow_me_appdaemon)
diff --git a/configuration.yaml b/configuration.yaml index e420f2ed..ce553c2e 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -113,6 +113,8 @@ frontend: group: !include group.yaml +google_assistant: !include google_home.yaml + history: homekit: !include homekit.yaml diff --git a/extras/esphome/bell_thermostat.yaml b/extras/esphome/bell_thermostat.yaml new file mode 100644 index 00000000..21174781 --- /dev/null +++ b/extras/esphome/bell_thermostat.yaml @@ -0,0 +1,106 @@ +substitutions: + friendly_name: "Bell Thermostat" + +esphome: + name: bell_thermostat + platform: ESP8266 + board: d1_mini + +<<: !include midnight_reboot.yaml + +web_server: + port: 80 + +logger: + level: DEBUG + +wifi: + networks: + - ssid: SSID + password: WPA_KEY + - ssid: SSID + password: WPA_KEY + - ssid: SSID + password: WPA_KEY + +ota: + safe_mode: True + password: esphome_recovery + +mqtt: + broker: MQTT_BROKER + port: 1883 + # ssl_fingerprints: + # - 3f3077cf1c6becb8fa6dbc497ac6d9dc2a51bd42 + username: owntracks + password: totallyowned + log_topic: + topic: ${mqtt_prefix}/logs + level: NONE + +button: + - platform: template + name: "${friendly_name} Fan On" + id: fan_on + on_press: + - logger.log: Fan On Button Pressed + + - platform: template + name: ${friendly_name} Fan Off + id: fan_off + on_press: + - logger.log: Fan Off Button Pressed + + - platform: template + name: ${friendly_name} Fan Auto + id: fan_auto + on_press: + - logger.log: Fan Auto Button Pressed + + - platform: template + name: ${friendly_name} Mode Heat + id: heat + on_press: + - logger.log: Heat Button Pressed + + - platform: template + name: ${friendly_name} Mode Cool + id: cool + on_press: + - logger.log: Cool Button Pressed + + - platform: template + name: ${friendly_name} Mode Off + id: off_button + on_press: + - logger.log: Off Button Pressed + +number: + - platform: template + name: ${friendly_name} Setpoint + optimistic: true + min_value: 65 + max_value: 82 + step: 1 + +switch: + - platform: restart + id: reboot + +sensor: + - platform: uptime + name: ${friendly_name} Bridge Uptime + id: uptime_sensor + update_interval: 600s + + +text_sensor: + - platform: wifi_info + ip_address: + id: ip_address + name: ${friendly_name} Bridge IP Address + - platform: template # This is where we need to http-get the json from thermostat http://$THERMOSTAT_IP/tstat + name: ${friendly_name} Thermostat Data + id: thermostat_data + lambda: |- + return {"Hello World"}; \ No newline at end of file diff --git a/google_home.yaml b/google_home.yaml new file mode 100644 index 00000000..1d35b1f1 --- /dev/null +++ b/google_home.yaml @@ -0,0 +1,13 @@ +project_id: home-assistant-76522 +service_account: !include SERVICE_ACCOUNT.JSON +report_state: true +expose_by_default: false +entity_config: + cover.garage_door: + expose: true + lock.front_door: + expose: true + lock.back_door: + expose: true + lock.garage_exterior_door: + expose: true \ No newline at end of file