mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 18:15:00 +00:00
Compare commits
208 Commits
38a854a961
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
d692d926dc | ||
|
edbb6aa608 | ||
|
ee0c57ad6c | ||
|
7a45a6007b | ||
|
bf202e770b | ||
|
a0a93dceec | ||
|
7403198c25 | ||
|
e4c9dfb49a | ||
|
3ea720af36 | ||
|
cfbc7ee771 | ||
|
4ce67e83d5 | ||
|
ab5534b33a | ||
|
67295d027b | ||
|
fe64a69be0 | ||
|
136fa6b97d | ||
|
8c1f63cb68 | ||
|
a9c5e52671 | ||
|
4d93cc691c | ||
|
3b38233914 | ||
|
5363853618 | ||
|
fafaa32294 | ||
|
389a3c348f | ||
|
e87e4e90fa | ||
|
9e208fca4e | ||
|
f3a4c5087b | ||
|
833143e445 | ||
|
f1fc8e8012 | ||
|
561b454518 | ||
|
4d0268c009 | ||
|
93fcd66d9c | ||
|
ff868369db | ||
|
61811ede4f | ||
|
ac4d927968 | ||
|
220bf64e51 | ||
|
917469361d | ||
|
ff24c6cf9d | ||
|
0a285a0cbf | ||
|
c314ff2aed | ||
|
536e352b1a | ||
|
c5ab958dbf | ||
|
571b964dd3 | ||
|
a2be180639 | ||
|
8b0844299b | ||
|
db41e60123 | ||
|
cfcbdd0460 | ||
|
97213e22ad | ||
|
0e5a962863 | ||
|
d2a157afe2 | ||
|
7dd07a011d | ||
|
b227b3d01d | ||
|
38103c586e | ||
|
30c9b3e193 | ||
|
4ca34cee22 | ||
|
4a1989e080 | ||
|
da13093f1b | ||
|
92ab5e1b0a | ||
|
6f5090b5e4 | ||
|
1c57ffa991 | ||
|
ec8ada20e2 | ||
|
fbd7fe53db | ||
|
c188e11582 | ||
|
0541e70e90 | ||
|
48c2bd036a | ||
|
a8e116e9b9 | ||
|
8eeeaf4c5f | ||
|
6407f68058 | ||
|
4776b9ddf3 | ||
|
9b1b76e877 | ||
|
047f3a3a8c | ||
|
ffb52d7302 | ||
|
4caff5def4 | ||
|
bcee75652d | ||
|
2600a391cb | ||
|
e9127ee527 | ||
|
08bcbae544 | ||
|
184a084f9f | ||
|
6d2830f9af | ||
|
40c08da183 | ||
|
f0255cb46e | ||
|
e7e3a68e60 | ||
|
9752103e55 | ||
|
be0ecbe727 | ||
|
791b504aa6 | ||
|
7ffa991419 | ||
|
0d95692dc9 | ||
|
f8f7e0cfcf | ||
|
83f229b6bf | ||
|
1575f25a45 | ||
|
0f2691bad4 | ||
|
60446c803c | ||
|
75f4878930 | ||
|
7946a23a47 | ||
|
8ea17e6d8f | ||
|
3e53f43b3c | ||
|
51b2de09a9 | ||
|
478e946d35 | ||
|
37746814e7 | ||
|
8d6345308a | ||
|
05a9013bf8 | ||
|
05afae689e | ||
|
9aedbc792d | ||
|
9e4a9ad520 | ||
|
2993102ed8 | ||
|
12a8ee2c2a | ||
|
885dc0a65c | ||
|
f7351aca3c | ||
|
1729fa4bc4 | ||
|
4831858e5c | ||
|
cf75c3eb2b | ||
|
2c93a59e88 | ||
|
c9e54f2d91 | ||
|
00f3873641 | ||
|
ded8969e00 | ||
|
ab46ac21e4 | ||
|
91da1f4112 | ||
|
7874c7afc4 | ||
|
88dd182369 | ||
|
f49366c98e | ||
|
253967d369 | ||
|
104a8b789a | ||
|
fc3ec0c195 | ||
|
82b4ac40ef | ||
|
17444984bb | ||
|
a4a8223f3a | ||
|
13d2e28f80 | ||
|
a8cfcc3052 | ||
|
490a701dd6 | ||
|
0ad2ef9239 | ||
|
5b5493825d | ||
|
640e33a436 | ||
|
534f8ae130 | ||
|
b766929bd6 | ||
|
76967a432b | ||
|
3fbd626ce1 | ||
|
9c0aebaa05 | ||
|
3a42a73b50 | ||
|
ad07018549 | ||
|
b4d3a61ee1 | ||
|
05014b9976 | ||
|
1dd9c9f714 | ||
|
224c0ff8af | ||
|
572355da3c | ||
|
8b53ea1430 | ||
|
bf4ca6bcae | ||
|
8c84df144d | ||
|
c5d46363e2 | ||
|
89409b1176 | ||
|
e0133d1799 | ||
|
a1388a6f82 | ||
|
03ab109ca9 | ||
|
6ea09aab6f | ||
|
001c53546c | ||
|
ff3c8df902 | ||
|
54d2ef79d7 | ||
|
b93fef19b7 | ||
|
cd4b35e804 | ||
|
c1057f8499 | ||
|
7ab77cbd5f | ||
|
ef8931e732 | ||
|
bb622d6db5 | ||
|
50f8bbf02c | ||
|
b1c75c76fb | ||
|
0c0ecf7ea7 | ||
|
f5eb07f391 | ||
|
7d23d026cf | ||
|
c9d76dcace | ||
|
f13ddf8694 | ||
|
c5fbda4a0f | ||
|
8a2141c78c | ||
|
277fdd89f3 | ||
|
e92beded17 | ||
|
e75ca4b763 | ||
|
087eb784d9 | ||
|
2fc2360267 | ||
|
cbea31a807 | ||
|
9105e5fc12 | ||
|
64ab9b1e51 | ||
|
348ea39056 | ||
|
16164f93f7 | ||
|
374bbcf312 | ||
|
2c0bffa221 | ||
|
875a618f10 | ||
|
51346c1c4c | ||
|
02efd9ae3d | ||
|
92c4553a38 | ||
|
ef1d25e9ee | ||
|
d26d74ffa4 | ||
|
ca3b3b3360 | ||
|
6a1c81c0cb | ||
|
ab18284c9c | ||
|
4e7f5c182e | ||
|
d9af5da123 | ||
|
42194f2e42 | ||
|
0e92d4b905 | ||
|
b61bfb588e | ||
|
7c1023ad15 | ||
|
c94cf5d75a | ||
|
83e455add2 | ||
|
12104c2e83 | ||
|
1ce3d22013 | ||
|
311f6f5039 | ||
|
e819d6f6c6 | ||
|
21b21c8800 | ||
|
808f0dc5f1 | ||
|
957b74b126 | ||
|
1ea643af8e | ||
|
6a282eb490 | ||
|
6b5ae027f7 |
56
.github/stale.yml
vendored
56
.github/stale.yml
vendored
@@ -1,56 +0,0 @@
|
||||
# Configuration for probot-stale - https://github.com/probot/stale
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
||||
daysUntilStale: 7
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||
daysUntilClose: 1
|
||||
|
||||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
|
||||
onlyLabels: ['weekly-digest']
|
||||
|
||||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
||||
exemptLabels: []
|
||||
|
||||
# Set to true to ignore issues in a project (defaults to false)
|
||||
exemptProjects: false
|
||||
|
||||
# Set to true to ignore issues in a milestone (defaults to false)
|
||||
exemptMilestones: false
|
||||
|
||||
# Set to true to ignore issues with an assignee (defaults to false)
|
||||
exemptAssignees: false
|
||||
|
||||
# Label to use when marking as stale
|
||||
staleLabel: oldnews
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as old news and will be closed shortly. There is a new Weekly digest available. Please see that one for the most up to date information.
|
||||
|
||||
# Comment to post when removing the stale label.
|
||||
# unmarkComment: >
|
||||
# Your comment here.
|
||||
|
||||
# Comment to post when closing a stale Issue or Pull Request.
|
||||
# closeComment: >
|
||||
# Your comment here.
|
||||
|
||||
# Limit the number of actions per hour, from 1-30. Default is 30
|
||||
limitPerRun: 30
|
||||
|
||||
# Limit to only `issues` or `pulls`
|
||||
only: issues
|
||||
|
||||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
|
||||
# pulls:
|
||||
# daysUntilStale: 30
|
||||
# markComment: >
|
||||
# This pull request has been automatically marked as stale because it has not had
|
||||
# recent activity. It will be closed if no further activity occurs. Thank you
|
||||
# for your contributions.
|
||||
|
||||
# issues:
|
||||
# exemptLabels:
|
||||
# - confirmed
|
7
.github/weekly-digest.yml
vendored
7
.github/weekly-digest.yml
vendored
@@ -1,7 +0,0 @@
|
||||
# Configuration for weekly-digest - https://github.com/apps/weekly-digest
|
||||
publishDay: mon
|
||||
canPublishIssues: true
|
||||
canPublishPullRequests: true
|
||||
canPublishContributors: true
|
||||
canPublishStargazers: true
|
||||
canPublishCommits: true
|
40
.github/workflows/update-badge.yml
vendored
Normal file
40
.github/workflows/update-badge.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Update HA Version Badge
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ] # If your default branch is "master", change this
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Badgen
|
||||
run: npm install -g badgen-cli
|
||||
|
||||
- name: Generate Badge
|
||||
id: gen_badge
|
||||
run: |
|
||||
HA_VERSION=$(cat config/.HA_VERSION)
|
||||
badgen --label "HA Version" --status "$HA_VERSION" --color "blue" > ha-version-badge.svg
|
||||
echo "::set-output name=haVersion::$HA_VERSION"
|
||||
|
||||
|
||||
- name: Commit and Push changes
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
git add ha-version-badge.svg
|
||||
# Only commit if there's a change
|
||||
git diff --quiet --cached || git commit -m "Update HA version badge to ${{ steps.gen_badge.outputs.haVersion }}"
|
||||
git push
|
15
.github/yamburger.yaml
vendored
15
.github/yamburger.yaml
vendored
@@ -1,15 +0,0 @@
|
||||
tags:
|
||||
- name: env_var
|
||||
kind: scalar
|
||||
- name: include
|
||||
kind: scalar
|
||||
- name: secret
|
||||
kind: scalar
|
||||
- name: include_dir_list
|
||||
kind: scalar
|
||||
- name: include_dir_merge_list
|
||||
kind: scalar
|
||||
- name: include_dir_named
|
||||
kind: scalar
|
||||
- name: include_dir_merge_named
|
||||
kind: scalar
|
58
.gitignore
vendored
58
.gitignore
vendored
@@ -1,4 +1,7 @@
|
||||
*.DISABLED
|
||||
# .gitignore for Home Assistant - https://www.vcloudinfo.com/click-here
|
||||
# Ignore common Home Assistant files and directories
|
||||
|
||||
# System files
|
||||
*.pid
|
||||
*.xml
|
||||
*.csr
|
||||
@@ -10,29 +13,54 @@
|
||||
*.sqlite
|
||||
*.log*
|
||||
*.db
|
||||
core.*
|
||||
core
|
||||
.uuid
|
||||
.git-credentials
|
||||
|
||||
# Home Assistant specific
|
||||
*.DISABLED
|
||||
.cloud
|
||||
.storage
|
||||
.vscode
|
||||
.google.token
|
||||
.uuid
|
||||
core.*
|
||||
core
|
||||
home-assistant_v2
|
||||
home-assistant_v2.*
|
||||
deps
|
||||
icloud
|
||||
__pycache__
|
||||
hacs
|
||||
alexa_media
|
||||
custom_components
|
||||
image
|
||||
tts
|
||||
secrets.yaml
|
||||
secrets
|
||||
known_devices.yaml
|
||||
.homekit.state
|
||||
ipchange.yaml
|
||||
ip_bans.yaml
|
||||
production_auth.json
|
||||
OZW_Log.txt
|
||||
.spotify-token-cache
|
||||
google_calendars.yaml
|
||||
.ring_cache.pickle
|
||||
.ios.conf
|
||||
|
||||
# Configuration files
|
||||
secrets.yaml
|
||||
secrets
|
||||
known_devices.yaml
|
||||
entity_registry.yaml
|
||||
.google_maps_location_sharing.cookies*
|
||||
google_service_account.json
|
||||
service_account.json
|
||||
*.token
|
||||
*.tokens
|
||||
*.cookies
|
||||
|
||||
# Directories
|
||||
backups
|
||||
deps
|
||||
config/backups
|
||||
icloud
|
||||
__pycache__
|
||||
hacs
|
||||
alexa_media
|
||||
custom_components
|
||||
config/www/community
|
||||
community
|
||||
image
|
||||
tts
|
||||
.ssh
|
||||
.auth
|
||||
.nest
|
||||
|
23
README.md
23
README.md
@@ -1,5 +1,5 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
@@ -7,9 +7,10 @@
|
||||
<p align="center"><a align="center" target="_blank" href="https://vcloudinfo.us12.list-manage.com/subscribe?u=45cab4343ffdbeb9667c28a26&id=e01847e94f"><img src="https://feeds.feedburner.com/RecentCommitsToBearStoneHA.1.gif" alt="Recent Commits to Bear Stone Smart Home" style="border:0"></a></p>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
@@ -69,7 +70,7 @@ As of 2018, I have migrated everything to a Docker based platform. You can read
|
||||
* [Docker](https://Docker.com) - Docker runs on a Ubuntu Server Core base. [Video on Ubuntu Upgrades](https://youtu.be/w-YNtU1qtlk)
|
||||
* [Youtube Video on Upgrading Home Assistant in Docker](https://youtu.be/ipatCbsY-54) - Be sure to Subscribe to get all Home Assistant videos.
|
||||
* [Home Assistant Container](https://home-assistant.io/) - It all starts here.
|
||||
* The amazing [Floorplan](https://github.com/pkozul/ha-floorplan) project to help visualize my smarthome.
|
||||
* The amazing [Floorplan](https://github.com/ExperienceLovelace/ha-floorplan) project to help visualize my smarthome.
|
||||
* SSL via [SSLS](https://SSLS.com) - 5 Bucks A Year! - Keeps me safe! - [Youtube Video on Port Forwarding](https://youtu.be/y5NOP1F-xGU) - On my Arris TG1682 Modem
|
||||
* [Docker-Compose.yaml](https://github.com/CCOSTAN/Docker_Support) - Realtime list of all the Containers.
|
||||
* [Dasher Container](https://github.com/maddox/dasher) to leverage those cheap [Amazon Dash Buttons](https://youtu.be/rwQVe6sIi9w)
|
||||
@@ -77,8 +78,6 @@ As of 2018, I have migrated everything to a Docker based platform. You can read
|
||||
* [Unifi controller Container to manage](https://github.com/jacobalberty/unifi-docker) [APs](https://amzn.to/2mBSfE9)
|
||||
|
||||

|
||||
Lots of my gear comes from [BetaBound](https://goo.gl/0vxT8A) for Beta Testing and reviews.
|
||||
Be sure to use the referral code 'Reliable jaguar' so we both get priority for Beta Tests!
|
||||
|
||||
#### <a name="diagram"></a>Smart Home Diagram - Get your icons (<a href="https://www.vcloudinfo.com/2018/07/the-bear-stone-home-assistant-icon.html">here</a>).
|
||||
Here is how all the parts talk to each other. Keep reading to see code examples and explanations.
|
||||
@@ -260,10 +259,8 @@ Defining Guest Mode - /config/input_boolean/home_modes.yaml#L1-L4</a><br>
|
||||
Using Guest mode as a condition - /config/script/speech_engine.yaml#L26-L28</a><br>
|
||||
<p></details>
|
||||
<details>
|
||||
<summary>Track garbage days and chore days for the kids. Voice reminders and Alexa intergration/request for info.'</summary><p align="center">
|
||||
<summary>Track garbage days. Voice reminders and Alexa intergration/request for info.'</summary><p align="center">
|
||||
<a href=https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/input_boolean/hidden_booleans.yaml#L5-L7>
|
||||
Defining responsibilities trigger - /config/input_boolean/hidden_booleans.yaml#L5-L7</a><br>
|
||||
<a href=https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/script/speech_engine.yaml#L56-L68>
|
||||
Responsibility Speech Code - /config/script/speech_engine.yaml#L56-L68</a><br>
|
||||
<p></details>
|
||||
<details>
|
||||
@@ -797,7 +794,7 @@ Motion automations - /config/script/front_house_motion.yaml</a><br>
|
||||
[JuiceBox Pro 40 EVSE](https://amzn.to/2AIdSdx)
|
||||
</td><td align="center">
|
||||
|
||||
[Chevy Bolt Electric Car](https://amzn.to/2DRP83a)
|
||||
[Tesla Model Y Electric Car](https://amzn.to/3UM4BZ5)
|
||||
</td><td align="center">
|
||||
|
||||
[Siri, are my garage doors closed?](https://www.vCloudInfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)
|
||||
@@ -957,10 +954,10 @@ Process Monitor Package - /config/packages/processmonitor.yaml</a><br>
|
||||
|
||||
The [issues section](https://github.com/CCOSTAN/Home-AssistantConfig/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) on github is where I store all my wishful ideas and future enhancements.
|
||||
Feel free to join the conversations there.
|
||||
[](https://www.vcloudinfo.com/2017/11/building-worlds-greatest-smart-alarm.html)
|
||||
[](https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html)
|
||||
[](https://www.vcloudinfo.com/2017/11/building-worlds-greatest-smart-alarm.html)
|
||||
[](https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html)
|
||||
|
||||
**All files are now being edited with [VSCode](https://code.visualstudio.com/).**
|
||||
**All files are now being edited with [Cursor.ai](https://www.cursor.com/).**
|
||||
|
||||
**Still have questions on my Config?** <br>
|
||||
**Message me on X :** [](https://www.x.com/ccostan) or [](https://www.x.com/BearStoneHA)
|
||||
|
@@ -1,13 +1,27 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="http://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="http://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/stargazers"><img src="https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/stargazers">
|
||||
<img src="https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig.svg?style=plastic" />
|
||||
</a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master">
|
||||
<img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plastic" />
|
||||
</a>
|
||||
<br />
|
||||
|
||||
<a href="https://github.com/ccostan/home-assistantconfig/blob/master/config/.HA_VERSION">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg"
|
||||
alt="My Home Assistant Version Badge"
|
||||
/>
|
||||
</a>
|
||||
|
||||
|
||||
</h4>
|
||||
</div>
|
||||
<p><font size="3">
|
||||
|
@@ -1 +1 @@
|
||||
2024.1.0
|
||||
2025.8.0
|
@@ -1,245 +0,0 @@
|
||||
2017-09-16 21:35:52.765 Always, OpenZwave Version 1.4.2508 Starting Up
|
||||
2017-09-16 21:36:34.508 Info, Setting Up Provided Network Key for Secure Communications
|
||||
2017-09-16 21:36:34.509 Warning, Failed - Network Key Not Set
|
||||
2017-09-16 21:36:34.509 Info, mgr, Added driver for controller /dev/ttyACM0
|
||||
2017-09-16 21:36:34.509 Info, Opening controller /dev/ttyACM0
|
||||
2017-09-16 21:36:34.509 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
|
||||
2017-09-16 21:36:34.511 Info, Serial port /dev/ttyACM0 opened (attempt 1)
|
||||
2017-09-16 21:36:34.516 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
|
||||
2017-09-16 21:36:34.516 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
|
||||
2017-09-16 21:36:34.516 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
|
||||
2017-09-16 21:36:34.516 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
|
||||
2017-09-16 21:36:34.516 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
|
||||
2017-09-16 21:36:34.517 Detail,
|
||||
2017-09-16 21:36:34.517 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
|
||||
2017-09-16 21:36:34.519 Detail, contrlr, Received: 0x01, 0x10, 0x01, 0x15, 0x5a, 0x2d, 0x57, 0x61, 0x76, 0x65, 0x20, 0x33, 0x2e, 0x39, 0x35, 0x00, 0x01, 0x99
|
||||
2017-09-16 21:36:34.520 Detail,
|
||||
2017-09-16 21:36:34.520 Info, contrlr, Received reply to FUNC_ID_ZW_GET_VERSION:
|
||||
2017-09-16 21:36:34.520 Info, contrlr, Static Controller library, version Z-Wave 3.95
|
||||
2017-09-16 21:36:34.520 Detail, Node045, Expected reply was received
|
||||
2017-09-16 21:36:34.520 Detail, Node045, Message transaction complete
|
||||
2017-09-16 21:36:34.520 Detail,
|
||||
2017-09-16 21:36:34.520 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.520 Detail,
|
||||
2017-09-16 21:36:34.521 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
|
||||
2017-09-16 21:36:34.523 Detail, contrlr, Received: 0x01, 0x08, 0x01, 0x20, 0xe2, 0xaa, 0x59, 0x83, 0x01, 0x45
|
||||
2017-09-16 21:36:34.524 Detail,
|
||||
2017-09-16 21:36:34.524 Info, contrlr, Received reply to FUNC_ID_ZW_MEMORY_GET_ID. Home ID = 0xe2aa5983. Our node ID = 1
|
||||
2017-09-16 21:36:34.531 Detail, Node170, Expected reply was received
|
||||
2017-09-16 21:36:34.531 Detail, Node170, Message transaction complete
|
||||
2017-09-16 21:36:34.532 Detail,
|
||||
2017-09-16 21:36:34.532 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.532 Detail,
|
||||
2017-09-16 21:36:34.532 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
|
||||
2017-09-16 21:36:34.535 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x05, 0x08, 0xf7
|
||||
2017-09-16 21:36:34.535 Detail,
|
||||
2017-09-16 21:36:34.535 Info, contrlr, Received reply to FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES:
|
||||
2017-09-16 21:36:34.535 Info, contrlr, There is no SUC ID Server (SIS) in this network.
|
||||
2017-09-16 21:36:34.535 Info, contrlr, The PC controller is a primary controller.
|
||||
2017-09-16 21:36:34.535 Detail, Node247, Expected reply was received
|
||||
2017-09-16 21:36:34.535 Detail, Node247, Message transaction complete
|
||||
2017-09-16 21:36:34.536 Detail,
|
||||
2017-09-16 21:36:34.536 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.536 Detail,
|
||||
2017-09-16 21:36:34.536 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
|
||||
2017-09-16 21:36:34.540 Detail, contrlr, Received: 0x01, 0x2b, 0x01, 0x07, 0x01, 0x00, 0x00, 0x86, 0x01, 0x01, 0x00, 0x5a, 0xfe, 0x81, 0xff, 0x88, 0x4f, 0x1f, 0x00, 0x00, 0xfb, 0x9f, 0x7d, 0xa0, 0x67, 0x00, 0x00, 0x80, 0x00, 0x80, 0x86, 0x00, 0x00, 0x00, 0xe8, 0x73, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x60, 0x00, 0x00, 0xfa
|
||||
2017-09-16 21:36:34.541 Detail,
|
||||
2017-09-16 21:36:34.541 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_CAPABILITIES
|
||||
2017-09-16 21:36:34.541 Info, contrlr, Serial API Version: 1.0
|
||||
2017-09-16 21:36:34.541 Info, contrlr, Manufacturer ID: 0x0086
|
||||
2017-09-16 21:36:34.541 Info, contrlr, Product Type: 0x0101
|
||||
2017-09-16 21:36:34.541 Info, contrlr, Product ID: 0x005a
|
||||
2017-09-16 21:36:34.541 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7
|
||||
2017-09-16 21:36:34.541 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
|
||||
2017-09-16 21:36:34.541 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97
|
||||
2017-09-16 21:36:34.542 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9
|
||||
2017-09-16 21:36:34.542 Detail, Expected reply was received
|
||||
2017-09-16 21:36:34.542 Detail, Message transaction complete
|
||||
2017-09-16 21:36:34.542 Detail,
|
||||
2017-09-16 21:36:34.542 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.542 Detail,
|
||||
2017-09-16 21:36:34.542 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
|
||||
2017-09-16 21:36:34.545 Detail, contrlr, Received: 0x01, 0x04, 0x01, 0x56, 0x00, 0xac
|
||||
2017-09-16 21:36:34.545 Detail,
|
||||
2017-09-16 21:36:34.545 Info, contrlr, Received reply to GET_SUC_NODE_ID. Node ID = 0
|
||||
2017-09-16 21:36:34.545 Info, Controller Does not Support SUC - Cannot Setup Controller as SUC Node
|
||||
2017-09-16 21:36:34.545 Detail, Node172, Expected reply was received
|
||||
2017-09-16 21:36:34.545 Detail, Node172, Message transaction complete
|
||||
2017-09-16 21:36:34.546 Detail,
|
||||
2017-09-16 21:36:34.546 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.546 Detail,
|
||||
2017-09-16 21:36:34.546 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x1c) - FUNC_ID_ZW_GET_RANDOM: 0x01, 0x04, 0x00, 0x1c, 0x20, 0xc7
|
||||
2017-09-16 21:36:34.602 Detail, contrlr, Received: 0x01, 0x25, 0x01, 0x1c, 0x01, 0x20, 0x0b, 0x38, 0xf6, 0xb5, 0xff, 0x7c, 0x32, 0x12, 0x3d, 0xf5, 0xd8, 0x6d, 0x1c, 0x9b, 0xd1, 0x91, 0x84, 0x2f, 0x3a, 0x15, 0x26, 0x0e, 0x03, 0xbf, 0xf2, 0xf4, 0x03, 0x4b, 0x40, 0x52, 0x35, 0xc5, 0x33
|
||||
2017-09-16 21:36:34.602 Detail,
|
||||
2017-09-16 21:36:34.602 Info, contrlr, Received reply to FUNC_ID_ZW_GET_RANDOM: true
|
||||
2017-09-16 21:36:34.603 Detail, Node032, Expected reply was received
|
||||
2017-09-16 21:36:34.603 Detail, Node032, Message transaction complete
|
||||
2017-09-16 21:36:34.603 Detail,
|
||||
2017-09-16 21:36:34.603 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.603 Detail,
|
||||
2017-09-16 21:36:34.603 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x02) - FUNC_ID_SERIAL_API_GET_INIT_DATA: 0x01, 0x03, 0x00, 0x02, 0xfe
|
||||
2017-09-16 21:36:34.704 Detail, contrlr, Received: 0x01, 0x25, 0x01, 0x02, 0x05, 0x00, 0x1d, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0xcf
|
||||
2017-09-16 21:36:34.704 Detail,
|
||||
2017-09-16 21:36:34.704 Info, mgr, Driver with Home ID of 0xe2aa5983 is now ready.
|
||||
2017-09-16 21:36:34.704 Info,
|
||||
2017-09-16 21:36:34.714 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_GET_INIT_DATA:
|
||||
2017-09-16 21:36:34.716 Info, contrlr, Node 001 - Known
|
||||
2017-09-16 21:36:34.716 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=CacheLoad live=1
|
||||
2017-09-16 21:36:34.717 Detail, Node001, QueryStage_CacheLoad
|
||||
2017-09-16 21:36:34.717 Info, Node001, Node Identity Codes: 0086:0101:005a
|
||||
2017-09-16 21:36:34.717 Detail, Node001, QueryStage_Associations
|
||||
2017-09-16 21:36:34.717 Detail, Node001, QueryStage_Neighbors
|
||||
2017-09-16 21:36:34.717 Detail, contrlr, Requesting routing info (neighbor list) for Node 1
|
||||
2017-09-16 21:36:34.717 Detail, Node001, Queuing (Command) Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
|
||||
2017-09-16 21:36:34.717 Detail, Node001, Queuing (Query) Query Stage Complete (Neighbors)
|
||||
2017-09-16 21:36:34.718 Info, contrlr, Node 002 - Known
|
||||
2017-09-16 21:36:34.718 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=CacheLoad live=1
|
||||
2017-09-16 21:36:34.718 Detail, Node002, QueryStage_CacheLoad
|
||||
2017-09-16 21:36:34.718 Info, Node002, Node Identity Codes: 011a:0601:0903
|
||||
2017-09-16 21:36:34.718 Info, Node002, NoOperation::Set - Routing=true
|
||||
2017-09-16 21:36:34.718 Detail, Node002, Queuing (NoOp) NoOperation_Set (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xca
|
||||
2017-09-16 21:36:34.718 Detail, Node002, Queuing (Query) Query Stage Complete (CacheLoad)
|
||||
2017-09-16 21:36:34.718 Info, contrlr, Node 004 - Known
|
||||
2017-09-16 21:36:34.718 Detail, Node004, AdvanceQueries queryPending=0 queryRetries=0 queryStage=CacheLoad live=1
|
||||
2017-09-16 21:36:34.718 Detail, Node004, QueryStage_CacheLoad
|
||||
2017-09-16 21:36:34.718 Info, Node004, Node Identity Codes: 0086:0002:0004
|
||||
2017-09-16 21:36:34.719 Info, Node004, NoOperation::Set - Routing=true
|
||||
2017-09-16 21:36:34.719 Detail, Node004, Queuing (NoOp) NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x0b, 0xcd
|
||||
2017-09-16 21:36:34.719 Detail, Node004, Queuing (Query) Query Stage Complete (CacheLoad)
|
||||
2017-09-16 21:36:34.719 Detail, Expected reply was received
|
||||
2017-09-16 21:36:34.719 Detail, Message transaction complete
|
||||
2017-09-16 21:36:34.719 Detail,
|
||||
2017-09-16 21:36:34.719 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:34.719 Detail, Node001, Notification: DriverReady
|
||||
2017-09-16 21:36:34.754 Detail, Node001, Notification: NodeAdded
|
||||
2017-09-16 21:36:39.375 Detail, Node001, Notification: NodeProtocolInfo
|
||||
2017-09-16 21:36:39.389 Detail, Node001, Notification: EssentialNodeQueriesComplete
|
||||
2017-09-16 21:36:39.393 Detail, Node001, Notification: ValueAdded
|
||||
2017-09-16 21:36:39.433 Detail, Node001, Notification: NodeNaming
|
||||
2017-09-16 21:36:39.440 Detail, Node002, Notification: NodeAdded
|
||||
2017-09-16 21:36:40.391 Detail, Node002, Notification: NodeProtocolInfo
|
||||
2017-09-16 21:36:40.411 Detail, Node002, Notification: EssentialNodeQueriesComplete
|
||||
2017-09-16 21:36:40.416 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.439 Info, Node002, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:40.530 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.572 Info, Node002, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:40.645 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.697 Info, Node002, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:40.735 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.761 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.783 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.826 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.879 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:40.987 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:41.051 Detail, Node002, Notification: Group
|
||||
2017-09-16 21:36:41.058 Detail, Node002, Notification: Group
|
||||
2017-09-16 21:36:41.102 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:41.155 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:41.174 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:41.199 Detail, Node002, Notification: ValueAdded
|
||||
2017-09-16 21:36:41.276 Info, Node002, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:41.357 Detail, Node002, Notification: NodeNaming
|
||||
2017-09-16 21:36:41.380 Detail, Node004, Notification: NodeAdded
|
||||
2017-09-16 21:36:43.210 Detail, Node004, Notification: NodeProtocolInfo
|
||||
2017-09-16 21:36:43.219 Detail, Node004, Notification: EssentialNodeQueriesComplete
|
||||
2017-09-16 21:36:43.223 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.245 Info, Node004, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:43.262 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.287 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.305 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.320 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.334 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.348 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.362 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.384 Info, Node004, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:43.393 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.440 Info, Node004, DisablePoll failed - value not on list
|
||||
2017-09-16 21:36:43.454 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.519 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.553 Detail, Node004, Notification: Group
|
||||
2017-09-16 21:36:43.563 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.593 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.650 Detail, Node004, Notification: ValueAdded
|
||||
2017-09-16 21:36:43.678 Detail, Node004, Notification: NodeNaming
|
||||
2017-09-16 21:36:43.701 Detail,
|
||||
2017-09-16 21:36:43.701 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x06) - FUNC_ID_SERIAL_API_SET_TIMEOUTS: 0x01, 0x05, 0x00, 0x06, 0x64, 0x0f, 0x97
|
||||
2017-09-16 21:36:43.703 Detail, contrlr, Received: 0x01, 0x05, 0x01, 0x06, 0x96, 0x0f, 0x64
|
||||
2017-09-16 21:36:43.704 Detail,
|
||||
2017-09-16 21:36:43.704 Info, contrlr, Received reply to FUNC_ID_SERIAL_API_SET_TIMEOUTS
|
||||
2017-09-16 21:36:43.704 Detail, Node015, Expected reply was received
|
||||
2017-09-16 21:36:43.704 Detail, Node015, Message transaction complete
|
||||
2017-09-16 21:36:43.705 Detail,
|
||||
2017-09-16 21:36:43.705 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:43.705 Detail,
|
||||
2017-09-16 21:36:43.705 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x00) - FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION: 0x01, 0x07, 0x00, 0x03, 0x01, 0x02, 0x01, 0x00, 0xf9
|
||||
2017-09-16 21:36:43.707 Detail, contrlr, Removing current message
|
||||
2017-09-16 21:36:43.707 Detail,
|
||||
2017-09-16 21:36:43.707 Info, Node001, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=1): 0x01, 0x07, 0x00, 0x80, 0x01, 0x00, 0x00, 0x03, 0x7a
|
||||
2017-09-16 21:36:43.712 Detail, Node001, Received: 0x01, 0x20, 0x01, 0x80, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54
|
||||
2017-09-16 21:36:43.712 Detail,
|
||||
2017-09-16 21:36:43.712 Info, Node001, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO
|
||||
2017-09-16 21:36:43.713 Info, Node001, Neighbors of this node are:
|
||||
2017-09-16 21:36:43.713 Info, Node001, Node 2
|
||||
2017-09-16 21:36:43.713 Info, Node001, Node 4
|
||||
2017-09-16 21:36:43.713 Detail, Expected reply was received
|
||||
2017-09-16 21:36:43.713 Detail, Message transaction complete
|
||||
2017-09-16 21:36:43.713 Detail,
|
||||
2017-09-16 21:36:43.713 Detail, Node001, Removing current message
|
||||
2017-09-16 21:36:43.713 Detail,
|
||||
2017-09-16 21:36:43.713 Info, Node002, Sending (NoOp) message (Callback ID=0x0a, Expected Reply=0x13) - NoOperation_Set (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x00, 0x00, 0x25, 0x0a, 0xca
|
||||
2017-09-16 21:36:43.722 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
|
||||
2017-09-16 21:36:43.723 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
|
||||
2017-09-16 21:36:47.998 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x0a, 0x01, 0x01, 0xac, 0x4d
|
||||
2017-09-16 21:36:47.998 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x0a received (expected 0x0a)
|
||||
2017-09-16 21:36:47.998 Info, Node002, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
|
||||
2017-09-16 21:36:47.998 Info, Node002, Node 2 has been marked as asleep
|
||||
2017-09-16 21:36:47.998 Info, Node002, Node not responding - moving QueryStageComplete command to Wake-Up queue
|
||||
2017-09-16 21:36:47.998 Detail, Node002, Notification: Notification - NoOperation
|
||||
2017-09-16 21:36:48.008 Detail, Node002, Notification: Notification - Node Asleep
|
||||
2017-09-16 21:36:48.015 Detail,
|
||||
2017-09-16 21:36:48.016 Info, Node004, Sending (NoOp) message (Callback ID=0x0b, Expected Reply=0x13) - NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0x0b, 0xcd
|
||||
2017-09-16 21:36:48.028 Detail, Node004, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
|
||||
2017-09-16 21:36:48.028 Detail, Node004, ZW_SEND_DATA delivered to Z-Wave stack
|
||||
2017-09-16 21:36:52.131 Detail, Node004, Received: 0x01, 0x07, 0x00, 0x13, 0x0b, 0x01, 0x01, 0x9b, 0x7b
|
||||
2017-09-16 21:36:52.131 Detail, Node004, ZW_SEND_DATA Request with callback ID 0x0b received (expected 0x0b)
|
||||
2017-09-16 21:36:52.131 Info, Node004, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
|
||||
2017-09-16 21:36:52.131 Info, Node004, Node 4 has been marked as asleep
|
||||
2017-09-16 21:36:52.131 Info, Node004, Node not responding - moving QueryStageComplete command to Wake-Up queue
|
||||
2017-09-16 21:36:52.132 Detail, Node004, Notification: Notification - NoOperation
|
||||
2017-09-16 21:36:52.157 Detail, Node004, Notification: Notification - Node Asleep
|
||||
2017-09-16 21:36:52.190 Detail, Node001, Query Stage Complete (Neighbors)
|
||||
2017-09-16 21:36:52.190 Detail, Node001, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1
|
||||
2017-09-16 21:36:52.190 Detail, Node001, QueryStage_Session
|
||||
2017-09-16 21:36:52.191 Detail, Node001, QueryStage_Dynamic
|
||||
2017-09-16 21:36:52.191 Detail, Node001, QueryStage_Configuration
|
||||
2017-09-16 21:36:52.191 Detail, Node001, QueryStage_Complete
|
||||
2017-09-16 21:36:52.191 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
|
||||
2017-09-16 21:36:52.191 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
|
||||
2017-09-16 21:36:52.191 Info, Node query processing complete except for sleeping nodes.
|
||||
2017-09-16 21:36:52.191 Detail, Node001, Notification: NodeQueriesComplete
|
||||
2017-09-16 21:36:52.201 Detail, contrlr, Notification: AwakeNodesQueried
|
||||
2017-09-16 21:44:44.371 Info, mgr, Manager::WriteConfig completed for driver with home ID of 0xe2aa5983
|
||||
2017-09-16 21:44:45.390 Info, mgr, Driver for controller /dev/ttyACM0 pending removal
|
||||
2017-09-16 21:44:45.390 Detail, Notification: DriverRemoved
|
||||
2017-09-16 21:44:45.390 Always, ***************************************************************************
|
||||
2017-09-16 21:44:45.390 Always, ********************* Cumulative Network Statistics *********************
|
||||
2017-09-16 21:44:45.391 Always, *** General
|
||||
2017-09-16 21:44:45.391 Always, Driver run time: . . . 0 days, 0 hours, 8 minutes
|
||||
2017-09-16 21:44:45.391 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 13
|
||||
2017-09-16 21:44:45.391 Always, Total messages successfully received: . . . . . . . . . . 13
|
||||
2017-09-16 21:44:45.391 Always, Total Messages successfully sent: . . . . . . . . . . . . 12
|
||||
2017-09-16 21:44:45.391 Always, ACKs received from controller: . . . . . . . . . . . . . 12
|
||||
2017-09-16 21:44:45.392 Always, *** Errors
|
||||
2017-09-16 21:44:45.392 Always, Unsolicited messages received while waiting for ACK: . . 0
|
||||
2017-09-16 21:44:45.392 Always, Reads aborted due to timeouts: . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.392 Always, Bad checksum errors: . . . . . . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.392 Always, CANs received from controller: . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.392 Always, NAKs received from controller: . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.393 Always, Out of frame data flow errors: . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.393 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.393 Always, Messages dropped and not delivered: . . . . . . . . . . . 0
|
||||
2017-09-16 21:44:45.393 Always, ***************************************************************************
|
||||
2017-09-16 21:44:47.415 Info, mgr, Driver for controller /dev/ttyACM0 removed
|
||||
2017-09-16 21:44:48.417 Error, mgr, Manager::GetDriver failed - Home ID 0xe2aa5983 is unknown
|
||||
2017-09-16 21:44:48.417 Warning, Exception: Manager.cpp:373 - 100 - Invalid HomeId passed to GetDriver
|
||||
2017-09-16 21:44:48.417 Info, mgr, GetSendQueueCount() failed - _homeId -492152445 not found
|
@@ -1,5 +1,5 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
187
config/UI YAML/Overview/Light_Stack.yaml
Executable file
187
config/UI YAML/Overview/Light_Stack.yaml
Executable file
@@ -0,0 +1,187 @@
|
||||
cards:
|
||||
- type: custom:mushroom-vacuum-card
|
||||
entity: vacuum.l10s_vacuum
|
||||
icon_animation: true
|
||||
commands:
|
||||
- return_home
|
||||
- start_pause
|
||||
- locate
|
||||
double_tap_action:
|
||||
action: none
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /lovelace/vacuum
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: vacuum.l10s_vacuum
|
||||
state_not: docked
|
||||
primary_info: name
|
||||
fill_container: true
|
||||
grid_options:
|
||||
rows: 1
|
||||
columns: full
|
||||
layout: horizontal
|
||||
- type: custom:search-card
|
||||
max_results: 10
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
entity: light.living_room_lights
|
||||
name: Living Room Lights
|
||||
icon: mdi:sofa
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "#living_room"
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
card_layout: large
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: pop-up
|
||||
hash: "#living_room"
|
||||
button_type: slider
|
||||
entity: light.living_room_lights
|
||||
name: Living Room Lights
|
||||
icon: mdi:sofa
|
||||
show_attribute: false
|
||||
slide_to_close_distance: "100000"
|
||||
trigger: []
|
||||
bg_opacity: "35"
|
||||
show_state: true
|
||||
show_last_changed: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
entity: light.m1_front_left
|
||||
name: Front Left
|
||||
icon: mdi:light-recessed
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
sub_button: []
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
columns: 2
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
entity: light.m1_front_right
|
||||
name: Front Right
|
||||
icon: mdi:light-recessed
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
sub_button: []
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
entity: light.m1_back_left
|
||||
name: Back Left
|
||||
icon: mdi:light-recessed
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
sub_button: []
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
entity: light.m1_back_right
|
||||
name: Back Right
|
||||
icon: mdi:light-recessed
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
sub_button: []
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
grid_options:
|
||||
columns: 12
|
||||
rows: auto
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
entity: group.interior_switches
|
||||
name: Interior Switches
|
||||
icon: mdi:lightning-bolt
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: false
|
||||
button_action:
|
||||
tap_action:
|
||||
action: more-info
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
tap_action:
|
||||
action: toggle
|
||||
card_layout: large
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: group.exterior_lights
|
||||
name: Exterior Lights
|
||||
icon: mdi:palm-tree
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
show_last_changed: true
|
||||
grid_options:
|
||||
columns: 6
|
||||
rows: 1
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
entity: sensor.lights_on_count
|
||||
name: Lights On
|
||||
icon: mdi:lightbulb-on-outline
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "#lights-popup"
|
||||
button_action:
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "#lights-popup"
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: pop-up
|
||||
hash: "#lights-popup"
|
||||
name: Lights Control
|
||||
icon: mdi:lightbulb-group
|
||||
width_desktop: 500px
|
||||
show_header: true
|
||||
entity: sensor.lights_on_count
|
||||
button_type: name
|
||||
- type: custom:auto-entities
|
||||
filter:
|
||||
include:
|
||||
- domain: light
|
||||
exclude:
|
||||
- state: "off"
|
||||
- state: unavailable
|
||||
- hidden_by: user
|
||||
show_empty: true
|
||||
entity: sensor.lights_on_count
|
||||
button_type: state
|
||||
show_name: true
|
||||
card:
|
||||
type: custom:auto-entities
|
||||
card:
|
||||
type: entities
|
||||
filter:
|
||||
include: []
|
||||
exclude: []
|
53
config/UI YAML/Overview/Power_Stack.yaml
Executable file
53
config/UI YAML/Overview/Power_Stack.yaml
Executable file
@@ -0,0 +1,53 @@
|
||||
# Power Stack Card Configuration
|
||||
# For more information visit: https://www.vcloudinfo.com/click-here
|
||||
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: grid
|
||||
cards:
|
||||
- type: custom:power-flow-card-plus
|
||||
entities:
|
||||
battery:
|
||||
state_of_charge: sensor.powerwall_charge
|
||||
entity: sensor.powerwall_battery_power
|
||||
use_metadata: false
|
||||
invert_state: false
|
||||
state_of_charge_unit_white_space: true
|
||||
show_state_of_charge: true
|
||||
grid:
|
||||
secondary_info: {}
|
||||
entity: sensor.powerwall_site_power
|
||||
solar:
|
||||
display_zero_state: true
|
||||
secondary_info: {}
|
||||
entity: sensor.powerwall_solar_power
|
||||
icon: mdi:white-balance-sunny
|
||||
color_icon: true
|
||||
home:
|
||||
secondary_info: {}
|
||||
entity: sensor.powerwall_load_power
|
||||
clickable_entities: true
|
||||
display_zero_lines:
|
||||
mode: grey_out
|
||||
transparency: 50
|
||||
grey_color:
|
||||
- 189
|
||||
- 189
|
||||
- 189
|
||||
use_new_flow_rate_model: true
|
||||
w_decimals: 0
|
||||
kw_decimals: 1
|
||||
min_flow_rate: 0.75
|
||||
max_flow_rate: 4
|
||||
max_expected_power: 2000
|
||||
min_expected_power: 0.01
|
||||
watt_threshold: 1000
|
||||
transparency_zero_lines: 0
|
||||
grid_options:
|
||||
columns: full
|
||||
rows: auto
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: energy-solar-graph
|
||||
- type: energy-water-graph
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/stargazers"><img src="https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/stargazers"><img src="https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -1,10 +1,17 @@
|
||||
########## ############################################################
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
## Announce when people come or go.
|
||||
## Announce over all Chromecast Audios
|
||||
# Read more at https://vCloudInfo.com
|
||||
######################################################################
|
||||
#-------------------------------------------
|
||||
# People Greeting Announcement
|
||||
# Description: Announces when family members arrive home
|
||||
#
|
||||
# Features:
|
||||
# - Triggers when a person's state changes from 'not_home' to 'home'
|
||||
# - Waits for specific sensors to confirm entry
|
||||
# - Uses speech_engine script for personalized welcome messages
|
||||
# - Includes responsibility reminders and home status checks
|
||||
#
|
||||
# Integration: Uses ChromeCast for audio output
|
||||
# Follow me https://www.vcloudinfo.com/click-here
|
||||
# More Blog Posts: https://www.vcloudinfo.com
|
||||
#-------------------------------------------
|
||||
- alias: 'People Greeting'
|
||||
id: 29c5c9dd-550a-4761-a224-78cdc3dd9f43
|
||||
mode: restart
|
||||
@@ -36,57 +43,14 @@
|
||||
- delay: '00:01:00'
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
# {% set person = state_attr(trigger.entity_id, "friendly_name")%} This is another way to do it.
|
||||
# {% set person = trigger.entity_id.split('.')[1]|replace('_', ' ')%}
|
||||
personarriving: >
|
||||
{% set person = expand('group.arriving')|map(attribute='name')|join(' and ') %}
|
||||
{% set peoplecount = expand('group.arriving') | count %}
|
||||
{% if peoplecount == 1 %}
|
||||
{% set is_are = ' is ' %}
|
||||
{% else %}
|
||||
{% set is_are = ' are ' %}
|
||||
{% endif %}
|
||||
{%- macro greeting_sentence(person, is_are) -%}
|
||||
{{ [
|
||||
"Welcome back home " ~ person,
|
||||
"You had me at hello " ~ person,
|
||||
"Guess who is home?" ~ person ~ is_are ,
|
||||
"The wifi just got a little more crowded. Welcome Home" ~ person,
|
||||
person ~ is_are + " now in the house.",
|
||||
"Welcome Home " ~ person + ". We have missed you. Or at least Molly did.",
|
||||
"Our home is now complete, Rest your head and relax your feet! Welcome Back " ~ person,
|
||||
"Life is like a song, you’re back where you belong. Welcome home " ~ person,
|
||||
"Hey there " ~ person + " Welcome Home!",
|
||||
"Knock Knock. Who is There? " ~ person ~ is_are ,
|
||||
"The garage door opener just told me that " ~ person ~ is_are +" home.",
|
||||
person + " can not hide from the system. Welcome home.",
|
||||
person ~ "! You are home!",
|
||||
"I know a secret! " ~ person ~ is_are +" home!",
|
||||
"Hey " ~ person +". Your arrival has been recorded by the Smartest house on the block.",
|
||||
"Take note Molly! " ~ person ~ is_are +" home.",
|
||||
"I am sensing a disturbance in the force. " ~ person +" must be home!",
|
||||
"And the house becomes a home. Welcome back " ~ person,
|
||||
person ~ is_are + " now here. Hash tag Welcome Home.",
|
||||
person ~ is_are + " now here. Hash tag Home.",
|
||||
person ~ is_are + " now here. Hash tag Smart Home.",
|
||||
"Just a quick announcement. " ~ person +" has arrived!",
|
||||
"Hey" ~ person + "! High Five! Glad you are finally home.",
|
||||
"Pardon the interruption but " ~ person ~ is_are +" home!",
|
||||
"My systems are picking up the presence of additional humans. " ~ person ~ is_are +" being identified as home.",
|
||||
"Welcome home "~person + "! It is nice to see you again! Let me turn on the lights. ",
|
||||
"It looks like "~person ~ is_are + " finally home! I will get the house ready for you. "
|
||||
] | random }}
|
||||
{%- macro greeting_sentence(person) -%}
|
||||
{{"[Welcome " + person + " home]" }}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro Alexa_Guard() -%}
|
||||
{% if not is_state('alarm_control_panel.alexa_guard', 'disarmed') -%}
|
||||
I will now disarm the Guard functions.
|
||||
{% endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{{greeting_sentence(person, is_are)}}
|
||||
{{Alexa_Guard()}}
|
||||
call_responsibilities: 1
|
||||
{{greeting_sentence(person)}}
|
||||
call_garbage_day: 1
|
||||
call_no_announcement: 1
|
||||
call_garage_check: 1
|
||||
call_window_check: 1
|
||||
@@ -96,13 +60,3 @@
|
||||
object_id: "arriving"
|
||||
entities: []
|
||||
|
||||
# Only Disarm if armed. Otherwise, Exit out.
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.alexa_guard
|
||||
state:
|
||||
- armed_away
|
||||
- armed_home
|
||||
- armed
|
||||
|
||||
- service: alarm_control_panel.alarm_disarm
|
||||
entity_id: alarm_control_panel.alexa_guard
|
||||
|
@@ -1,7 +1,16 @@
|
||||
########## ############################################################
|
||||
## Announce when people come or go.
|
||||
## Announce over all Chromecast Audios
|
||||
######################################################################
|
||||
#-------------------------------------------
|
||||
# Guest Mode Announcements
|
||||
# Description: Manages audio announcements for guest mode activation and deactivation
|
||||
#
|
||||
# Features:
|
||||
# - Announces when guest mode is enabled
|
||||
# - Provides weather summary for guests
|
||||
# - Resets guest mode when family returns home
|
||||
#
|
||||
# Integration: Uses speech_engine script for announcements
|
||||
# uses ChromeCast for audio output
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
#-------------------------------------------
|
||||
- alias: 'Guest Mode Audio Feedback'
|
||||
id: 3622ba04-9a28-4c02-807c-be4abc663fe0
|
||||
|
||||
@@ -16,21 +25,10 @@
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"Guest Mode has been enabled for the rest of the day.",
|
||||
"Switching to guest mode! ",
|
||||
"I have enabled guest mode for the rest of the day. ",
|
||||
"System Guest Mode has been enabled. I will minimize the amount of automation for today.",
|
||||
"Look but do not touch mode enabled. Otherwise known as Guest Mode around here.",
|
||||
"Guest mode enabled or as I like to call it, Look but do not touch mode.",
|
||||
"Awesome! I will take the rest of the day off. Guest mode has been enabled.",
|
||||
"Guest Mode enabled. In other words, Manual Mode engaged.",
|
||||
"Guest mode enabled. Have Fun!",
|
||||
"Family, Friends and Fun. Guest mode has been enabled today.",
|
||||
"Guest Mode enabled. I am still doing stuff behind the scenes but probably will not turn off the lights on you."
|
||||
] | random }}
|
||||
call_responsibilities: 1
|
||||
Guest Mode has been enabled. Must be a party. [Summarize the weather for our guests]
|
||||
call_no_announcement: 1
|
||||
call_inside_weather: 1
|
||||
call_outside_weather: 1
|
||||
call_garage_check: 1
|
||||
call_window_check: 1
|
||||
|
||||
@@ -55,11 +53,6 @@
|
||||
- input_boolean.guest_mode
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"Guest Mode has been disabled and normal automations will continue.",
|
||||
"Let me disable guest mode since there are no longer any guests in the house. ",
|
||||
"I have disabled guest mode and have resumed normal operations! ",
|
||||
"Disabling guest mode! "
|
||||
] | random }}
|
||||
value1: >-
|
||||
Guest Mode has been disabled and normal automations will continue.
|
||||
call_no_announcement: 1
|
||||
|
@@ -26,7 +26,7 @@
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
call_inside_weather: 1
|
||||
call_responsibilities: 1
|
||||
call_garbage_day: 1
|
||||
call_outside_weather: 1
|
||||
call_garage_check: 1
|
||||
call_window_check: 1
|
||||
|
25
config/automation/Speech/locator.yaml
Executable file
25
config/automation/Speech/locator.yaml
Executable file
@@ -0,0 +1,25 @@
|
||||
#-------------------------------------------
|
||||
# Locator Automation
|
||||
# Description: Announces the location of all family members when triggered
|
||||
#
|
||||
# Features:
|
||||
# - Triggered by input_boolean.locator (for Alexa integration)
|
||||
# - Uses speech_engine script to announce where everyone is
|
||||
# - Designed for use with Alexa ("Alexa, turn on locator")
|
||||
#
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
#-------------------------------------------
|
||||
- alias: 'Locator'
|
||||
id: locator-announcement-001
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.locator
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
call_no_announcement: 1
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.locator
|
@@ -1,24 +0,0 @@
|
||||
######################################################################
|
||||
## Announce when one of the nests kick in
|
||||
## Announce over all Chromecast Audios
|
||||
######################################################################
|
||||
- alias: 'Nest Status'
|
||||
id: 7812fdaf-a3f8-498b-8f07-28e977e528fe
|
||||
trigger:
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.downstairs_thermostat_hvac_state
|
||||
- sensor.upstairs_thermostat_hvac_state
|
||||
from: 'off'
|
||||
|
||||
# condition:
|
||||
# - condition: template
|
||||
# value_template: >-
|
||||
# {{ as_timestamp(states.automation.nest_status.attributes.last_triggered) > as_timestamp(now()) - (1800) }}
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
|
||||
call_window_check: 1
|
@@ -1,14 +0,0 @@
|
||||
######################################################################
|
||||
## Who's day is it anyway? Pretty sure my parent's didn't code to figure this out.
|
||||
######################################################################
|
||||
- alias: 'responsibilities'
|
||||
id: f39bd8db-a348-4024-a6a6-a3e3c836646c
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.responsibilities
|
||||
to: 'on'
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
call_responsibilities: 1
|
@@ -16,8 +16,8 @@
|
||||
|
||||
condition:
|
||||
- condition: time
|
||||
after: '09:29:00'
|
||||
before: '21:30:00'
|
||||
after: '09:00:00'
|
||||
before: '22:00:00'
|
||||
- condition: or #Either we are home or Guest_Mode is on.
|
||||
conditions:
|
||||
- condition: state
|
||||
@@ -37,16 +37,19 @@
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: >
|
||||
{% if states.group.bed.state == 'off' %}
|
||||
media_player.livingroomCC
|
||||
{% else %}
|
||||
media_player.alarm_clock, media_player.bedroom_alarm_panel
|
||||
{% endif %}
|
||||
entity_id: media_player.livingroomCC
|
||||
media_content_id: >
|
||||
{% if now().strftime("%M")|int == 30 %}
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-01.wav
|
||||
{% if now().strftime("%B") == 'October' %}
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-01.wav
|
||||
{% else %}
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-{{now().strftime("%I")}}.wav
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock/cuckoo-clock-01.wav
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if now().strftime("%B") == 'October' %}
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
|
||||
{% else %}
|
||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
media_content_type: audio/mp4
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/commit-activity/y/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -3,7 +3,8 @@
|
||||
## Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
###################################
|
||||
|
||||
- alias: Door Chime
|
||||
- alias: Door
|
||||
mode: queued
|
||||
id: ae0fb37b-67cf-48a4-a609-999d44272e90
|
||||
trigger:
|
||||
- platform: state
|
||||
@@ -21,6 +22,9 @@
|
||||
media_player: 'media_player.livingroomcc'
|
||||
volume_level: 0.22
|
||||
|
||||
- wait_template: "{{ not is_state('media_player.livingroomcc', 'playing') }}"
|
||||
timeout: '00:01:00' # Adjust the timeout as needed
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: >
|
||||
|
@@ -8,7 +8,7 @@
|
||||
- platform: state
|
||||
entity_id:
|
||||
- light.hallway_lights
|
||||
- light.foyer_lights
|
||||
- light.foyer
|
||||
to: 'on'
|
||||
for: '00:20:00'
|
||||
|
||||
@@ -52,4 +52,4 @@
|
||||
- light.flood_2
|
||||
- light.hallway
|
||||
- light.hallway_lights
|
||||
- light.foyer_lights
|
||||
- light.foyer
|
||||
|
@@ -1,36 +0,0 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 08:00am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Timed 0630'
|
||||
id: 7bf33e23-021c-4e11-946b-b052b81fd2bc
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:00:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- delay: 00:15:00
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.sink
|
||||
- light.fridge
|
||||
- light.k4
|
@@ -1,43 +0,0 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 08:30am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Kids 700'
|
||||
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:30:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.d1
|
||||
- light.d2
|
||||
- switch.office_lamp_switch_socket
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.dining_room_lights
|
||||
|
||||
- wait_template: >-
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
- service: homeassistant.turn_off
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
@@ -1,9 +1,13 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 08:30am.
|
||||
## Automation for 07:00 AM Daily Tasks
|
||||
## https://www.vcloudinfo.com/click-here
|
||||
## This automation handles actions to be performed at 8:30 AM,
|
||||
## typically related to the family's morning routine.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Kids left for the day'
|
||||
id: 7cc9a7d6-8918-4a4a-98e7-a46abc9df4f1
|
||||
- alias: 'Kids 830'
|
||||
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:30:00'
|
||||
@@ -12,22 +16,38 @@
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
entity_id: sun.sun
|
||||
state: below_horizon
|
||||
|
||||
action:
|
||||
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
||||
timeout: '00:45:00'
|
||||
- delay: 00:03:00
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.d1
|
||||
- light.d2
|
||||
- light.sink
|
||||
- light.fridge
|
||||
- light.k4
|
||||
- group.kitchen_accents
|
||||
- switch.office_lamp_switch
|
||||
|
||||
- wait_template: >-
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
- switch.office_lamp_switch
|
||||
- service: number.set_value
|
||||
target:
|
||||
entity_id: number.alarm_panel_1_screen_brightness
|
||||
data:
|
||||
value: 100
|
||||
|
||||
- service: button.press
|
||||
entity_id: button.alarm_panel_1_restart_browser
|
||||
- service: homeassistant.turn_off
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
||||
|
@@ -1,5 +1,8 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 10pm.
|
||||
## Automation for 10:00 PM tasks
|
||||
##
|
||||
## This automation handles various actions that need to occur at 10 PM.
|
||||
## For more information, visit: https://www.vcloudinfo.com/click-here
|
||||
######################################################################
|
||||
|
||||
- alias: 'Shut down AMP in Living room'
|
||||
@@ -9,10 +12,12 @@
|
||||
at: '22:00:00'
|
||||
|
||||
action:
|
||||
- wait_template: >-
|
||||
{{ not is_state('input_boolean.guest_mode', 'on') or is_state('group.bed', 'on') }}
|
||||
- wait_template: >-
|
||||
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
||||
- wait_template: >-
|
||||
{{ not is_state('media_player.whole_house', 'playing') }}
|
||||
{{ not is_state('media_player.everywhere', 'playing') }}
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/commit-activity/y/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
to: 'off'
|
||||
for: '00:02:00'
|
||||
- platform: state
|
||||
entity_id: media_player.whole_house
|
||||
entity_id: media_player.everywhere
|
||||
to: 'off'
|
||||
for: '00:02:00'
|
||||
|
||||
@@ -42,3 +42,31 @@
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
|
||||
|
||||
- alias: 'Bedroom Screensaver Watchdog'
|
||||
id: Bedroom-Screensaver-Watchdog-automation
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: switch.alarm_panel_1_screensaver
|
||||
to: 'off'
|
||||
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
state: 'on'
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.alarm_panel_1_screensaver
|
||||
|
@@ -1,28 +0,0 @@
|
||||
###################################
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
## Start Up Section
|
||||
## Video Explanation can be found here :
|
||||
## https://www.vcloudinfo.com/2019/06/how-to-use-template-conditions-in-home-assistant.html
|
||||
###################################
|
||||
|
||||
- alias: Check if it's summer vacation on startup.
|
||||
id: 65f91ec6-b9ad-45de-9ffa-023598980019
|
||||
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
- platform: time_pattern
|
||||
hours: '/12'
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
||||
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.school_mode
|
@@ -35,11 +35,9 @@
|
||||
- group.exterior_lights
|
||||
- light.outdoor_front_lights
|
||||
- group.outdoor_seasonal
|
||||
- group.kitchen_accents
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
entity_id:
|
||||
- input_boolean.medicine
|
||||
- input_boolean.guest_mode
|
||||
|
||||
- service: homeassistant.update_entity #Look for a new Home Assistant Version
|
||||
entity_id: binary_sensor.updater
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ states('binary_sensor.grid_status') == 'on' }}"
|
||||
value_template: "{{ states('binary_sensor.powerwall_grid_status') == 'on' }}"
|
||||
|
||||
action:
|
||||
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||
@@ -48,17 +48,11 @@
|
||||
- switch.front_door_outlet
|
||||
- switch.foyer_outlet
|
||||
- switch.den_outlet
|
||||
- switch.front_office_window
|
||||
- switch.front_office_lamp
|
||||
- switch.living_room_outlet
|
||||
- switch.living_room_tv_outlet
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.living_room_accents
|
||||
- wait_template: >-
|
||||
{{ is_state('group.garage_doors', 'closed') }}
|
||||
- wait_template: >-
|
||||
{{ is_state('group.entry_points', 'off') }}
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
call_garage_check: 1
|
||||
call_window_check: 1
|
||||
- light.upstairs_lamp
|
||||
|
||||
|
@@ -21,8 +21,14 @@
|
||||
after: '07:00:00'
|
||||
before: '11:00:00'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- switch.lr_amp
|
||||
- light.kitchen_lights
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.lr_amp
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
- service: number.set_value
|
||||
target:
|
||||
entity_id: number.alarm_panel_1_screen_brightness
|
||||
data:
|
||||
value: 100
|
||||
|
@@ -1,47 +1,42 @@
|
||||
######################################################################
|
||||
## Shut it all down. No one is here
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
######################################################################
|
||||
|
||||
# Define an alias for this automation
|
||||
- alias: 'Away Mode'
|
||||
# Give the automation a unique ID
|
||||
id: 712e845a-9d72-4993-b8af-890b167c807b
|
||||
# Set the mode to "single"
|
||||
mode: single
|
||||
# Set the trigger for the automation
|
||||
trigger:
|
||||
# The automation will be triggered when the state of the "binary_sensor.downstairs_nest_away" entity changes to "on"
|
||||
- platform: state
|
||||
entity_id: binary_sensor.downstairs_nest_away
|
||||
to: 'on'
|
||||
# The automation will also be triggered when the state of the "group.family" entity changes to "not_home"
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: 'not_home'
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
offset: '-02:00:00'
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: '+00:30:00'
|
||||
- platform: time
|
||||
at:
|
||||
- '03:00:00'
|
||||
- '12:00:00'
|
||||
|
||||
# Set the conditions for the automation to run
|
||||
condition:
|
||||
# The automation will only run if the state of the "group.family" entity is "not_home"
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'not_home'
|
||||
# The automation will also only run if the state of the "input_boolean.guest_mode" entity is "off"
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
|
||||
# Set the actions to be performed by the automation
|
||||
action:
|
||||
# Run the "script.interior_off" service
|
||||
- service: script.interior_off
|
||||
- service: lock.lock
|
||||
entity_id: lock.front_door
|
||||
|
||||
# Turn off the "switch.back_landscaping" switch
|
||||
- service: script.interior_off
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.back_landscaping
|
||||
|
||||
# Arm the "alarm_control_panel.alexa_guard" alarm unless the "input_boolean.guest_mode" entity is "on"
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ states.input_boolean.guest_mode.state != "on" }}
|
||||
- service: alarm_control_panel.alarm_arm_away
|
||||
entity_id: alarm_control_panel.alexa_guard
|
||||
|
@@ -12,7 +12,7 @@
|
||||
to: 'rain'
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.pirateweather_precip_intensity
|
||||
above: 0.2
|
||||
above: 0.5
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.blitzortung_lightning_counter
|
||||
above: 1
|
||||
@@ -30,9 +30,6 @@
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
# - condition: numeric_state
|
||||
# entity_id: sensor.pirateweather_cloud_coverage
|
||||
# above: 90
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.pirateweather_precip_intensity
|
||||
above: 0.2
|
||||
@@ -63,7 +60,8 @@
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning')|replace('carlo','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')| replace('carlo','and clouds')}} outside. I will turn on some extra lights in the living room."
|
||||
value1: "Because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning')|replace('carlo','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')| replace('carlo','and clouds')}} outside. I will turn on some extra lights in the living room."
|
||||
call_outside_weather: 1
|
||||
call_window_check: 1
|
||||
call_garage_check: 1
|
||||
|
||||
|
@@ -11,11 +11,11 @@
|
||||
action:
|
||||
# Disable this automation
|
||||
- service: automation.turn_off
|
||||
entity_id: automation.toggle_office_light_onoff
|
||||
entity_id: automation.toggle_office_light_on_off
|
||||
- service: light.toggle
|
||||
entity_id: light.office_lamp
|
||||
- delay:
|
||||
minutes: 1
|
||||
# enable this automation - This prevents duplicate pushes.
|
||||
- service: automation.turn_on
|
||||
entity_id: automation.toggle_office_light_onoff
|
||||
entity_id: automation.toggle_office_light_on_off
|
||||
|
@@ -15,23 +15,6 @@
|
||||
data:
|
||||
flash: long
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.flash
|
||||
|
||||
- alias: 'Flash Timer Lights'
|
||||
id: caac7e80-6f43-4029-ad40-420e70f67cd7
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.flash
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
- platform: event
|
||||
#Sent from IFTTT Webhooks : {"action":"Flash_Timer"}
|
||||
event_type: ifttt_webhook_received
|
||||
event_data:
|
||||
action: Flash_Timer
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.bedroom
|
||||
@@ -42,9 +25,21 @@
|
||||
- light.couch_1
|
||||
- light.upstairs_lamp
|
||||
- light.office_lamp
|
||||
- light.slider
|
||||
- light.main_slider
|
||||
- light.garage_attic
|
||||
- light.den_lamp
|
||||
- light.bedroom_lights
|
||||
- light.dinette_lights
|
||||
- light.dining_room_lights
|
||||
- light.foyer
|
||||
- light.garage_lights
|
||||
- light.hallway_lights
|
||||
- light.kitchen_lights
|
||||
- light.living_room_accents
|
||||
- light.living_room_lights
|
||||
- light.office_lights
|
||||
- light.upstairs_lights
|
||||
- light.garage_hallway
|
||||
# - light.den_lamp
|
||||
data:
|
||||
flash: long
|
||||
|
||||
|
@@ -1,44 +0,0 @@
|
||||
######################################################################
|
||||
## Weekday Morning Routines for the Wife and Kiddos.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Good Morning Routine'
|
||||
id: 1432bac8-311b-4618-8f8f-19dd848791b6
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.good_morning
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
to: 'off'
|
||||
for: '00:05:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
after: '05:30:00'
|
||||
before: '08:00:00'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.s1
|
||||
- light.s4
|
||||
- service: switch.turn_on
|
||||
entity_id: group.kitchen_accents
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.good_morning
|
@@ -47,19 +47,18 @@
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.good_night
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: group.outdoor_seasonal
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: switch.kitchen_accent_2
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: group.master_bathroom_accents
|
||||
|
||||
entity_id:
|
||||
- group.outdoor_seasonal
|
||||
- switch.kitchen_accent_2
|
||||
- group.master_bathroom_accents
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
- service: script.interior_off
|
||||
|
||||
- wait_template: "{{ states.media_player.master_bedroom.state == 'standby' }}"
|
||||
timeout: '00:30:00'
|
||||
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: group.landscaping
|
||||
- service: number.set_value
|
||||
target:
|
||||
entity_id: number.alarm_panel_1_screen_brightness
|
||||
data:
|
||||
value: 0
|
||||
|
||||
|
||||
- alias: 'Bed Presence AMP Trigger'
|
||||
id: 26846f7b-bc76-43d2-99be-af552d2300f
|
||||
@@ -74,7 +73,6 @@
|
||||
entity_id: group.bed
|
||||
to: 'off'
|
||||
id: "out_of_bed"
|
||||
|
||||
action:
|
||||
choose:
|
||||
- alias: "SomeOne in Bed"
|
||||
@@ -89,8 +87,15 @@
|
||||
target:
|
||||
entity_id:
|
||||
- switch.kitchen_accent_2
|
||||
- light.outdoor_bathroom
|
||||
- group.master_bathroom_accents
|
||||
|
||||
- group.landscaping
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
- service: number.set_value
|
||||
target:
|
||||
entity_id: number.alarm_panel_1_screen_brightness
|
||||
data:
|
||||
value: 0
|
||||
default:
|
||||
- service: homeassistant.turn_on
|
||||
target:
|
||||
|
@@ -13,11 +13,11 @@
|
||||
entity_id: input_boolean.guard_dog
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
# The automation will also be triggered when the state of the "binary_sensor.front_door_opened" entity changes from "off" to "on"
|
||||
# The automation will also be triggered when the state of the "lock.front_door" entity changes from "locked" to "unlocked"
|
||||
- platform: state
|
||||
entity_id: binary_sensor.front_door_opened
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
entity_id: lock.front_door
|
||||
to: 'unlocked'
|
||||
from: 'locked'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
@@ -26,6 +26,9 @@
|
||||
|
||||
action:
|
||||
- service: script.dog_bark
|
||||
- delay:
|
||||
minutes: 10
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.guard_dog
|
||||
|
||||
|
||||
|
@@ -1,22 +0,0 @@
|
||||
###################################
|
||||
## IFTTT checks Office 365 Calendar and Notifies me of appointments. Flash lights but only at reasonable hours.
|
||||
## Will have to figure out a new way to query O365 Calendar items. Possibly use MS Flow for this and HA webhooks.
|
||||
###################################
|
||||
- alias: 'IFTTT Appointment reminder'
|
||||
id: 271d2fa0-4dfa-4af2-90de-3f61ff94a420
|
||||
|
||||
trigger:
|
||||
- platform: event
|
||||
#Sent from IFTTT Webhooks : {"action":"IFTTT_Appointment:}
|
||||
event_type: ifttt_webhook_received
|
||||
event_data:
|
||||
action: IFTTT_Appointment
|
||||
|
||||
|
||||
condition:
|
||||
- condition: time
|
||||
after: '08:00:00'
|
||||
before: '20:00:00'
|
||||
|
||||
action:
|
||||
- service: script.flash_notify
|
@@ -6,9 +6,6 @@
|
||||
- alias: 'Late Night Helper'
|
||||
id: acacc9b4-b66d-46d2-bf6d-47b75afddb57
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.downstairs_nest_away
|
||||
to: 'off'
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: 'home'
|
||||
@@ -26,8 +23,8 @@
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.living_room_slider
|
||||
- light.foyer_door
|
||||
- light.main_slider
|
||||
- light.foyer
|
||||
- light.fridge
|
||||
- light.M1_front_right
|
||||
- light.S1
|
||||
@@ -40,23 +37,16 @@
|
||||
- service: switch.turn_on
|
||||
entity_id:
|
||||
- group.kitchen_Accents
|
||||
- switch.front_office_lamp
|
||||
- switch.living_room_outlet
|
||||
- delay: '00:05:00'
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.S1
|
||||
- light.S4
|
||||
- light.foyer_door
|
||||
- light.foyer
|
||||
- light.fridge
|
||||
- light.living_room_slider
|
||||
- light.main_slider
|
||||
- light.M1_front_right
|
||||
|
||||
# Only Disarm if armed. Otherwise, Exit out.
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.alexa_guard
|
||||
state:
|
||||
- armed_away
|
||||
- armed_home
|
||||
- armed
|
||||
|
||||
- service: alarm_control_panel.alarm_disarm
|
||||
entity_id: alarm_control_panel.alexa_guard
|
||||
|
@@ -11,9 +11,6 @@
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: upstairs_light_on
|
||||
- platform: state
|
||||
entity_id: binary_sensor.upstairs_nest_away
|
||||
to: 'off'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
@@ -29,17 +26,10 @@
|
||||
- alias: 'Upstairs Light Turn off'
|
||||
id: ee50f882-94b7-4cfc-bc2e-4a3e07ae08a8
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: upstairs_light_off
|
||||
- platform: state
|
||||
entity_id: binary_sensor.upstairs_nest_away
|
||||
to: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id: light.upstairs_lights
|
||||
to: 'on'
|
||||
for: '02:00:00'
|
||||
|
||||
action:
|
||||
service: light.turn_off
|
||||
entity_id: light.upstairs_lights
|
||||
|
0
config/automations.yaml
Executable file → Normal file
0
config/automations.yaml
Executable file → Normal file
@@ -1,49 +0,0 @@
|
||||
blueprint:
|
||||
name: Motion-activated Light
|
||||
domain: automation
|
||||
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
|
||||
input:
|
||||
motion_entity:
|
||||
name: Motion Sensor
|
||||
selector:
|
||||
entity:
|
||||
domain: binary_sensor
|
||||
device_class: motion
|
||||
light_target:
|
||||
name: Light
|
||||
selector:
|
||||
target:
|
||||
entity:
|
||||
domain: light
|
||||
no_motion_wait:
|
||||
name: Wait time
|
||||
description: Time to wait until the light should be turned off.
|
||||
default: 120
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 3600
|
||||
unit_of_measurement: seconds
|
||||
|
||||
# If motion is detected within the delay,
|
||||
# we restart the script.
|
||||
mode: restart
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: !input motion_entity
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target: !input light_target
|
||||
- wait_for_trigger:
|
||||
platform: state
|
||||
entity_id: !input motion_entity
|
||||
from: "on"
|
||||
to: "off"
|
||||
- delay: !input no_motion_wait
|
||||
- service: light.turn_off
|
||||
target: !input light_target
|
@@ -1,41 +0,0 @@
|
||||
blueprint:
|
||||
name: Send notification when a person leaves a zone
|
||||
domain: automation
|
||||
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml
|
||||
input:
|
||||
person_entity:
|
||||
name: Person
|
||||
selector:
|
||||
entity:
|
||||
domain: person
|
||||
zone_entity:
|
||||
name: Zone
|
||||
selector:
|
||||
entity:
|
||||
domain: zone
|
||||
notify_device:
|
||||
name: Device to notify
|
||||
description: Device needs to run the official Home Assistant app to receive notifications.
|
||||
selector:
|
||||
device:
|
||||
integration: mobile_app
|
||||
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: !input person_entity
|
||||
|
||||
variables:
|
||||
zone_entity: !input zone_entity
|
||||
zone_state: "{{ states[zone_entity].name }}"
|
||||
person_entity: !input person_entity
|
||||
person_name: "{{ states[person_entity].name }}"
|
||||
|
||||
condition:
|
||||
condition: template
|
||||
value_template: "{{ trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}"
|
||||
|
||||
action:
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
device_id: !input notify_device
|
||||
message: "{{ person_name }} has left {{ zone_state }}"
|
@@ -1,74 +0,0 @@
|
||||
blueprint:
|
||||
name: Confirmable Notification
|
||||
description: >-
|
||||
A script that sends an actionable notification with a confirmation before
|
||||
running the specified action.
|
||||
domain: script
|
||||
source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml
|
||||
input:
|
||||
notify_device:
|
||||
name: Device to notify
|
||||
description: Device needs to run the official Home Assistant app to receive notifications.
|
||||
selector:
|
||||
device:
|
||||
integration: mobile_app
|
||||
title:
|
||||
name: "Title"
|
||||
description: "The title of the button shown in the notification."
|
||||
default: ""
|
||||
selector:
|
||||
text:
|
||||
message:
|
||||
name: "Message"
|
||||
description: "The message body"
|
||||
selector:
|
||||
text:
|
||||
confirm_text:
|
||||
name: "Confirmation Text"
|
||||
description: "Text to show on the confirmation button"
|
||||
default: "Confirm"
|
||||
selector:
|
||||
text:
|
||||
confirm_action:
|
||||
name: "Confirmation Action"
|
||||
description: "Action to run when notification is confirmed"
|
||||
default: []
|
||||
selector:
|
||||
action:
|
||||
dismiss_text:
|
||||
name: "Dismiss Text"
|
||||
description: "Text to show on the dismiss button"
|
||||
default: "Dismiss"
|
||||
selector:
|
||||
text:
|
||||
dismiss_action:
|
||||
name: "Dismiss Action"
|
||||
description: "Action to run when notification is dismissed"
|
||||
default: []
|
||||
selector:
|
||||
action:
|
||||
|
||||
mode: restart
|
||||
|
||||
sequence:
|
||||
- alias: "Send notification"
|
||||
domain: mobile_app
|
||||
type: notify
|
||||
device_id: !input notify_device
|
||||
title: !input title
|
||||
message: !input message
|
||||
data:
|
||||
actions:
|
||||
- action: "CONFIRM"
|
||||
title: !input confirm_text
|
||||
- action: "DISMISS"
|
||||
title: !input dismiss_text
|
||||
- alias: "Awaiting response"
|
||||
wait_for_trigger:
|
||||
- platform: event
|
||||
event_type: mobile_app_notification_action
|
||||
- choose:
|
||||
- conditions: "{{ wait.trigger.event.data.action == 'CONFIRM' }}"
|
||||
sequence: !input confirm_action
|
||||
- conditions: "{{ wait.trigger.event.data.action == 'DISMISS' }}"
|
||||
sequence: !input dismiss_action
|
@@ -0,0 +1,27 @@
|
||||
blueprint:
|
||||
name: Invert a binary sensor
|
||||
description: Creates a binary_sensor which holds the inverted value of a reference binary_sensor
|
||||
domain: template
|
||||
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/template/blueprints/inverted_binary_sensor.yaml
|
||||
input:
|
||||
reference_entity:
|
||||
name: Binary sensor to be inverted
|
||||
description: The binary_sensor which needs to have its value inverted
|
||||
selector:
|
||||
entity:
|
||||
domain: binary_sensor
|
||||
variables:
|
||||
reference_entity: !input reference_entity
|
||||
binary_sensor:
|
||||
state: >
|
||||
{% if states(reference_entity) == 'on' %}
|
||||
off
|
||||
{% elif states(reference_entity) == 'off' %}
|
||||
on
|
||||
{% else %}
|
||||
{{ states(reference_entity) }}
|
||||
{% endif %}
|
||||
# delay_on: not_used in this example
|
||||
# delay_off: not_used in this example
|
||||
# auto_off: not_used in this example
|
||||
availability: "{{ states(reference_entity) not in ('unknown', 'unavailable') }}"
|
@@ -1,8 +1,10 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Read all about this and more at https://vCloudInfo.com
|
||||
######################################################################################################
|
||||
# Home Assistant Configuration
|
||||
# Author: Carlo Costanzo (@CCOSTAN)
|
||||
# GitHub: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Blog: https://vCloudInfo.com
|
||||
# Description: Main configuration file for Home Assistant setup
|
||||
#-------------------------------------------
|
||||
|
||||
homeassistant:
|
||||
# customize: !include_dir_merge_named customize
|
||||
@@ -32,86 +34,41 @@ cloud:
|
||||
- group.outdoor_seasonal
|
||||
- group.master_bathroom_accents
|
||||
- group.kitchen_accents
|
||||
- group.kitchen_lights
|
||||
- light.bedroom
|
||||
- light.bedroom_lights
|
||||
- light.den_lights
|
||||
- light.dinette_lights
|
||||
- light.dining_room_lights
|
||||
- light.foyer_lights
|
||||
- light.foyer
|
||||
- light.garage_lights
|
||||
- light.hallway_lights
|
||||
- light.kitchen_lights
|
||||
- light.living_room_accents
|
||||
- light.living_room_lights
|
||||
- light.office_lights
|
||||
- light.outdoor_front_lights
|
||||
- light.outdoor_pool_lights
|
||||
- light.upstairs_lights
|
||||
- light.upstairs_lamp
|
||||
- light.sink
|
||||
include_domains:
|
||||
- switch
|
||||
- cover
|
||||
- input_boolean
|
||||
- camera
|
||||
# entity_config:
|
||||
# light.kitchen_lights:
|
||||
# display_categories: LIGHT
|
||||
|
||||
#discovery:
|
||||
|
||||
# This groups up lights but displays them as light.xxxx
|
||||
light: !include light_groups.yaml
|
||||
|
||||
ifttt:
|
||||
key: !secret ifttt_key
|
||||
|
||||
logbook:
|
||||
exclude:
|
||||
entities:
|
||||
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
|
||||
- automation.cuckoo_clock
|
||||
- binary_sensor.office_motion
|
||||
- group.garage_doors
|
||||
- media_player.LivingRoomCC
|
||||
- py.warnings
|
||||
- sensor.small_garage_status
|
||||
- sensor.large_garage_status
|
||||
- sensor.small_garage_time_in_state
|
||||
- sensor.large_garage_time_in_state
|
||||
- sensor.large_garage_wifi_signal_strength
|
||||
- sensor.small_garage_wifi_signal_strength
|
||||
- sensor.small_garage_reflection_rate
|
||||
- sensor.large_garage_reflection_rate
|
||||
- sensor.pi_hole_ads_blocked_today
|
||||
- sensor.pi_hole_ads_percentage_blocked_today
|
||||
- sensor.pi_hole_dns_queries_today
|
||||
- sensor.time
|
||||
- sensor.date
|
||||
- sensor.floorplan_date
|
||||
- sensor.floorplan_time
|
||||
- sensor.ha_uptime
|
||||
- sensor.sleepnumber_carlo_stacey_pressure
|
||||
- sensor.sleepnumber_carlo_carlo_pressure
|
||||
|
||||
logbook: !include logbook.yaml
|
||||
logger: !include logger.yaml
|
||||
recorder: !include recorder.yaml
|
||||
|
||||
panel_iframe:
|
||||
dashy:
|
||||
title: 'Dashy'
|
||||
icon: 'mdi:dashboard'
|
||||
url: 'http://192.168.10.10:4000/'
|
||||
|
||||
# zwave:
|
||||
# usb_path: /dev/ttyACM0
|
||||
# config_path: /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
|
||||
|
||||
tts:
|
||||
- platform: amazon_polly
|
||||
aws_access_key_id: !secret aws_access_key_ID
|
||||
aws_secret_access_key: !secret aws_secret_access_key
|
||||
region_name: 'us-east-1'
|
||||
text_type: ssml
|
||||
voice: Joanna
|
||||
cache: True
|
||||
|
||||
homekit: !include homekit.yaml
|
||||
group: !include_dir_merge_named group
|
||||
@@ -119,7 +76,7 @@ group: !include_dir_merge_named group
|
||||
sensor: !include_dir_merge_list sensor
|
||||
automation: !include_dir_merge_list automation
|
||||
scene: !include_dir_merge_list scene
|
||||
switch: !include_dir_merge_list switch
|
||||
# switch: !include_dir_merge_list switch
|
||||
script: !include_dir_merge_named script
|
||||
input_boolean: !include_dir_merge_named input_boolean
|
||||
shell_command: !include_dir_merge_named shell_command
|
||||
|
@@ -4,10 +4,9 @@ Interior_Lights:
|
||||
- group.kitchen_accents
|
||||
- light.bedroom
|
||||
- light.bedroom_lights
|
||||
- light.den_lights
|
||||
- light.dinette_lights
|
||||
- light.dining_room_lights
|
||||
- light.foyer_lights
|
||||
- light.foyer
|
||||
- light.garage_lights
|
||||
- light.hallway_lights
|
||||
- light.kitchen_lights
|
||||
@@ -16,6 +15,8 @@ Interior_Lights:
|
||||
- light.office_lights
|
||||
- light.upstairs_lights
|
||||
- light.garage_hallway
|
||||
- light.sink
|
||||
- light.upstairs_lamp
|
||||
|
||||
Exterior_Lights:
|
||||
entities:
|
||||
|
@@ -1,4 +0,0 @@
|
||||
MQTT:
|
||||
entities:
|
||||
- sensor.medicine_time
|
||||
- sensor.last_message
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/commit-activity/y/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -1,10 +0,0 @@
|
||||
home_modes:
|
||||
|
||||
entities:
|
||||
- input_boolean.guest_mode
|
||||
- input_boolean.school_mode
|
||||
- input_boolean.alert_mode
|
||||
- input_boolean.speech_notifications
|
||||
- input_boolean.text_notifications
|
||||
- input_boolean.last_message
|
||||
- sensor.low_battery
|
@@ -3,15 +3,25 @@ media_players:
|
||||
- media_player.livingroomcc
|
||||
- media_player.living_room_tv
|
||||
- media_player.living_room_ultra
|
||||
- media_player.upstairs_living_room
|
||||
# - media_player.bedroom_alarm_panel
|
||||
- media_player.bedroom_tablet
|
||||
- media_player.living_room
|
||||
- media_player.front_room_flex
|
||||
- media_player.garage
|
||||
- media_player.office
|
||||
- media_player.kitchen
|
||||
- media_player.justin_room
|
||||
- media_player.tap
|
||||
- media_player.upstairs
|
||||
- media_player.stacey_bedroom
|
||||
- media_player.carlo_bedroom
|
||||
- media_player.master_bathroom
|
||||
tvs:
|
||||
entities:
|
||||
- media_player.samsung_q70_series_65
|
||||
- media_player.carlo_s_samsung_tv_2020_q
|
||||
- media_player.fireplaceroku
|
||||
- media_player.living_room_ultra
|
||||
- media_player.roku_3810x_923c
|
||||
- media_player.roku_living_room
|
||||
- media_player.tv_samsung_q70_series_65
|
||||
|
||||
|
||||
|
@@ -2,8 +2,6 @@ motion:
|
||||
name: Motion Detectors
|
||||
entities:
|
||||
- binary_sensor.office_motion
|
||||
- binary_sensor.entry_alarm_panel
|
||||
- binary_sensor.bedroom_alarm_panel
|
||||
- binary_sensor.camera1_motion_sensor
|
||||
- binary_sensor.camera2_motion_sensor
|
||||
- binary_sensor.camera3_motion_sensor
|
||||
- binary_sensor.frontdoorbell_all_occupancy
|
||||
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
Sensors:
|
||||
entities:
|
||||
- binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_3_0
|
||||
# Sensors:
|
||||
# entities:
|
||||
# # - binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_3_0
|
||||
|
@@ -1,3 +1,11 @@
|
||||
#-------------------------------------------
|
||||
# Switches Configuration
|
||||
# Description: Groups and organizes various switches in the home
|
||||
#
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
#-------------------------------------------
|
||||
|
||||
Interior Switches:
|
||||
entities:
|
||||
- switch.kitchen_accent_1
|
||||
@@ -6,14 +14,13 @@ Interior Switches:
|
||||
- switch.lr_amp
|
||||
- switch.master_bathroom_accent_1
|
||||
- switch.master_bathroom_accent_2
|
||||
- switch.pool_deck
|
||||
#- switch.pool_deck - Not being used right now
|
||||
- switch.foyer_outlet
|
||||
- switch.den_outlet
|
||||
- switch.living_room_outlet
|
||||
- switch.living_room_outlet_2
|
||||
- switch.living_room_tv_outlet
|
||||
- switch.office_lamp_switch_socket
|
||||
- switch.front_office_window
|
||||
- switch.office_lamp_switch
|
||||
- switch.front_office_lamp
|
||||
|
||||
Kitchen Accents:
|
||||
entities:
|
||||
|
@@ -1,14 +0,0 @@
|
||||
Triggers:
|
||||
|
||||
entities:
|
||||
- input_boolean.house_station
|
||||
- input_boolean.responsibilities
|
||||
- input_boolean.home_stats
|
||||
- input_boolean.flash
|
||||
- input_boolean.guard_dog
|
||||
- input_boolean.sleepy_dog
|
||||
- input_boolean.good_morning
|
||||
- input_boolean.good_night
|
||||
- input_boolean.meal_time
|
||||
- input_boolean.tv_time
|
||||
- input_boolean.work
|
@@ -1,21 +0,0 @@
|
||||
Weather:
|
||||
entities:
|
||||
- climate.downstairs
|
||||
- sensor.downstairs_thermostat_humidity
|
||||
- binary_sensor.downstairs_nest_away
|
||||
- climate.upstairs
|
||||
- sensor.upstairs_thermostat_humidity
|
||||
- binary_sensor.upstairs_nest_away
|
||||
- sensor.pirateweather_cloud_coverage
|
||||
- sensor.pirateweather_minutely_summary
|
||||
# - sensor.pirateweather_nearest_storm_distance
|
||||
- sensor.pirateweather_precip_intensity
|
||||
- sensor.pirateweather_daily_max_precip_intensity
|
||||
- sensor.pirateweather_wind_speed
|
||||
- sensor.pirateweather_humidity
|
||||
- sensor.pirateweather_temperature
|
||||
- sensor.pirateweather_uv_index
|
||||
- sensor.moon
|
||||
- binary_sensor.iss
|
||||
- sensor.launch_window
|
||||
- sensor.next_launch
|
@@ -1,9 +1,12 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Read all about this and more at https://vCloudInfo.com
|
||||
# HomeKit control file.
|
||||
######################################################################################################
|
||||
# HomeKit Configuration for Home Assistant
|
||||
#
|
||||
# Description: This file controls the HomeKit integration settings,
|
||||
# defining which entities are exposed to Apple HomeKit.
|
||||
#
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
##-------------------------------------------
|
||||
|
||||
filter:
|
||||
include_domains:
|
||||
@@ -20,16 +23,19 @@ filter:
|
||||
- scene
|
||||
- light
|
||||
include_entities:
|
||||
- camera.carlo_nvr_camera1
|
||||
- camera.carlo_nvr_camera2
|
||||
- camera.carlo_nvr_camera3
|
||||
- camera.front_door
|
||||
- camera.bedroomgate
|
||||
- camera.driveway
|
||||
- camera.filtergate
|
||||
- camera.frontdoorbell
|
||||
- camera.poolcam
|
||||
- camera.frontlawn
|
||||
- camera.garagecam
|
||||
- light.bedroom
|
||||
- light.bedroom_lights
|
||||
- light.den_lights
|
||||
- light.dinette_lights
|
||||
- light.dining_room_lights
|
||||
- light.foyer_lights
|
||||
- light.foyer
|
||||
- light.garage_lights
|
||||
- light.hallway_lights
|
||||
- light.kitchen_lights
|
||||
@@ -39,6 +45,8 @@ filter:
|
||||
- light.outdoor_front_lights
|
||||
- light.outdoor_pool_lights
|
||||
- light.upstairs_lights
|
||||
- light.upstairs_lamp
|
||||
- light.sink
|
||||
- switch.lr_amp
|
||||
exclude_entities:
|
||||
- lock.spaceship_door_lock
|
||||
@@ -48,15 +56,31 @@ filter:
|
||||
- climate.spaceship_hvac_climate_system
|
||||
|
||||
entity_config:
|
||||
camera.carlo_nvr_camera1:
|
||||
linked_motion_sensor: binary_sensor.camera1_motion_sensor
|
||||
camera.frontdoorbell:
|
||||
linked_motion_sensor: binary_sensor.frontdoorbell_all_occupancy
|
||||
video_codec: copy
|
||||
stream_source: !secret camera1_stream
|
||||
camera.carlo_nvr_camera2:
|
||||
linked_motion_sensor: binary_sensor.camera2_motion_sensor
|
||||
stream_source: rtsp://192.168.10.14:8554/frontdoorbell?mp4
|
||||
camera.poolcam:
|
||||
linked_motion_sensor: binary_sensor.poolcam_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: !secret camera2_stream
|
||||
camera.carlo_nvr_camera3:
|
||||
linked_motion_sensor: binary_sensor.camera3_motion_sensor
|
||||
stream_source: rtsp://192.168.10.14:8554/poolcam?mp4
|
||||
camera.frontlawn:
|
||||
linked_motion_sensor: binary_sensor.frontlawn_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: !secret camera3_stream
|
||||
stream_source: rtsp://192.168.10.14:8554/frontlawn?mp4
|
||||
camera.garagecam:
|
||||
linked_motion_sensor: binary_sensor.garagecam_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: rtsp://192.168.10.14:8554/garagecam?mp4
|
||||
camera.bedroomgate:
|
||||
linked_motion_sensor: binary_sensor.bedroomgate_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: rtsp://192.168.10.14:8554/bedroomgate?mp4
|
||||
camera.driveway:
|
||||
linked_motion_sensor: binary_sensor.driveway_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: rtsp://192.168.10.14:8554/driveway?mp4
|
||||
camera.filtergate:
|
||||
linked_motion_sensor: binary_sensor.filtergate_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: rtsp://192.168.10.14:8554/filtergate?mp4
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/commit-activity/y/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -1,7 +1,3 @@
|
||||
home_stats:
|
||||
name: Home Stats
|
||||
initial: off
|
||||
|
||||
responsibilities:
|
||||
name: responsibilities
|
||||
initial: off
|
||||
|
@@ -3,11 +3,6 @@ guest_mode:
|
||||
icon: mdi:account-alert
|
||||
initial: off
|
||||
|
||||
school_mode:
|
||||
name: School Mode
|
||||
icon: mdi:school
|
||||
initial: on
|
||||
|
||||
alert_mode:
|
||||
name: Alert Mode
|
||||
icon: mdi:alert-octagram
|
||||
|
@@ -2,11 +2,6 @@
|
||||
good_night:
|
||||
name: Good Night
|
||||
initial: off
|
||||
|
||||
good_morning:
|
||||
name: Good Morning
|
||||
initial: off
|
||||
|
||||
meal_time:
|
||||
name: Meal Time
|
||||
initial: off
|
||||
@@ -30,3 +25,7 @@ color_tornado:
|
||||
guard_dog:
|
||||
name: Guard Dog
|
||||
initial: off
|
||||
locator:
|
||||
name: Locator
|
||||
icon: mdi:map-marker-account
|
||||
initial: off
|
||||
|
82
config/json_data/flag_days.json
Executable file
82
config/json_data/flag_days.json
Executable file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"Flag_Days_US": {
|
||||
"static": {
|
||||
"2/12": "Lincoln's Birthday",
|
||||
"5/15": "Peace Officers Memorial Day",
|
||||
"6/14": "Flag Day",
|
||||
"7/4": "Independence Day",
|
||||
"7/27": "National Korean War Veterans Armistice Day",
|
||||
"9/11": "Patriot Day",
|
||||
"9/17": "Constitution Day",
|
||||
"10/27": "Navy Day",
|
||||
"11/11": "Veterans Day",
|
||||
"12/7": "Pearl Harbor Remembrance Day"
|
||||
},
|
||||
"dynamic": {
|
||||
"01/20/2025": "Inauguration Day",
|
||||
"01/16/2023": "Martin Luther King Jr. Day",
|
||||
"01/15/2024": "Martin Luther King Jr. Day",
|
||||
"01/19/2026": "Martin Luther King Jr. Day",
|
||||
"01/18/2027": "Martin Luther King Jr. Day",
|
||||
"01/17/2028": "Martin Luther King Jr. Day",
|
||||
"01/15/2029": "Martin Luther King Jr. Day",
|
||||
"01/21/2030": "Martin Luther King Jr. Day",
|
||||
"02/20/2023": "Washington's Birthday (Presidents Day)",
|
||||
"02/19/2024": "Washington's Birthday (Presidents Day)",
|
||||
"02/17/2025": "Washington's Birthday (Presidents Day)",
|
||||
"02/16/2026": "Washington's Birthday (Presidents Day)",
|
||||
"02/15/2027": "Washington's Birthday (Presidents Day)",
|
||||
"02/21/2028": "Washington's Birthday (Presidents Day)",
|
||||
"02/19/2029": "Washington's Birthday (Presidents Day)",
|
||||
"02/18/2030": "Washington's Birthday (Presidents Day)",
|
||||
"05/20/2023": "Armed Forces Day",
|
||||
"05/18/2024": "Armed Forces Day",
|
||||
"05/17/2025": "Armed Forces Day",
|
||||
"05/16/2026": "Armed Forces Day",
|
||||
"05/15/2027": "Armed Forces Day",
|
||||
"05/20/2028": "Armed Forces Day",
|
||||
"05/19/2029": "Armed Forces Day",
|
||||
"05/18/2030": "Armed Forces Day",
|
||||
"05/29/2023": "Memorial Day",
|
||||
"05/27/2024": "Memorial Day",
|
||||
"05/26/2025": "Memorial Day",
|
||||
"05/25/2026": "Memorial Day",
|
||||
"05/31/2027": "Memorial Day",
|
||||
"05/29/2028": "Memorial Day",
|
||||
"05/28/2029": "Memorial Day",
|
||||
"05/27/2030": "Memorial Day",
|
||||
"09/04/2023": "Labor Day",
|
||||
"09/02/2024": "Labor Day",
|
||||
"09/01/2025": "Labor Day",
|
||||
"09/07/2026": "Labor Day",
|
||||
"09/06/2027": "Labor Day",
|
||||
"09/04/2028": "Labor Day",
|
||||
"09/03/2029": "Labor Day",
|
||||
"09/02/2030": "Labor Day",
|
||||
"09/15/2023": "National POW/MIA Recognition Day",
|
||||
"09/20/2024": "National POW/MIA Recognition Day",
|
||||
"09/19/2025": "National POW/MIA Recognition Day",
|
||||
"09/18/2026": "National POW/MIA Recognition Day",
|
||||
"09/17/2027": "National POW/MIA Recognition Day",
|
||||
"09/15/2028": "National POW/MIA Recognition Day",
|
||||
"09/21/2029": "National POW/MIA Recognition Day",
|
||||
"09/20/2030": "National POW/MIA Recognition Day",
|
||||
"10/09/2023": "Columbus Day",
|
||||
"10/14/2024": "Columbus Day",
|
||||
"10/13/2025": "Columbus Day",
|
||||
"10/12/2026": "Columbus Day",
|
||||
"10/11/2027": "Columbus Day",
|
||||
"10/09/2028": "Columbus Day",
|
||||
"10/08/2029": "Columbus Day",
|
||||
"10/14/2030": "Columbus Day",
|
||||
"11/07/2023": "Election Day",
|
||||
"11/05/2024": "Election Day",
|
||||
"11/04/2025": "Election Day",
|
||||
"11/03/2026": "Election Day",
|
||||
"11/02/2027": "Election Day",
|
||||
"11/07/2028": "Election Day",
|
||||
"11/06/2029": "Election Day",
|
||||
"11/05/2030": "Election Day"
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,29 +1,16 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Read all about this and more at https://vCloudInfo.com
|
||||
# Additional Light groups control file for better Alexa / HomeKit support
|
||||
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/764
|
||||
######################################################################################################
|
||||
|
||||
|
||||
# Moved to UI
|
||||
# Reference : https://www.flexfireleds.com/pages/Comparison-between-3528-LEDs-and-5050-LEDs.html
|
||||
# - platform: flux_led
|
||||
# automatic_add: True
|
||||
# devices:
|
||||
# 192.168.10.30:
|
||||
# name: led_garage_snip
|
||||
# mode: "rgb"
|
||||
# 192.168.10.31:
|
||||
# name: led_outdoor_den
|
||||
# mode: "rgb"
|
||||
# 192.168.10.32:
|
||||
# name: led_garage_large
|
||||
# mode: "rgb"
|
||||
# 192.168.10.33:
|
||||
# name: led_garage_small
|
||||
# mode: "rgb"
|
||||
# Light Groups Configuration for Home Assistant
|
||||
#
|
||||
# Description: This file defines light groups for improved control and integration
|
||||
# with voice assistants like Alexa and smart home platforms like HomeKit.
|
||||
# Shows the groups as light.xxxx
|
||||
#
|
||||
# For more information and updates, visit:
|
||||
# https://www.vcloudinfo.com/click-here
|
||||
#
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Related Issue: https://github.com/CCOSTAN/Home-AssistantConfig/issues/764
|
||||
#-------------------------------------------
|
||||
|
||||
- platform: group
|
||||
name: Kitchen Lights
|
||||
@@ -49,7 +36,7 @@
|
||||
- light.m1_back_right
|
||||
- light.m1_front_left
|
||||
- light.m1_front_right
|
||||
- light.slider
|
||||
- light.main_slider
|
||||
|
||||
- platform: group
|
||||
name: Living Room Accents
|
||||
@@ -64,13 +51,13 @@
|
||||
- light.d1
|
||||
- light.d2
|
||||
|
||||
- platform: group
|
||||
name: Den lights
|
||||
entities:
|
||||
- light.den_lamp
|
||||
# - platform: group
|
||||
# name: Den lights
|
||||
# entities:
|
||||
# - light.den_lamp
|
||||
|
||||
- platform: group
|
||||
name: Foyer lights
|
||||
name: Foyer
|
||||
entities:
|
||||
- light.f1
|
||||
- light.f2
|
||||
@@ -114,11 +101,10 @@
|
||||
- light.led_garage_large
|
||||
- light.led_garage_snip
|
||||
- light.led_garage_small
|
||||
- light.led_outdoor_den
|
||||
- light.front_door
|
||||
- light.led_outdoor_den
|
||||
- light.treeflood
|
||||
- light.flood_2
|
||||
- light.pathmiddle
|
||||
# - light.pathmiddle
|
||||
|
||||
- platform: group
|
||||
name: Garage lights
|
||||
|
42
config/logbook.yaml
Normal file
42
config/logbook.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
#-------------------------------------------
|
||||
# Logbook Configuration
|
||||
# Description: Settings for the Home Assistant logbook component
|
||||
# This component is responsible for displaying items in the logbook.
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
|
||||
exclude:
|
||||
entity_globs:
|
||||
- sensor.*_location
|
||||
- sensor.*_place
|
||||
- sensor.*_geocoded_location
|
||||
- sensor.pirateweather_*
|
||||
- weather.*
|
||||
entities:
|
||||
- automation.cuckoo_clock
|
||||
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
|
||||
- binary_sensor.office_motion
|
||||
- binary_sensor.refrigerator_door_open
|
||||
- binary_sensor.rheem_wh_running
|
||||
- group.garage_doors
|
||||
- media_player.LivingRoomCC
|
||||
- sensor.date
|
||||
- sensor.downstairs_ac_cooling_numeric
|
||||
- sensor.ha_uptime
|
||||
- sensor.large_garage_reflection_rate
|
||||
- sensor.large_garage_status
|
||||
- sensor.large_garage_time_in_state
|
||||
- sensor.large_garage_wifi_signal_strength
|
||||
- sensor.pi_hole_ads_blocked_today
|
||||
- sensor.pi_hole_ads_percentage_blocked_today
|
||||
- sensor.pi_hole_dns_queries_today
|
||||
- sensor.rheem_wh_running_state
|
||||
- sensor.sleepnumber_carlo_carlo_pressure
|
||||
- sensor.sleepnumber_carlo_stacey_pressure
|
||||
- sensor.small_garage_reflection_rate
|
||||
- sensor.small_garage_status
|
||||
- sensor.small_garage_time_in_state
|
||||
- sensor.small_garage_wifi_signal_strength
|
||||
- sensor.time
|
||||
- sensor.upstairs_ac_cooling_numeric
|
@@ -1,20 +1,25 @@
|
||||
############################################################
|
||||
#-------------------------------------------
|
||||
# Logger Configuration for Home Assistant
|
||||
#
|
||||
# Logger You can filter anything betwen the []'s in the logger.
|
||||
# Description: This file controls the logging levels for various
|
||||
# components of Home Assistant. You can filter log entries by
|
||||
# adjusting the severity levels for each component.
|
||||
#
|
||||
############################################################
|
||||
|
||||
# Log Severities: notset, debug, info, warn, warning, error, fatal, critical
|
||||
# Log Severities (in order of increasing severity):
|
||||
# notset, debug, info, warn, warning, error, fatal, critical
|
||||
#
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
|
||||
default: info
|
||||
logs:
|
||||
AIOGitHubAPI: error
|
||||
aiohttp.access: critical
|
||||
aiohttp.server: critical
|
||||
aiounifi: error
|
||||
custom_components.hacs: error
|
||||
hacs: error
|
||||
queueman: error
|
||||
AIOGitHubAPI: error
|
||||
homeassistant.core: error
|
||||
homeassistant.config_entries: error
|
||||
homeassistant.components.automation: warn
|
||||
@@ -23,9 +28,14 @@ logs:
|
||||
homeassistant.components.device_tracker: error
|
||||
homeassistant.components.discovery: warn
|
||||
homeassistant.components.feedreader: error
|
||||
homeassistant.components.history: error
|
||||
homeassistant.components.http: warn
|
||||
homeassistant.components.ipp: critical
|
||||
homeassistant.components.logbook: error
|
||||
homeassistant.components.media_player: info
|
||||
homeassistant.components.mqtt: error
|
||||
homeassistant.components.mqtt.discovery: critical
|
||||
homeassistant.components.persistent_notification: critical
|
||||
homeassistant.components.rest.sensor: critical
|
||||
homeassistant.components.recorder: error
|
||||
homeassistant.components.sensor.pi_hole: critical
|
||||
@@ -40,9 +50,11 @@ logs:
|
||||
homeassistant.helpers.script: info
|
||||
homeassistant.helpers.entity: critical
|
||||
homeassistant.loader: warn
|
||||
homeassistant.components.websocket_api: error
|
||||
pubnub: critical
|
||||
py.warnings: error
|
||||
pyhap.hap_server: warn
|
||||
queueman: error
|
||||
urllib3.connectionpool: error
|
||||
requests.packages.urllib3.connectionpool: critical
|
||||
root: warn
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<h1 align="center">
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/twitter_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<a name="logo" href="https://www.vCloudInfo.com/tag/iot"><img src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/x_profile.png" alt="Bear Stone Smart Home" width="200"></a>
|
||||
<br>
|
||||
Bear Stone Smart Home Documentation
|
||||
</h1>
|
||||
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://x.com/ccostan)
|
||||
[](https://x.com/ccostan)
|
||||
[](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
|
||||
[](https://github.com/CCOSTAN)
|
||||
[](https://github.com/CCOSTAN) <br>
|
||||
[](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
|
||||
<h4>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/last-commit/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
<a href="https://github.com/CCOSTAN/Home-AssistantConfig/commits/master"><img src="https://img.shields.io/github/commit-activity/y/CCOSTAN/Home-AssistantConfig.svg?style=plasticr"/></a>
|
||||
|
@@ -210,7 +210,6 @@ group:
|
||||
- binary_sensor.MCU2_GPIO12
|
||||
- binary_sensor.MCU2_GPIO13
|
||||
- binary_sensor.MCU2_GPIO14
|
||||
- binary_sensor.MCU2_GPIO15
|
||||
- binary_sensor.MCU3_GPIO4
|
||||
- binary_sensor.MCU3_GPIO5
|
||||
- binary_sensor.MCU3_GPIO10
|
||||
@@ -261,18 +260,8 @@ automation:
|
||||
value1: >-
|
||||
{% set opening = state_attr(trigger.entity_id, "friendly_name")%}
|
||||
{%- macro opening_sentence(opening) -%}
|
||||
{{ [
|
||||
"The " ~ opening +" has been opened for about 5 minutes. I will shut down the Air Conditioner so you can enjoy the fresh air.",
|
||||
"Since the " ~ opening +" is still open, I will turn off the air conditioners until you close it",
|
||||
"The " ~ opening +" has been left open, I will turn off the AC to save some money for you.",
|
||||
"We cant have the Air Conditioning running AND have " ~ opening +" open so I will turn off the AC.",
|
||||
"Since running the AC while " ~ opening +" is open, I will turn off the Air Conditioner.",
|
||||
"Once the " ~ opening +" is closed, I will turn the Air Conditioner back on",
|
||||
"So we dont waste money, I will turn off the AC until " ~ opening +" has been closed.",
|
||||
"The " ~ opening +" is open and we are cooling the outside. I will fix that by turning off the AC for now.",
|
||||
"The fresh Air from the " ~ opening +" is great so I will turn off the AC until it is closed again.",
|
||||
"When Doors and windows are left open like the " ~ opening +", I will remember to turn off the AC."
|
||||
] | random }}
|
||||
{{"Since the " ~ opening +" has been left open, I will turn off the air conditioners until you close it" }}
|
||||
[Give a snarky reason for this action]
|
||||
{%- endmacro -%}
|
||||
{{opening_sentence(opening)}}
|
||||
call_outside_weather: 1
|
||||
@@ -294,10 +283,9 @@ automation:
|
||||
value_template: "{{ states('climate.downstairs') == 'off' }}"
|
||||
|
||||
action:
|
||||
- service: climate.set_hvac_mode
|
||||
- service: climate.turn_on
|
||||
data:
|
||||
entity_id: climate.downstairs
|
||||
hvac_mode: 'auto'
|
||||
|
||||
#-------------------------------------------#-------------------------------------------
|
||||
- alias: 'Alarm lights in Living room'
|
||||
|
@@ -1,139 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Fire Tablet Alarm Panel -
|
||||
# http://www.vmwareinfo.com/2017/07/visualizing-smart-home-using-home.html
|
||||
#-------------------------------------------
|
||||
#
|
||||
homeassistant:
|
||||
customize_glob:
|
||||
"input_boolean.clock_snooze":
|
||||
|
||||
|
||||
|
||||
media_player:
|
||||
- platform: floorplan_speaker
|
||||
name: Alarm Clock
|
||||
|
||||
#---Sensors for Fire Tablet-----------------------------
|
||||
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
state_topic: floorplan/clock_motion
|
||||
name: Clock Motion
|
||||
device_class: motion
|
||||
retain: true
|
||||
|
||||
|
||||
|
||||
- platform: mqtt
|
||||
state_topic: floorplan/clock_plugged
|
||||
name: Clock Plugged
|
||||
retain: true
|
||||
|
||||
|
||||
|
||||
light:
|
||||
- platform: mqtt
|
||||
name: Clock Screensaver
|
||||
state_topic: floorplan/clock_screensaver
|
||||
command_topic: floorplan/clock_screensaver/set
|
||||
brightness: true
|
||||
|
||||
sensor:
|
||||
- platform: mqtt
|
||||
state_topic: "clock/stacey_alarm_time"
|
||||
name: clock_stacey_alarm_time
|
||||
retain: true
|
||||
|
||||
|
||||
|
||||
input_boolean:
|
||||
clock_snooze:
|
||||
name: Clock Snooze
|
||||
initial: off
|
||||
|
||||
automation:
|
||||
- alias: 'Snooze Button off in 10 minutes'
|
||||
id: 7cfd94e2-0b99-4de1-af98-2085d51ef88b
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.clock_snooze
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
action:
|
||||
- delay:
|
||||
minutes: 10
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.clock_snooze
|
||||
|
||||
#Turn on the clock - turn off the screensaver so we can see it.
|
||||
# - alias: Turn off Screensaver so we can see the time
|
||||
# id: 26016b2a-4760-4438-a665-95d5b18f0797
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id:
|
||||
# - binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
# - binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
# - light.bedroom_screensaver
|
||||
# to: 'off'
|
||||
#
|
||||
# action:
|
||||
# - service: light.turn_off
|
||||
# entity_id: light.clock_screensaver
|
||||
|
||||
#-----Turn on the Music--------------------------------------
|
||||
- alias: 'Play Radio when Snooze button is turned off.'
|
||||
id: f0982a8b-6d30-4f2e-803f-0f341d188287
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.clock_snooze
|
||||
to: 'off'
|
||||
from: 'on'
|
||||
- platform: template
|
||||
value_template: '{{states.sensor.time.state == states.sensor.clock_stacey_alarm_time.state}}'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'home'
|
||||
action:
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.alarm_clock
|
||||
volume_level: 0.3
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.alarm_clock
|
||||
#media_content_id: "http://listen.181fm.com/181-kickincountry_128k.mp3"
|
||||
media_content_id: "http://listen.djcmedia.com:80/americascountryhigh"
|
||||
media_content_type: audio/mp4
|
||||
- service: light.turn_off
|
||||
entity_id: light.clock_screensaver
|
||||
|
||||
#-----Turn off the Music--------------------------------------
|
||||
- alias: 'Turn off the Radio when the snooze is turned on.'
|
||||
id: c21173ef-0418-49da-a1b8-b961c79dc6d7
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.clock_snooze
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
|
||||
action:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.alarm_clock
|
@@ -9,7 +9,6 @@ sensor:
|
||||
sensors:
|
||||
last_alexa:
|
||||
value_template: >
|
||||
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}
|
||||
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
|
||||
|
||||
#-------------------------------------------
|
||||
|
||||
|
@@ -7,15 +7,10 @@
|
||||
## August Smart Lock - https://amzn.to/2SKGVDk
|
||||
######################################################################
|
||||
|
||||
#-------------------------------------------
|
||||
# august:
|
||||
# login_method: email
|
||||
# username: !secret august_username
|
||||
# password: !secret august_password
|
||||
|
||||
# Moved Authentication to UI Integrations
|
||||
# Added to the LOCK group
|
||||
# Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event.
|
||||
# Door will autoLock in 20 minutes. this is set up in the August App.
|
||||
|
||||
######################################################################
|
||||
## Door Lock Status Announcements - Only during normal hours.
|
||||
@@ -37,20 +32,6 @@ automation:
|
||||
data:
|
||||
DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
|
||||
|
||||
- alias: 'Door UnLocked Announcement'
|
||||
id: 5922becc-3249-40ea-bdb4-db97cc40c413
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- lock.front_door
|
||||
to: 'unlocked'
|
||||
for: '00:10:00'
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
DoorUnLocked: "The {{ trigger.to_state.name }} has been {{ trigger.to_state.state }} for 10 minutes. I will lock it in 10 minutes if it is still unlocked."
|
||||
|
||||
- alias: 'August Battery Monitor'
|
||||
id: 82d6d09b-fba1-4320-8048-067043b490fc
|
||||
mode: single
|
||||
@@ -65,3 +46,25 @@ automation:
|
||||
title: 'Low Battery'
|
||||
value1: 'The August Door lock is at {{ states("sensor.front_door_battery") }}% '
|
||||
group: 'Battery_Alert'
|
||||
|
||||
- alias: 'FrontDoor Bell Camera on Front Door Lock'
|
||||
id: Doorbell_camera_front_door
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: lock.front_door
|
||||
to: 'unlocked'
|
||||
action:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'show front doorbell camera'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'hide front doorbell camera'
|
||||
media_content_type: custom
|
||||
|
35
config/packages/backups.yaml
Executable file
35
config/packages/backups.yaml
Executable file
@@ -0,0 +1,35 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
# Added Duplicati to HA - https://github.com/CCOSTAN/Home-AssistantConfig/issues/1498
|
||||
|
||||
#-------------------------------------------
|
||||
automation:
|
||||
- alias: 'Backup Job Failed Notification'
|
||||
id: 5b3a4c89-1234-4567-8901-23456789abcf
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.dockerconfigs_backup_error_message
|
||||
from: '-'
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
who: 'carlo'
|
||||
value1: 'Backup Job Error!'
|
||||
value2: "Error: {{ states('sensor.dockerconfigs_backup_error_message') }}"
|
||||
|
||||
- alias: 'Backup Size Change Alert'
|
||||
id: 5b3a4c89-1234-4567-8901-23456789abd0
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.dockerconfigs_backup_target_size
|
||||
above: 10000000000 # Alert if backup size is over 10GB
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
who: 'carlo'
|
||||
value1: 'Backup Size Warning'
|
||||
value2: >
|
||||
Backup target size has grown to {{ states('sensor.dockerconfigs_backup_target_size') | float / 1000000000 }} GB.
|
||||
Please verify backup contents and available storage.
|
@@ -2,6 +2,7 @@
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Support for Blink Cameras (https://amzn.to/3lOYTCv)
|
||||
# Added ThinLg HACS integration for Fridge sensors - https://github.com/ollo69/ha-smartthinq-sensors
|
||||
#-------------------------------------------
|
||||
|
||||
##############################################################################
|
||||
@@ -14,25 +15,40 @@ automation:
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.blink_blink1_temperature
|
||||
above: 55
|
||||
above: 60
|
||||
for:
|
||||
minutes: 20
|
||||
- platform: state
|
||||
entity_id: binary_sensor.refrigerator_door_open
|
||||
to: 'on'
|
||||
for:
|
||||
minutes: 10
|
||||
- platform: event
|
||||
event_type: event_fridge_still_hot_loop
|
||||
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.blink_blink1_temperature
|
||||
above: 55
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.blink_blink1_temperature
|
||||
above: 60
|
||||
|
||||
- condition: state
|
||||
entity_id: binary_sensor.refrigerator_door_open
|
||||
state: 'on'
|
||||
|
||||
action:
|
||||
|
||||
- service: blink.blink_update
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Check Fridge'
|
||||
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
||||
value1: >
|
||||
{% if trigger.platform == 'numeric_state' %}
|
||||
The Blink camera temperature sensor has detected {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes.
|
||||
{% elif trigger.platform == 'binary_sensor' and trigger.entity_id == 'binary_sensor.refrigerator_door_open' %}
|
||||
The fridge door has been open for over 10 minutes.
|
||||
{% else %}
|
||||
The fridge is still hot after the previous alert. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}
|
||||
{% endif %}
|
||||
who: 'family'
|
||||
group: 'information'
|
||||
|
||||
@@ -40,7 +56,7 @@ automation:
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
||||
value1: "Please check the fridge. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}"
|
||||
no_fridge: 1
|
||||
|
||||
- delay: 00:30:00
|
||||
|
@@ -17,7 +17,7 @@ script:
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.tap
|
||||
entity_id: media_player.garage
|
||||
media_content_id: 'turn off paige bed'
|
||||
media_content_type: custom
|
||||
|
||||
@@ -36,7 +36,7 @@ script:
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.tap
|
||||
entity_id: media_player.garage
|
||||
media_content_id: 'turn off c life 3'
|
||||
media_content_type: custom
|
||||
|
||||
@@ -44,15 +44,7 @@ script:
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.tap
|
||||
media_content_id: 'turn off c life 4'
|
||||
media_content_type: custom
|
||||
|
||||
- delay: "00:01:30"
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.tap
|
||||
entity_id: media_player.garage
|
||||
media_content_id: 'turn off c sleep 1'
|
||||
media_content_type: custom
|
||||
|
||||
@@ -60,6 +52,6 @@ script:
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.tap
|
||||
entity_id: media_player.garage
|
||||
media_content_id: 'turn off c sleep 2'
|
||||
media_content_type: custom
|
||||
|
273
config/packages/climate.yaml
Normal file
273
config/packages/climate.yaml
Normal file
@@ -0,0 +1,273 @@
|
||||
######################################################################
|
||||
## AC related automations
|
||||
## For more info visit https://www.vcloudinfo.com/click-here
|
||||
## Contact: @CCOSTAN
|
||||
######################################################################
|
||||
|
||||
input_datetime:
|
||||
downstairs_last_filter_change:
|
||||
name: Downstairs Last Filter Change
|
||||
has_date: true
|
||||
has_time: true
|
||||
upstairs_last_filter_change:
|
||||
name: Upstairs Last Filter Change
|
||||
has_date: true
|
||||
has_time: true
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Binary sensors – true when the thermostat reports the compressor is running
|
||||
# ---------------------------------------------------------------------------
|
||||
binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
downstairs_ac_cooling:
|
||||
friendly_name: "Downstairs AC is Cooling"
|
||||
value_template: >
|
||||
{{ state_attr('climate.downstairs', 'hvac_action') == 'cooling' }}
|
||||
upstairs_ac_cooling:
|
||||
friendly_name: "Upstairs AC is Cooling"
|
||||
value_template: >
|
||||
{{ state_attr('climate.upstairs', 'hvac_action') == 'cooling' }}
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
downstairs_ac_cooling_numeric:
|
||||
friendly_name: "Downstairs AC Cooling Numeric"
|
||||
value_template: "{{ 1 if is_state('binary_sensor.downstairs_ac_cooling', 'on') else 0 }}"
|
||||
upstairs_ac_cooling_numeric:
|
||||
friendly_name: "Upstairs AC Cooling Numeric "
|
||||
value_template: "{{ 1 if is_state('binary_sensor.upstairs_ac_cooling', 'on') else 0 }}"
|
||||
|
||||
- platform: integration
|
||||
name: Downstairs AC Runtime Raw
|
||||
source: sensor.downstairs_ac_cooling_numeric
|
||||
unit_time: h
|
||||
method: left
|
||||
round: 2
|
||||
- platform: integration
|
||||
name: Upstairs AC Runtime Raw
|
||||
source: sensor.upstairs_ac_cooling_numeric
|
||||
unit_time: h
|
||||
method: left
|
||||
round: 2
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Utility‑meters that act like odometers (reset when you swap the filter)
|
||||
# ---------------------------------------------------------------------------
|
||||
utility_meter:
|
||||
downstairs_ac_runtime_since_last_filter_change:
|
||||
source: sensor.downstairs_ac_runtime_raw
|
||||
upstairs_ac_runtime_since_last_filter_change:
|
||||
source: sensor.upstairs_ac_runtime_raw
|
||||
|
||||
script:
|
||||
reset_downstairs_filter:
|
||||
alias: Reset Downstairs Filter
|
||||
mode: queued
|
||||
sequence:
|
||||
- service: input_datetime.set_datetime
|
||||
data:
|
||||
entity_id: input_datetime.downstairs_last_filter_change
|
||||
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
|
||||
- service: utility_meter.reset
|
||||
target:
|
||||
entity_id: sensor.downstairs_ac_runtime_since_last_filter_change
|
||||
|
||||
reset_upstairs_filter:
|
||||
alias: Reset Upstairs Filter
|
||||
mode: queued
|
||||
sequence:
|
||||
- service: input_datetime.set_datetime
|
||||
data:
|
||||
entity_id: input_datetime.upstairs_last_filter_change
|
||||
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
|
||||
- service: utility_meter.reset
|
||||
target:
|
||||
entity_id: sensor.upstairs_ac_runtime_since_last_filter_change
|
||||
|
||||
automation:
|
||||
- alias: Notify Downstairs Filter Change Due
|
||||
description: Notify when downstairs runtime exceeds threshold since last filter change
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.downstairs_ac_runtime_since_last_filter_change
|
||||
above: 800 # hours
|
||||
action:
|
||||
- service: script.notify_engine # <-- keep your existing notify helper
|
||||
data:
|
||||
title: "Home Maintenance Reminder"
|
||||
value1: "It's time to change your Downstairs AC filter."
|
||||
value2: >
|
||||
Runtime has exceeded 800 h. Last changed {{ ((now() - states.input_datetime.downstairs_last_filter_change.last_changed).total_seconds() / 86400) | round(0) }} days ago.
|
||||
who: "Carlo"
|
||||
group: "maintenance"
|
||||
level: "active"
|
||||
|
||||
- alias: Notify Upstairs Filter Change Due
|
||||
description: Notify when upstairs runtime exceeds threshold since last filter change
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.upstairs_ac_runtime_since_last_filter_change
|
||||
above: 450 # hours
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: "Home Maintenance Reminder"
|
||||
value1: "It's time to change your Upstairs AC filter."
|
||||
value2: >
|
||||
Runtime has exceeded 450 h. Last changed {{ ((now() - states.input_datetime.upstairs_last_filter_change.last_changed).total_seconds() / 86400) | round(0) }} days ago.
|
||||
who: "Carlo"
|
||||
group: "maintenance"
|
||||
|
||||
- alias: 'AC Status off Announcement'
|
||||
id: 7812fdaf-a3f8-498b-8f07-28e977e528fe
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- climate.downstairs
|
||||
- climate.upstairs
|
||||
from: 'off'
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
|
||||
call_window_check: 1
|
||||
|
||||
- alias: Prevent Upstairs Nest Below 76
|
||||
id: 7812fdaf-a3f8-498b-8f07-28e977e528ff
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: climate.upstairs
|
||||
attribute: temperature
|
||||
below: 76
|
||||
action:
|
||||
- delay: "00:03:00"
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
entity_id: climate.upstairs
|
||||
temperature: 77
|
||||
|
||||
- alias: Set Downstairs Nest to 76 When both in bed
|
||||
id: set_downstairs_nest_76_both_in_bed
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: climate.downstairs
|
||||
attribute: temperature
|
||||
above: 76
|
||||
- platform: state
|
||||
entity_id: group.bed
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
state: 'on'
|
||||
- condition: numeric_state
|
||||
entity_id: climate.downstairs
|
||||
attribute: temperature
|
||||
above: 76
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
action:
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
entity_id: climate.downstairs
|
||||
temperature: 76
|
||||
- alias: 'Set Downstairs Thermostat to 79 During Daylight'
|
||||
id: set_downstairs_thermostat_79_daylight
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
to: 'above_horizon'
|
||||
- platform: numeric_state
|
||||
entity_id: climate.downstairs
|
||||
attribute: temperature
|
||||
below: 79
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'above_horizon'
|
||||
- condition: template
|
||||
value_template: "{{ state_attr('climate.downstairs', 'temperature') < 79 }}"
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
entity_id: climate.downstairs
|
||||
temperature: 80
|
||||
|
||||
# Set thermostats to eco mode when everyone is away
|
||||
- alias: 'Set Thermostats to Eco When Away'
|
||||
id: 1e2d3c4b-eco-thermostat-away
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: 'not_home'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'not_home'
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: climate.set_preset_mode
|
||||
data:
|
||||
entity_id:
|
||||
- climate.downstairs
|
||||
- climate.upstairs
|
||||
preset_mode: 'eco'
|
||||
|
||||
# Automation: Set Thermostats Back to Cool Mode
|
||||
- alias: 'Set Thermostats to Cool When Home'
|
||||
id: 1e2d3c4b-cool-thermostat-home
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: 'home'
|
||||
- platform: state
|
||||
entity_id: person.justin
|
||||
to: 'home'
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'home'
|
||||
- condition: state
|
||||
entity_id: person.justin
|
||||
state: 'home'
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'home'
|
||||
sequence:
|
||||
- service: climate.set_preset_mode
|
||||
data:
|
||||
entity_id: climate.downstairs
|
||||
preset_mode: 'none'
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: person.justin
|
||||
state: 'home'
|
||||
sequence:
|
||||
- service: climate.set_preset_mode
|
||||
data:
|
||||
entity_id: climate.upstairs
|
||||
preset_mode: 'none'
|
@@ -1,90 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Conico Cameras via Alexa Media Player
|
||||
#-------------------------------------------
|
||||
######################################################################
|
||||
## Conico Camera - https://amzn.to/2Kl1eHo
|
||||
######################################################################
|
||||
|
||||
|
||||
######################################################################
|
||||
## Show Camera on Echo Shows for 20 minutes after garage door opens.
|
||||
## Show Image based on where Home Assistant thinks we are.
|
||||
######################################################################
|
||||
|
||||
automation:
|
||||
- alias: 'Garage Camera on Alexa Shows'
|
||||
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
- cover.small_garage_door
|
||||
from: 'closed'
|
||||
to: 'open'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
to: 'not_home'
|
||||
from: 'home'
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'show garage camera'
|
||||
media_content_type: custom
|
||||
- delay: '00:10:00'
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
# - conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
||||
# sequence:
|
||||
# - service: media_player.play_media
|
||||
# data:
|
||||
# entity_id: media_player.alarm_panel_1
|
||||
# media_content_id: 'show garage camera'
|
||||
# media_content_type: custom
|
||||
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'show garage camera'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
- service: script.garage_lights_off
|
@@ -1,8 +1,22 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Tracking stocks with Yahoo Finance Custom Component
|
||||
# https://www.vcloudinfo.com/2020/10/how-to-track-stocks-in-home-assistant-using-a-custom-component.html
|
||||
# Finance Package Configuration
|
||||
# Description: Tracks stock prices using Yahoo Finance integration
|
||||
# Last Updated: 2023-11-15
|
||||
#
|
||||
# Integration: Yahoo Finance
|
||||
# Documentation: https://www.home-assistant.io/integrations/yahoofinance/
|
||||
#
|
||||
# Stocks Tracked:
|
||||
# - Tesla (TSLA)
|
||||
# - Apple (AAPL)
|
||||
# - Amazon (AMZN)
|
||||
# - Microsoft (MSFT)
|
||||
#
|
||||
# Update Interval: Every 4 hours
|
||||
#
|
||||
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Blog Post: https://www.vcloudinfo.com/2020/10/how-to-track-stocks-in-home-assistant-using-a-custom-component.html
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
#-------------------------------------------
|
||||
|
||||
yahoofinance:
|
||||
@@ -10,5 +24,7 @@ yahoofinance:
|
||||
hours: 4
|
||||
symbols:
|
||||
- TSLA
|
||||
- VMW
|
||||
- AAPL
|
||||
- AMZN
|
||||
- MSFT
|
||||
|
||||
|
@@ -1,15 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Global Fire Tablet settings -
|
||||
# https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html
|
||||
#-------------------------------------------
|
||||
# We block the auto adjust brightness routines for the tablets.
|
||||
# Use ALARM and Floorplan for the security system.
|
||||
|
||||
group:
|
||||
firetablets:
|
||||
entities:
|
||||
- binary_sensor.bedroom_motion
|
||||
- binary_sensor.bedroom_plugged
|
||||
- binary_sensor.clock_motion
|
||||
- binary_sensor.clock_plugged
|
||||
- switch.bedroom_restart
|
@@ -1,85 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Fire Tablet Alarm Panel -
|
||||
# http://www.vmwareinfo.com/2017/07/visualizing-smart-home-using-home.html
|
||||
#-------------------------------------------
|
||||
#
|
||||
homeassistant:
|
||||
customize_glob:
|
||||
"sensor.*_alarm_panel*":
|
||||
|
||||
"binary_sensor.*_alarm_panel*":
|
||||
|
||||
|
||||
media_player:
|
||||
- platform: floorplan_speaker
|
||||
name: Bedroom Alarm Panel
|
||||
|
||||
switch:
|
||||
- platform: command_line
|
||||
switches:
|
||||
bedroom_restart:
|
||||
command_on: !secret bedroom_restart_on
|
||||
friendly_name: Restart Bedroom Panel
|
||||
# This restart switch is called from the Self_heal nightly Automation.
|
||||
|
||||
#---Sensors for Fire Tablet-----------------------------
|
||||
|
||||
light:
|
||||
|
||||
- platform: mqtt
|
||||
name: Bedroom Screensaver
|
||||
state_topic: floorplan/bedroom_screensaver
|
||||
command_topic: floorplan/bedroom_screensaver/set
|
||||
brightness: true
|
||||
|
||||
binary_sensor:
|
||||
|
||||
- platform: mqtt
|
||||
state_topic: floorplan/bedroom_motion
|
||||
name: Bedroom Motion
|
||||
device_class: motion
|
||||
retain: true
|
||||
|
||||
|
||||
- platform: mqtt
|
||||
state_topic: floorplan/bedroom_plugged
|
||||
name: Bedroom Plugged
|
||||
retain: true
|
||||
|
||||
#---Sensor for Time and Date.-----------------------------
|
||||
sensor:
|
||||
- platform: template
|
||||
scan_interval: 30000
|
||||
sensors:
|
||||
floorplan_date:
|
||||
friendly_name: 'Date'
|
||||
value_template: >-
|
||||
{{now().strftime("%A")}}, {{now().strftime("%B")}} {{now().strftime("%d")}}
|
||||
|
||||
- platform: template
|
||||
scan_interval: 60
|
||||
sensors:
|
||||
floorplan_time:
|
||||
friendly_name: 'Time'
|
||||
value_template: >-
|
||||
{{now().strftime("%-I")}}:{{now().strftime("%M")}} {{now().strftime("%p")}}
|
||||
clock_time:
|
||||
friendly_name: 'Clock Time'
|
||||
value_template: >-
|
||||
{{now().strftime("%-I")}}:{{now().strftime("%M")}}
|
||||
|
||||
- platform: template
|
||||
scan_interval: 30000
|
||||
sensors:
|
||||
clock_am_pm:
|
||||
friendly_name: 'AM/PM'
|
||||
value_template: >-
|
||||
{{now().strftime("%p")}}
|
||||
clock_day:
|
||||
friendly_name: 'Day'
|
||||
value_template: >-
|
||||
{{now().strftime("%A")}}
|
||||
clock_date:
|
||||
friendly_name: 'Clock Date'
|
||||
value_template: >-
|
||||
{{now().strftime("%B")}} {{now().strftime("%d")}} {{now().year}}
|
@@ -1,43 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# More Info : https://www.vcloudinfo.com/2019/03/using-foscam-cameras-with-home-assistant-and-synology.html
|
||||
#-------------------------------------------
|
||||
|
||||
binary_sensor:
|
||||
- platform: rest
|
||||
name: "CAMERA1 Motion Sensor"
|
||||
resource: !secret camera1_url
|
||||
device_class: motion
|
||||
scan_interval: 5
|
||||
value_template: >-
|
||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
||||
{{ true }}
|
||||
{%- else -%}
|
||||
{{ false }}
|
||||
{%- endif -%}
|
||||
- platform: rest
|
||||
name: "CAMERA2 Motion Sensor"
|
||||
resource: !secret camera2_url
|
||||
device_class: motion
|
||||
scan_interval: 5
|
||||
value_template: >-
|
||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
||||
{{ true }}
|
||||
{%- else -%}
|
||||
{{ false }}
|
||||
{%- endif -%}
|
||||
- platform: rest
|
||||
name: "CAMERA3 Motion Sensor"
|
||||
resource: !secret camera3_url
|
||||
device_class: motion
|
||||
scan_interval: 5
|
||||
value_template: >-
|
||||
{%- if "<motionDetectAlarm>2</motionDetectAlarm>" in value -%}
|
||||
{{ true }}
|
||||
{%- else -%}
|
||||
{{ false }}
|
||||
{%- endif -%}
|
||||
#-------------------------------------------
|
||||
# Motion Sensors added to other motion sensors in group yaml
|
||||
#-------------------------------------------
|
38
config/packages/fridge.yaml
Normal file
38
config/packages/fridge.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Support for LG Fridges (https://amzn.to/3lOYTCv)
|
||||
# Added ThinLg HACS integration for Fridge sensors - https://github.com/ollo69/ha-smartthinq-sensors
|
||||
#-------------------------------------------
|
||||
|
||||
automation:
|
||||
- alias: 'Fridge Door Open'
|
||||
id: 2346efcd-e8a8-4e86-b5b6-43eBl1nkFr1dge95D00r0pen
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.refrigerator_door_open
|
||||
to: 'on'
|
||||
for:
|
||||
minutes: 5
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.refrigerator_door_open
|
||||
state: 'on'
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Fridge Door Open'
|
||||
value1: >
|
||||
The fridge door has been open for more than 5 minutes. Please check and close the fridge door to avoid temperature issues.
|
||||
who: 'family'
|
||||
group: 'information'
|
||||
|
||||
- wait_template: "{{ states.group.family.state == 'home' }}"
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "Attention! The fridge door has been open for more than 5 minutes. Please close the fridge door."
|
||||
|
||||
- delay: 00:30:00
|
||||
- event: event_fridge_door_open
|
@@ -1,27 +1,23 @@
|
||||
#-------------------------------------------
|
||||
# # @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
## Garadget_Stuff - [Garadget](https://amzn.to/2jQLpVQ) - Garage Door opener/sensor
|
||||
# Video and Write Up - https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html
|
||||
# Switch to Access_Tokens - https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
||||
# Garadget Configuration
|
||||
# Description: Setup for Garadget garage door opener/sensor
|
||||
#
|
||||
# Integration: MQTT
|
||||
# Hardware: Garadget (https://amzn.to/2jQLpVQ)
|
||||
#
|
||||
# Features:
|
||||
# - Garage door status monitoring
|
||||
# - Remote open/close control
|
||||
# - Door brightness sensing
|
||||
#
|
||||
# Documentation:
|
||||
# - Integration Guide: https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html
|
||||
# - Access Token Update: https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
||||
#
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
#-------------------------------------------
|
||||
|
||||
# cover:
|
||||
# - platform: mqtt
|
||||
# name: "Small Garage Door"
|
||||
# device_class: 'garage'
|
||||
# command_topic: "garadget/GSmall/command"
|
||||
# state_topic: "garadget/GSmall/status"
|
||||
# value_template: >-
|
||||
# {% if value_json.status == 'closed' %}
|
||||
# closed
|
||||
# {% else %}
|
||||
# open
|
||||
# {% endif %}
|
||||
# payload_open: "open"
|
||||
# payload_close: "close"
|
||||
# payload_stop: "stop"
|
||||
|
||||
mqtt:
|
||||
cover:
|
||||
- name: "Large Garage Door"
|
||||
@@ -38,6 +34,20 @@ mqtt:
|
||||
payload_close: "close"
|
||||
payload_stop: "stop"
|
||||
|
||||
- name: "Small Garage Door"
|
||||
device_class: 'garage'
|
||||
command_topic: "garadget/GSmall/command"
|
||||
state_topic: "garadget/GSmall/status"
|
||||
value_template: >-
|
||||
{% if value_json.status == 'closed' %}
|
||||
closed
|
||||
{% else %}
|
||||
open
|
||||
{% endif %}
|
||||
payload_open: "open"
|
||||
payload_close: "close"
|
||||
payload_stop: "stop"
|
||||
|
||||
sensor:
|
||||
- name: "Large Garage Door Since"
|
||||
state_topic: "garadget/GLarge/status"
|
||||
@@ -48,30 +58,74 @@ mqtt:
|
||||
unit_of_measurement: '%'
|
||||
value_template: '{{ value_json.bright }}'
|
||||
|
||||
- name: "Small Garage Door Since"
|
||||
state_topic: "garadget/GSmall/status"
|
||||
value_template: '{{ value_json.time }}'
|
||||
|
||||
# - platform: mqtt
|
||||
# name: "Small Garage Door Since"
|
||||
# state_topic: "garadget/GSmall/status"
|
||||
# value_template: '{{ value_json.time }}'
|
||||
- name: "Small Garage Door Brightness"
|
||||
state_topic: "garadget/GSmall/status"
|
||||
unit_of_measurement: '%'
|
||||
value_template: '{{ value_json.bright }}'
|
||||
|
||||
# - platform: mqtt
|
||||
# name: "Small Garage Door Brightness"
|
||||
# state_topic: "garadget/GSmall/status"
|
||||
# unit_of_measurement: '%'
|
||||
# value_template: '{{ value_json.bright }}'
|
||||
input_text:
|
||||
last_person_home:
|
||||
name: Last Person Home
|
||||
initial: 'Carlo'
|
||||
|
||||
group:
|
||||
garage_doors: # This group is used to check if doors are open or Closed.
|
||||
name: Garage Doors
|
||||
entities:
|
||||
- cover.large_garage_door
|
||||
# - cover.small_garage_door
|
||||
- cover.small_garage_door
|
||||
|
||||
automation:
|
||||
|
||||
######################################################################
|
||||
## Automation: Auto-open Large Garage Door when someone comes home
|
||||
######################################################################
|
||||
- alias: 'Auto Open Large Garage Door On Arrival'
|
||||
id: 7e2b1c3a-4b1e-4b2a-9c1a-automated_garage_door
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.justin
|
||||
from: 'driving'
|
||||
to: 'home'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: cover.large_garage_door
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: group.bed
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'home'
|
||||
action:
|
||||
- service: cover.open_cover
|
||||
target:
|
||||
entity_id: cover.large_garage_door
|
||||
- service: input_text.set_value
|
||||
target:
|
||||
entity_id: input_text.last_person_home
|
||||
data:
|
||||
value: "{{ trigger.to_state.entity_id.split('.')[1] }}"
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
who: 'parents'
|
||||
value1: "Large Garage has been auto-opened for {{ states('input_text.last_person_home') }}."
|
||||
title: 'Garage Auto-Opened'
|
||||
group: 'Welcome_Home'
|
||||
camera_entity: camera.garagecam
|
||||
|
||||
######################################################################
|
||||
## Send a notification to anyone coming home asking if they want to open the garage door.
|
||||
######################################################################
|
||||
|
||||
automation:
|
||||
- alias: 'Garage Helper'
|
||||
id: 365adc21-5e96-4e78-9e94-089901a29430
|
||||
mode: parallel
|
||||
@@ -80,19 +134,24 @@ automation:
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
from: 'not_home'
|
||||
# from: 'driving'
|
||||
to: 'home'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: cover.large_garage_door
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.large_garage_door
|
||||
state: 'closed'
|
||||
action:
|
||||
- variables:
|
||||
person_triggered: "{{ trigger.to_state.entity_id.split('.')[1] }}"
|
||||
# - variables:
|
||||
# person_triggered: "{{ trigger.to_state.entity_id.split('.')[1] }}"
|
||||
- service: input_text.set_value
|
||||
target:
|
||||
entity_id: input_text.last_person_home
|
||||
data:
|
||||
value: "{{ trigger.to_state.entity_id.split('.')[1] }}"
|
||||
- service: script.notify_engine_two_button
|
||||
data:
|
||||
title: 'Welcome Home!'
|
||||
value1: 'Open Garage Door?'
|
||||
value1: 'Open Large Garage door?'
|
||||
title1: 'Yes'
|
||||
action1: 'OPEN_LARGE_GARAGE'
|
||||
icon1: 'sfsymbols:arrow.up.circle'
|
||||
@@ -101,7 +160,7 @@ automation:
|
||||
action2: 'NO_OPEN_LARGE_GARAGE'
|
||||
icon2: 'sfsymbols:house.circle'
|
||||
destructive2: 'true'
|
||||
who: "{{ person_triggered }}"
|
||||
who: "{{ states('input_text.last_person_home') }}"
|
||||
group: 'Welcome_Home'
|
||||
|
||||
- alias: 'Open Large Garage Door Action'
|
||||
@@ -122,6 +181,43 @@ automation:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.large_garage_door
|
||||
|
||||
- alias: 'Prompt to Open Front Door'
|
||||
id: ece2b4a8-af21-41f4-a8fc-480a4d1ddabc
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
action: NO_OPEN_LARGE_GARAGE
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'home'
|
||||
action:
|
||||
- service: script.notify_engine_two_button
|
||||
data:
|
||||
title: 'Unlock Front Door?'
|
||||
value1: 'Do you want to unlock the front door instead?'
|
||||
title1: 'Yes'
|
||||
action1: 'UNLOCK_FRONT_DOOR'
|
||||
icon1: 'sfsymbols:unlock'
|
||||
destructive1: 'false'
|
||||
title2: 'No'
|
||||
action2: 'KEEP_FRONT_DOOR_LOCKED'
|
||||
icon2: 'sfsymbols:lock'
|
||||
destructive2: 'true'
|
||||
who: "{{ states('input_text.last_person_home') }}"
|
||||
group: 'Welcome_Home'
|
||||
|
||||
- alias: 'Unlock Front Door Action'
|
||||
id: c3106db1-f2c4-4800-b1a3-76d440228600
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
action: UNLOCK_FRONT_DOOR
|
||||
action:
|
||||
- service: lock.unlock
|
||||
entity_id: lock.front_door
|
||||
|
||||
|
||||
######################################################################
|
||||
@@ -134,10 +230,10 @@ automation:
|
||||
- platform: time_pattern
|
||||
minutes: '/1'
|
||||
action:
|
||||
# - service: mqtt.publish
|
||||
# data:
|
||||
# topic: "garadget/GSmall/command"
|
||||
# payload: "get-status"
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "garadget/GSmall/command"
|
||||
payload: "get-status"
|
||||
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
@@ -151,7 +247,7 @@ automation:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
# - cover.small_garage_door
|
||||
- cover.small_garage_door
|
||||
from: 'open'
|
||||
to: 'closed'
|
||||
for: '00:02:00'
|
||||
@@ -159,10 +255,10 @@ automation:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
# - cover.small_garage_door
|
||||
- cover.small_garage_door
|
||||
from: 'closed'
|
||||
to: 'open'
|
||||
for: '00:02:30'
|
||||
for: '00:10:00'
|
||||
|
||||
action:
|
||||
- choose:
|
||||
@@ -172,7 +268,7 @@ automation:
|
||||
data:
|
||||
DoorClosed: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||
call_garage_check: 1
|
||||
- delay: "00:20:00"
|
||||
- delay: "00:10:00"
|
||||
- service: script.garage_lights_off
|
||||
|
||||
default:
|
||||
@@ -190,7 +286,7 @@ automation:
|
||||
id: 2819207a-1716-4552-be34-a8e0f7af004e
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: ssensor.pirateweather_wind_speed
|
||||
entity_id: sensor.pirateweather_wind_speed
|
||||
above: 30
|
||||
|
||||
condition:
|
||||
@@ -198,10 +294,10 @@ automation:
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.large_garage_door
|
||||
state: 'opened'
|
||||
state: 'open'
|
||||
- condition: state
|
||||
entity_id: cover.small_garage_door
|
||||
state: 'opened'
|
||||
state: 'open'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
@@ -218,7 +314,7 @@ automation:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: >
|
||||
"The winds are picking up outside. The wind speed is {{ states('sensor.pirateweather_wind_speed')|round}} miles per hour. For safety, please close the garage doors.
|
||||
"The wind speed is {{ states('sensor.pirateweather_wind_speed')|round}} miles per hour. For safety, please close the garage doors.
|
||||
{% if is_state('cover.large_garage_door', 'open') -%}
|
||||
The Large Garage Door is open
|
||||
{% endif -%}
|
||||
@@ -227,19 +323,6 @@ automation:
|
||||
{%- endif %} The small Garage Door is open.
|
||||
{% endif %}"
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Wind speed is {{ states('sensor.pirateweather_wind_speed')|round}} miles per hour. For safety, I'm going to close the @garadget doors.",
|
||||
"Getting pretty windy! {{ states('sensor.pirateweather_wind_speed')|round}}MPH. Time to ask @Garadget to close the garage doors."
|
||||
] | random + "(https://amzn.to/2jQLpVQ)"}}
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/windy.png"
|
||||
] | random }}
|
||||
|
||||
|
||||
##############################################################################
|
||||
|
||||
- alias: Is the Garage door Open at night - Checks every 30 minutes or 5 minutes after we drive away.
|
||||
@@ -269,9 +352,9 @@ automation:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.large_garage_door') == 'opened' }}"
|
||||
value_template: "{{ states('cover.large_garage_door') == 'open' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.small_garage_door') == 'opened' }}"
|
||||
value_template: "{{ states('cover.small_garage_door') == 'open' }}"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
@@ -280,9 +363,9 @@ automation:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.large_garage_door') == 'opened' }}"
|
||||
value_template: "{{ states('cover.large_garage_door') == 'open' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('cover.small_garage_door') == 'opened'}}"
|
||||
value_template: "{{ states('cover.small_garage_door') == 'open'}}"
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
@@ -291,10 +374,126 @@ automation:
|
||||
value1: "Small: {{ states('cover.small_garage_door')}}"
|
||||
value2: "Large: {{ states('cover.large_garage_door')}}"
|
||||
who: "family"
|
||||
camera_entity: "camera.camera2"
|
||||
camera_entity: "camera.garagecam"
|
||||
group: 'information'
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "Please check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}}"
|
||||
value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Only mention the garage door that is open and remind us to close it for the night]"
|
||||
|
||||
- alias: 'Garage Camera on Alexa Shows'
|
||||
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
- cover.small_garage_door
|
||||
from: 'closed'
|
||||
to: 'open'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
to: 'not_home'
|
||||
from: 'home'
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'show garage camera from home assistant'
|
||||
media_content_type: custom
|
||||
- delay: '00:10:00'
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'show garage camera from home assistant'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
- service: script.garage_lights_off
|
||||
|
||||
- alias: 'Garage Camera on Alexa Shows'
|
||||
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- cover.large_garage_door
|
||||
- cover.small_garage_door
|
||||
from: 'closed'
|
||||
to: 'open'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
to: 'not_home'
|
||||
from: 'home'
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'show garage camera from home assistant'
|
||||
media_content_type: custom
|
||||
- delay: '00:10:00'
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.stacey_bedroom
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'show garage camera from home assistant'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
- service: script.garage_lights_off
|
||||
|
||||
|
@@ -1,50 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Read more about the house at https://vCloudInfo.com
|
||||
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/813
|
||||
#-------------------------------------------
|
||||
|
||||
#-------------------------------------------
|
||||
# sensor:
|
||||
# - platform: travisci
|
||||
# api_key: !secret travisci_api
|
||||
# scan_interval: 2400
|
||||
# monitored_conditions:
|
||||
# - state
|
||||
#-------------------------------------------
|
||||
|
||||
#-------------------------------------------
|
||||
rest_command:
|
||||
new_version_github_issue:
|
||||
url: https://api.github.com/repos/ccostan/Home-AssistantConfig/issues
|
||||
method: POST
|
||||
headers:
|
||||
Authorization: !secret github_token
|
||||
payload: '{"title":"Home-Assistant {{ version }} available","body":"Home-Assistant {{ version }} is now available /n https://www.home-assistant.io/latest-release-notes/ "}'
|
||||
#-------------------------------------------
|
||||
|
||||
automation:
|
||||
|
||||
- alias: "Update Available Notification"
|
||||
mode: restart
|
||||
id: 2f89ba6d-0db5-4a4a-a4df-56b8e15bb74f
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.updater
|
||||
to: 'on'
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Home Assistant {{ states.binary_sensor.updater.attributes.newest_version }} '
|
||||
value1: "Home Assistant {{ states.binary_sensor.updater.attributes.newest_version }} is now available."
|
||||
who: 'carlo'
|
||||
group: 'information'
|
||||
|
||||
- service: rest_command.new_version_github_issue
|
||||
data_template:
|
||||
version: "{{ states.binary_sensor.updater.attributes.newest_version }} "
|
||||
|
||||
|
47
config/packages/glances.yaml
Executable file
47
config/packages/glances.yaml
Executable file
@@ -0,0 +1,47 @@
|
||||
#-------------------------------------------
|
||||
# Setting up Glances Integration for home assistant to track ProxMox stats
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#
|
||||
#-------------------------------------------
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
proxmox_garage_avg_temp:
|
||||
friendly_name: "Proxmox Garage Average Temperature"
|
||||
unit_of_measurement: "°F"
|
||||
value_template: >-
|
||||
{{ (
|
||||
(states('sensor.proxmox1_package_id_0_temperature') | float(0) +
|
||||
states('sensor.proxmox1_pch_skylake_1_temperature') | float(0) +
|
||||
states('sensor.proxmox1_core_0_temperature') | float(0) +
|
||||
states('sensor.proxmox1_core_1_temperature') | float(0) +
|
||||
states('sensor.proxmox1_core_2_temperature') | float(0) +
|
||||
states('sensor.proxmox1_core_3_temperature') | float(0) +
|
||||
states('sensor.proxmox1_acpitz_1_temperature') | float(0) +
|
||||
states('sensor.proxmox1_acpitz_2_temperature') | float(0) +
|
||||
states('sensor.proxmox2_package_id_0_temperature') | float(0) +
|
||||
states('sensor.proxmox2_pch_skylake_1_temperature') | float(0) +
|
||||
states('sensor.proxmox2_core_0_temperature') | float(0) +
|
||||
states('sensor.proxmox2_core_1_temperature') | float(0) +
|
||||
states('sensor.proxmox2_core_2_temperature') | float(0) +
|
||||
states('sensor.proxmox2_core_3_temperature') | float(0) +
|
||||
states('sensor.proxmox2_acpitz_1_temperature') | float(0) +
|
||||
states('sensor.proxmox2_acpitz_2_temperature') | float(0)
|
||||
) / 16 ) | round(1) }}
|
||||
|
||||
automation:
|
||||
- alias: "Garage Proxmox High Temperature Warning"
|
||||
id: proxmox-garage-high-temp-warning-automation
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.proxmox_garage_avg_temp
|
||||
above: 145 # Adjust threshold as needed
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: "🔥 Proxmox Garage Alert!"
|
||||
value1: "The average temperature of your Proxmox servers is above 145°F!"
|
||||
who: 'carlo'
|
||||
group: 'information'
|
@@ -1,43 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# HACS Related Information
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/797
|
||||
#-------------------------------------------
|
||||
|
||||
#-------------------------------------------
|
||||
rest_command:
|
||||
github_new_version_hacs:
|
||||
url: https://api.github.com/repos/ccostan/Home-AssistantConfig/issues
|
||||
method: POST
|
||||
headers:
|
||||
Authorization: !secret github_token
|
||||
payload: '{"title":"HACS {{ repo }}","body":"{{ message }}"}'
|
||||
#-------------------------------------------
|
||||
|
||||
|
||||
automation:
|
||||
- alias: HACS Component Update Notification
|
||||
id: e5266b0b-017f-4c69-83a3-357aaa03dbe2
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.hacs
|
||||
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.hacs
|
||||
above: 0
|
||||
|
||||
action:
|
||||
|
||||
- service: rest_command.github_new_version_hacs
|
||||
data:
|
||||
repo: 'There are {{ states.sensor.hacs.state }} updates to HACS components at {{ states("sensor.time") }}:'
|
||||
message: >-
|
||||
{%- for repo in state_attr("sensor.hacs","repositories") -%}
|
||||
{{repo['display_name'] }} {{ repo['installed_version'] }} to {{ repo['available_version'] }}
|
||||
{%- endfor %}
|
||||
|
||||
- delay:
|
||||
days: 1
|
@@ -1,29 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# RSS Podcast Alerting function Packages
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
|
||||
#-------------------------------------------
|
||||
feedreader:
|
||||
urls:
|
||||
- https://hasspodcast.io/feed/podcast #HA Podcast Feed
|
||||
- https://us12.campaign-archive.com/feed?u=45cab4343ffdbeb9667c28a26&id=e01847e94f #This is CCOSTAN's Smart Home Blog feed
|
||||
- https://alerts.home-assistant.io/feed.xml
|
||||
# - https://feeds.feedburner.com/RecentCommitsToBearStoneHA # - This is the Repo Commit feed.
|
||||
#-------------------------------------------
|
||||
|
||||
automation:
|
||||
- alias: Send notification of RSS feed title when updated
|
||||
id: 7762ab96-f5c0-4846-a3a1-f0f3af82c275
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: feedreader
|
||||
|
||||
action:
|
||||
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
message: '{{trigger.event.data.title}}'
|
||||
title: '{{trigger.event.data.link}}'
|
||||
|
@@ -32,27 +32,40 @@ sensor:
|
||||
scan_interval: 14400
|
||||
value_template: >
|
||||
{% set today = now().month ~ '/' ~ now().day %}
|
||||
{% set holiday = value_json.MAJOR_US.static[ today ] %}
|
||||
{% set holiday = value_json.MAJOR_US.static[today] if today in value_json.MAJOR_US.static else "" %}
|
||||
{% if holiday | trim == "" %}
|
||||
{% set today = now().month ~ '/' ~ now().day ~ '/' ~ now().year %}
|
||||
{% set holiday = value_json.MAJOR_US.dynamic[ today ] %}
|
||||
{% set holiday = value_json.MAJOR_US.dynamic[today] if today in value_json.MAJOR_US.dynamic else "" %}
|
||||
{% endif %}
|
||||
{{ holiday }}
|
||||
|
||||
################################################################################
|
||||
# Sensor Uses Flag data from this calendar - http://www.webcal.fi/en-US/flag_days.php
|
||||
# Sensor Uses Flag data generated by AI
|
||||
################################################################################
|
||||
- platform: rest
|
||||
resource: https://www.webcal.fi/cal.php?id=335&format=json&start_year=current_year&end_year=current_year&tz=America%2FNew_York
|
||||
resource: https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/json_data/flag_days.json
|
||||
name: Flag
|
||||
scan_interval: 14400
|
||||
value_template: >-
|
||||
{%- set now_string = now().strftime('%Y-%m-%d') %}
|
||||
{% for day_val in value_json if day_val.date == now_string %}
|
||||
True
|
||||
{% set now_string = now().strftime('%m/%d') %}
|
||||
{% set now_full_string = now().strftime('%m/%d/%Y') %}
|
||||
{% if value_json is defined and value_json.Flag_Days_US is defined %}
|
||||
{% set static_days = value_json.Flag_Days_US.static %}
|
||||
{% set dynamic_days = value_json.Flag_Days_US.dynamic %}
|
||||
{% if static_days is defined and now_string in static_days %}
|
||||
True
|
||||
{% elif dynamic_days is defined %}
|
||||
{% for day_val in dynamic_days %}
|
||||
{% if day_val.date == now_full_string %}
|
||||
True
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
False
|
||||
{% endfor -%}
|
||||
False
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
################################################################################
|
||||
# Countdown Sensor using WolfRam Alpha Natural language queries
|
||||
|
@@ -1,133 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# JuiceBox 40 Support - https://amzn.to/3eA95dV
|
||||
# https://www.vcloudinfo.com/2018/06/using-home-assistant-to-fix-my-juicebox.html
|
||||
#-------------------------------------------
|
||||
# Moved to UI integration
|
||||
# juicenet:
|
||||
# access_token: !secret juicenet_access_token
|
||||
|
||||
command_line:
|
||||
switch:
|
||||
name: Restart Juicebox
|
||||
unique_id: restart_juicebox_switch
|
||||
command_on: "/usr/bin/curl -k 'http://192.168.10.91/command/reboot'"
|
||||
|
||||
#############################################################################
|
||||
### Automations - Alerts related to the JuiceBox (https://amzn.to/2AZVQ37)
|
||||
##############################################################################
|
||||
automation:
|
||||
- alias: 'Car Charging Alerts'
|
||||
id: fa805e4a-08fa-4626-870f-e3df98ca3d84
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.carlojuice_charging_status
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "The Garage charger is now in {{ states('sensor.carlojuice_charging_status') }} mode."
|
||||
who: 'parents'
|
||||
group: 'information'
|
||||
|
||||
- alias: 'Juicebox Self-Heal'
|
||||
id: e693f117-c75d-4bb9-a8f3-c104b226d0c5
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.carlojuice_charging_status
|
||||
to: 'disconnect'
|
||||
for:
|
||||
minutes: 6
|
||||
- platform: time_pattern
|
||||
hours: '/4'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.carlojuice_charging_status
|
||||
state: 'disconnect'
|
||||
for:
|
||||
minutes: 5
|
||||
|
||||
- condition: template
|
||||
value_template: >
|
||||
{%- if state_attr('automation.juicebox_selfheal', 'last_triggered')-%}
|
||||
{{ (as_timestamp(now()) - as_timestamp(state_attr('automation.juicebox_selfheal', 'last_triggered'))) > 10000 }}
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id: switch.restart_juicebox
|
||||
|
||||
|
||||
- alias: 'JuiceBox AMP Alert!'
|
||||
id: b805f213-a938-4d90-8d18-e88ff4d41776
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.carlojuice_amps
|
||||
above: 24
|
||||
for:
|
||||
minutes: 2
|
||||
- platform: event
|
||||
event_type: event_did_someone_help_juicebox_AMPS
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.carlojuice_charging_status
|
||||
state: 'charging'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "The Juice Box Charger is pulling {{ states('sensor.carlojuice_amps') }} AMPs. This is above the safety mark of 30. Please unplug charger immediately."
|
||||
who: 'parents'
|
||||
group: 'JuiceBox'
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "The Juice Box Charger is pulling {{ states('sensor.carlojuice_amps') }} AMPs. This is above the safety mark of 30. Please unplug charger immediately."
|
||||
|
||||
- delay: 00:02:00
|
||||
- event: event_did_someone_help_juicebox_AMPS
|
||||
|
||||
- alias: 'JuiceBox Temp Alert!'
|
||||
id: ddb36236-6ee1-4ba4-8839-661db3658401
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.carlojuice_temperature
|
||||
above: 139
|
||||
for:
|
||||
minutes: 2
|
||||
- platform: event
|
||||
event_type: event_did_someone_help_juicebox_TEMP
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.carlojuice_charging_status
|
||||
state: 'charging'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "The Juice Box Charger is running very Hot. Temperature is around {{ states('sensor.carlojuice_temperature') }} degrees. This is above the safety mark of 140. Please unplug the car immediately."
|
||||
who: 'parents'
|
||||
group: 'JuiceBox'
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "The Juice Box Charger is running very Hot. Temperature is around {{ states('sensor.carlojuice_temperature') }} degrees. This is above the safety mark of 140. Please unplug the car immediately."
|
||||
|
||||
- delay: 00:02:00
|
||||
- event: event_did_someone_help_juicebox_TEMP
|
@@ -46,7 +46,7 @@ automation:
|
||||
- service: script.notify_engine_two_button
|
||||
data:
|
||||
title: 'Lightning Warning!'
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Be careful if outdoors."
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.609) | round (1, 'floor')}} Miles of our home. Be careful if outdoors."
|
||||
title1: 'Snooze Alerts until tomorrow'
|
||||
action1: 'SNOOZE_LIGHTNING'
|
||||
icon1: 'sfsymbols:arrow.up.circle'
|
||||
@@ -55,7 +55,7 @@ automation:
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.609) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
|
||||
call_window_check: 1
|
||||
call_garage_check: 1
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
|
||||
input_select:
|
||||
log_level:
|
||||
name: Log Level
|
||||
@@ -34,4 +33,3 @@ automation:
|
||||
- service: logger.set_level
|
||||
data:
|
||||
homeassistant.components: "{{ states.input_select.log_level.state }}"
|
||||
|
||||
|
24
config/packages/minecraft.yaml
Executable file
24
config/packages/minecraft.yaml
Executable file
@@ -0,0 +1,24 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Minecraft related stuff
|
||||
#-------------------------------------------
|
||||
automation:
|
||||
- alias: Someone on the MC server!
|
||||
id: e7cc50d1-2374-4923-8e0c-2a59ff593cf8
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.minecraft_players_online
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: >
|
||||
{% if states.sensor.minecraft_players_online.state|int > 0 %}
|
||||
{{ states.sensor.minecraft_players_online.state }} player(s) connected to Minecraft server
|
||||
{% else %}
|
||||
All players disconnected from Minecraft server
|
||||
{% endif %}
|
||||
title: "Minecraft Server Status"
|
||||
who: 'carlo'
|
||||
group: 'information'
|
@@ -1,63 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
|
||||
#-------------------------------------------
|
||||
# homeassistant:
|
||||
# customize_glob:
|
||||
# "*.*_sleep_hours":
|
||||
# unit_of_measurement: hours
|
||||
# icon: mdi:sleep
|
||||
#
|
||||
#
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
platform: minecraft
|
||||
name: Bear Stone
|
||||
server: !secret minecraft
|
||||
#-------------------------------------------
|
||||
group:
|
||||
Minecraft:
|
||||
entities:
|
||||
- sensor.bear_stone
|
||||
|
||||
##############################################################################
|
||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
#automation:
|
||||
#Tweets pushed out to X.
|
||||
automation:
|
||||
- alias: Someone on the MC server!
|
||||
id: e7cc50d1-2374-4923-8e0c-2a59ff593cf8
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.bear_stone
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.justin_go
|
||||
data:
|
||||
color_name: >
|
||||
{% if states.sensor.bear_stone.state|int == 1 %}
|
||||
gold
|
||||
{% elif states.sensor.bear_stone.state|int == 2 %}
|
||||
green
|
||||
{% elif states.sensor.bear_stone.state|int == 3 %}
|
||||
blue
|
||||
{% else %}
|
||||
red
|
||||
{% endif %}
|
||||
|
||||
- service: >
|
||||
{% if states.sensor.bear_stone.state|int > 0 %}
|
||||
light.turn_on
|
||||
{% else %}
|
||||
light.turn_off
|
||||
{% endif %}
|
||||
entity_id: light.justin_go
|
||||
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.justin_go
|
||||
data:
|
||||
flash: short
|
@@ -1,67 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](https://amzn.to/2kqnnqu) with Home Assistant.
|
||||
#-------------------------------------------
|
||||
|
||||
##############################################################################
|
||||
### Configuration - Authentication via the DEVELOPER Portal
|
||||
##############################################################################
|
||||
|
||||
# neato:
|
||||
# client_id: !secret neato_client_id
|
||||
# client_secret: !secret neato_client_secret
|
||||
|
||||
|
||||
automation:
|
||||
|
||||
##############################################################################
|
||||
### Automations - Help Neato!
|
||||
### https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html
|
||||
##############################################################################
|
||||
|
||||
- alias: 'Help Neato'
|
||||
id: 6548de52-a4a4-4df2-9d66-9c2c15577a7e
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: vacuum.neato_vac
|
||||
to: 'error'
|
||||
- platform: event
|
||||
event_type: event_did_someone_help_neato_loop
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: vacuum.neato_vac
|
||||
state: 'error'
|
||||
|
||||
action:
|
||||
- wait_template: "{{ states.group.family.state == 'home' }}"
|
||||
- wait_template: "{{ is_state('group.bed', 'off') }}"
|
||||
- delay: 00:05:00
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: >
|
||||
{% set error = states.vacuum.neato_vac.attributes['status'] %}
|
||||
{{ [
|
||||
"Neato is asking for help. The error reported is " ~ error + " . Please find him and help him.",
|
||||
"Please be nice and help Neato. He is complaining about " ~ error + ".",
|
||||
"If you don't want to vacuum, you need to help Neato. He is complaining about " ~ error +" and needs help.",
|
||||
"Something is wrong with Neato. Please find him and help him. I have detected a " ~ error + " error."
|
||||
] | random }}
|
||||
|
||||
- service: vacuum.locate
|
||||
entity_id: vacuum.neato_vac
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Help Neato'
|
||||
value1: "{{ states.vacuum.neato_vac.attributes['status'] }}"
|
||||
who: 'family'
|
||||
ios_category: 'camera'
|
||||
camera_entity: 'camera.neato_vac_cleaning_map'
|
||||
content_type: 'jpeg'
|
||||
group: 'information'
|
||||
|
||||
- delay: 00:20:00
|
||||
- event: event_did_someone_help_neato_loop
|
@@ -1,96 +0,0 @@
|
||||
######################################################################################################
|
||||
# Nest Protect Package
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# - Write up- https://www.vcloudinfo.com/2017/06/psa-check-out-your-smoke-detectors-once.html
|
||||
######################################################################################################
|
||||
#-----------------------------------
|
||||
#
|
||||
group:
|
||||
protects:
|
||||
name: Nest Protects
|
||||
entities:
|
||||
- binary_sensor.upstairs_living_room_nest_protect_online
|
||||
- binary_sensor.hallway_nest_protect_kids_hallway_online
|
||||
- binary_sensor.justins_room_nest_protect_online
|
||||
- binary_sensor.kitchen_nest_protect_online
|
||||
- binary_sensor.master_bedroom_nest_protect_online
|
||||
- binary_sensor.master_hallway_nest_protect_online
|
||||
- binary_sensor.paiges_room_nest_protect_paiges_room_online
|
||||
- binary_sensor.upstairs_bedroom_nest_protect_online
|
||||
- binary_sensor.office_nest_protect_online
|
||||
|
||||
automation:
|
||||
- alias: Nest protect emergency
|
||||
id: 95856443-6da8-4bef-80b2-f11c725b4dad
|
||||
mode: parallel
|
||||
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id:
|
||||
- sensor.hallway_nest_protect_kids_hallway_smoke_status
|
||||
- sensor.hallway_nest_protect_kids_hallway_co_status
|
||||
- sensor.justins_room_nest_protect_smoke_status
|
||||
- sensor.justins_room_nest_protect_co_status
|
||||
- sensor.kitchen_nest_protect_smoke_status
|
||||
- sensor.kitchen_nest_protect_co_status
|
||||
- sensor.master_bedroom_nest_protect_smoke_status
|
||||
- sensor.master_bedroom_nest_protect_co_status
|
||||
- sensor.master_hallway_nest_protect_smoke_status
|
||||
- sensor.master_hallway_nest_protect_co_status
|
||||
- sensor.office_nest_protect_smoke_status
|
||||
- sensor.office_nest_protect_co_status
|
||||
- sensor.paiges_room_nest_protect_paiges_room_smoke_status
|
||||
- sensor.paiges_room_nest_protect_paiges_room_co_status
|
||||
- sensor.upstairs_bedroom_nest_protect_smoke_status
|
||||
- sensor.upstairs_bedroom_nest_protect_co_status
|
||||
- sensor.upstairs_living_room_nest_protect_smoke_status
|
||||
- sensor.upstairs_living_room_nest_protect_co_status
|
||||
to: 'Emergency'
|
||||
|
||||
action:
|
||||
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} Please investigate IMMEDIATELY."
|
||||
who: "family"
|
||||
group: '{{ trigger.to_state.attributes.friendly_name }}'
|
||||
|
||||
- service: script.emergency
|
||||
data:
|
||||
call_garage_open: 1
|
||||
|
||||
|
||||
- alias: Nest Protect Offline Notify
|
||||
id: 43983144-a54f-4966-ae03-755e62cd35ec
|
||||
mode: parallel
|
||||
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id:
|
||||
- binary_sensor.upstairs_living_room_nest_protect_online
|
||||
- binary_sensor.hallway_nest_protect_kids_hallway_online
|
||||
- binary_sensor.justins_room_nest_protect_online
|
||||
- binary_sensor.kitchen_nest_protect_online
|
||||
- binary_sensor.master_bedroom_nest_protect_online
|
||||
- binary_sensor.master_hallway_nest_protect_online
|
||||
- binary_sensor.paiges_room_nest_protect_paiges_room_online
|
||||
- binary_sensor.upstairs_bedroom_nest_protect_online
|
||||
- binary_sensor.office_nest_protect_online
|
||||
from: 'on'
|
||||
|
||||
action:
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
||||
who: "family"
|
||||
group: '{{ trigger.to_state.attributes.friendly_name }}'
|
||||
|
@@ -1,157 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Network Related Packages
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
network:
|
||||
friendly_name: 'Network Monitor'
|
||||
entity_id: []
|
||||
value_template: >
|
||||
{%- set domains = ['device_tracker'] -%}
|
||||
{%- for domain in domains -%}
|
||||
{%- for item in states[domain]
|
||||
if (item.attributes.source_type is defined and item.state != 'home' and item.attributes.friendly_name not in
|
||||
[
|
||||
'Chromecast Audio 2',
|
||||
'Carlo',
|
||||
'Entry Alarm Panel',
|
||||
'Dash Button',
|
||||
'Master Bedroom Roku',
|
||||
'Brother Printer',
|
||||
'Stacey',
|
||||
'Wii',
|
||||
'Withings Scale'
|
||||
])
|
||||
and(as_timestamp(now()) - as_timestamp(item.last_changed)) > 600 -%}
|
||||
{{ item.attributes.friendly_name }}
|
||||
{%- if not loop.last -%}
|
||||
{{'
|
||||
'}}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
network_detail:
|
||||
friendly_name: 'Network Monitor Detail'
|
||||
entity_id: []
|
||||
value_template: >
|
||||
{%- set domains = ['device_tracker'] -%}
|
||||
{%- for domain in domains -%}
|
||||
{%- for item in states[domain]
|
||||
if (item.attributes.source_type is defined and item.state != 'home' and item.attributes.friendly_name not in
|
||||
[
|
||||
'Carlo_Bolt_EV',
|
||||
'Chromecast Audio 2',
|
||||
'Carlo',
|
||||
'Entry Alarm Panel',
|
||||
'Dash Button',
|
||||
'Ipmdemounit',
|
||||
'Living Room Roku',
|
||||
'Master Bedroom Roku',
|
||||
'Brother Printer',
|
||||
'Stacey',
|
||||
'Wii',
|
||||
'Withings Scale'
|
||||
])
|
||||
and(as_timestamp(now()) - as_timestamp(item.last_changed)) > 600 -%}
|
||||
{{ item.attributes.friendly_name }} - {{((as_timestamp(now()) - as_timestamp(item.last_changed))/60) | round() }} minutes
|
||||
{%- if not loop.last -%}
|
||||
{{'
|
||||
'}}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
|
||||
network_detail:
|
||||
entities:
|
||||
- device_tracker.alexa_echo
|
||||
- device_tracker.amazon_dot_2
|
||||
- device_tracker.amazon_fire_stick
|
||||
- device_tracker.amazon_tap
|
||||
- device_tracker.bedroom_alarm_panel
|
||||
- device_tracker.brother_printer
|
||||
- device_tracker.camera1
|
||||
- device_tracker.camera2
|
||||
- device_tracker.camera3
|
||||
- device_tracker.carlo
|
||||
- device_tracker.carlo_bolt
|
||||
- device_tracker.carlo_laptop
|
||||
- device_tracker.carlo_nvr
|
||||
- device_tracker.carlobhmain
|
||||
- device_tracker.carlopihole
|
||||
- device_tracker.chromecast_audio_1
|
||||
- device_tracker.chromecast_audio_2
|
||||
- device_tracker.circle
|
||||
- device_tracker.entry_alarm_panel
|
||||
- device_tracker.garage_ap
|
||||
- device_tracker.gatorade_dash
|
||||
- device_tracker.hue_hub_1
|
||||
- device_tracker.hue_hub_2
|
||||
- device_tracker.ipmdemounit
|
||||
- device_tracker.juicebox
|
||||
- device_tracker.justin_dot
|
||||
- device_tracker.large_garage
|
||||
- device_tracker.living_room_amp_outlet
|
||||
- device_tracker.living_room_roku
|
||||
- device_tracker.living_room_ultra
|
||||
- device_tracker.master_bedroom_roku
|
||||
- device_tracker.nest_downstairs
|
||||
- device_tracker.nest_upstairs
|
||||
- device_tracker.nodemcu1
|
||||
- device_tracker.nodemcu2
|
||||
- device_tracker.nodemcu3
|
||||
- device_tracker.nodemcu4
|
||||
- device_tracker.noon_switch
|
||||
- device_tracker.rachio
|
||||
- device_tracker.rgb_led_garage_large
|
||||
- device_tracker.rgb_led_garage_small
|
||||
- device_tracker.rgb_led_outdoor_den
|
||||
- device_tracker.rm_pro
|
||||
- device_tracker.samsungtv
|
||||
- device_tracker.sleep_number_bed
|
||||
- device_tracker.small_garage
|
||||
- device_tracker.smart_water_meter
|
||||
- device_tracker.stacey
|
||||
- device_tracker.study_ap
|
||||
- device_tracker.tablotv
|
||||
- device_tracker.tesla_powerwall
|
||||
- device_tracker.unifi_ap_office
|
||||
- device_tracker.wii
|
||||
- device_tracker.withings_scale
|
||||
#-------------------------------------------------------------------------------------
|
||||
automation:
|
||||
- alias: 'Device Status'
|
||||
id: dab5cc2c-d17b-42c2-938b-153003a8c461
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.network
|
||||
- binary_sensor.carlowink
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% if not is_state('sensor.network_detail', ' ') %}
|
||||
false
|
||||
{% else %}
|
||||
true
|
||||
{% endif %}
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: 'Offline Devices:'
|
||||
value3: "{{ states.sensor.network_detail.state }}"
|
||||
who: 'carlo'
|
||||
|
||||
# - service: script.speech_engine
|
||||
# data:
|
||||
# value1: "The following Devices are in an Offline state {{ trigger.to_state.state }}"
|
18
config/packages/nfc_tags.yaml
Executable file
18
config/packages/nfc_tags.yaml
Executable file
@@ -0,0 +1,18 @@
|
||||
#-------------------------------------------
|
||||
# Messing around with NFC stickers - https://amzn.to/3L7efQv
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#
|
||||
#-------------------------------------------
|
||||
|
||||
automation:
|
||||
- alias: 'Toggle Office Lamp with NFC tag'
|
||||
id: 30c6d2bb-fe8b-4101-9241-03416726cdf4
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: tag
|
||||
tag_id: 1411ea22-5b6f-4a73-9ba1-e8b9bd73f08b
|
||||
|
||||
action:
|
||||
- service: switch.toggle
|
||||
entity_id: switch.office_lamp_switch
|
@@ -10,27 +10,31 @@
|
||||
######################################################################
|
||||
|
||||
automation:
|
||||
###################################
|
||||
## From IFTTT - Notifications
|
||||
###################################
|
||||
- alias: 'Phyn ShutOff Notification'
|
||||
id: 78bbd270-ee1e-4b3d-80fd-44ce7c66dab5
|
||||
mode: single
|
||||
|
||||
trigger:
|
||||
- platform: event
|
||||
#Sent from IFTTT Webhooks : {"action":"IFTTT_Phyn", "alert_type":" {{AlertType}}", "where":"{{SuggestedFixtures}}"}
|
||||
event_type: ifttt_webhook_received
|
||||
event_data:
|
||||
action: IFTTT_Phyn
|
||||
- platform: state
|
||||
entity_id: switch.phyn_shutoff_valve
|
||||
to: 'off'
|
||||
|
||||
condition:
|
||||
- condition: time
|
||||
before: '03:00'
|
||||
after: '05:00'
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
- service: script.notify_engine_two_button
|
||||
data:
|
||||
title: 'Phyn Leak Detection'
|
||||
value1: 'Phyn is sensing {{ trigger.event.data.alert_type }} and turned off the water. Please verify {{ trigger.event.data.where }}.'
|
||||
value1: 'Phyn is sensing a leak and turned off the water. Please verify.'
|
||||
who: 'parents'
|
||||
group: 'Phyn'
|
||||
action1: 'PHYN_WATER_ON'
|
||||
action2: 'SNOOZE_PHYN_NOTIFICATION'
|
||||
icon1: 'sfsymbols:arrow.up.circle'
|
||||
icon2: 'sfsymbols:clock'
|
||||
level: 'critical'
|
||||
|
||||
- alias: Turn Phyn Water On
|
||||
@@ -41,13 +45,13 @@ automation:
|
||||
event_data:
|
||||
action: PHYN_WATER_ON
|
||||
action:
|
||||
- service: ifttt.trigger
|
||||
data: {"event":"phyn_water_on"}
|
||||
- service: homeassistant.turn_on
|
||||
entity_id: switch.phyn_shutoff_valve
|
||||
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Phyn Leak Detection'
|
||||
value1: 'Request Recieved. Attempting to Turn the Water back on.'
|
||||
value1: 'Request Received. Attempting to Turn the Water back on.'
|
||||
who: 'parents'
|
||||
group: 'Phyn'
|
||||
level: 'time-sensitive'
|
||||
@@ -55,7 +59,26 @@ automation:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"I have been asked to Turn the House Water back on. Please verify there are no leaks in the house. "
|
||||
] | random }}
|
||||
I have been asked to Turn the House Water back on. Please verify there are no leaks in the house.
|
||||
call_no_announcement: 1
|
||||
|
||||
- alias: Snooze Phyn Notification
|
||||
id: 2f295bb8-8925-4b22-PHYN-9fe079b295a8
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
action: SNOOZE_PHYN_NOTIFICATION
|
||||
action:
|
||||
- delay: '00:30:00'
|
||||
- service: script.notify_engine_two_button
|
||||
data:
|
||||
title: 'Phyn Leak Detection'
|
||||
value1: 'Phyn is sensing a leak and turned off the water. Please verify.'
|
||||
who: 'parents'
|
||||
group: 'Phyn'
|
||||
action1: 'PHYN_WATER_ON'
|
||||
action2: 'SNOOZE_PHYN_NOTIFICATION'
|
||||
icon1: 'sfsymbols:arrow.up.circle'
|
||||
icon2: 'sfsymbols:clock'
|
||||
level: 'critical'
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user