Bas Nijholt的home assistant config文件
使用我的iOS轻型和暗模式主题。
另请参阅我的女友指南。
内容表
- 我的设备
- 主管附加组件
- 我所有的自动化
值得注意的(有用)自动化
查看我所有的自动化及其依赖关系!
- 使用appdaemon卷坡道和日出应用的闹钟⏰
- 自动
lovelace.jsontolovelace-ui.yaml转换器用于版本控制? - 使用小米aqara魔法立方体控制音乐和灯光(色相和亮度)∛
- 使用Phillips色调调光器控制灯光小米AQARA智能开关?
- 自动灯
- 基于各种二进制模板传感器在不同房间中的存在检测
- 机器人真空自动化?
- 到达并离开自动化
- 洗碗机或洗衣机完成的通知
- 工作时间?跟踪和通知回家
- 使用ha-menu控制我的扬声器在我的iMac上
- 使用家庭辅助手册 – 触摸式 – 在我的MacBook Pro的Touch Bar上控制HA
- 自动切换Lovelace的主题在背景和光/黑模式之间
- 同步卷电视⇄扬声器?
- 当前门开放时间太长或没有人回家时检测到运动的安全通知
我很酷的AppDaemon应用
- 日出模拟器应用?
- 使用Spotify应用唤醒,该应用程序慢慢升起音量?
- 低电池水平通知?
此配置中流行的Reddit功能帖子
(从新到旧的)
- 使用单个自动化的Apple Watch的高级控制:设置灯光,真空,温度,睡眠模式等等!
- HA在Apple完成之前就拥有它,我介绍:Adaptive_lighting! Flux/Circadian_lighting风扇(仇恨?),请尝试新的UI配置组件,该组件在您进行手动更改时停止自动调整灯光(以及更多新的有用功能!)
- 使用新的“变量”和“ wait_for_trigger”功能创建有用的通知
- 从GitHub复制YAML比以往任何时候都容易:我的配置的读数现在自动列出了所有自动化(以及它使用的实体),并链接到yaml中的相关部分
- 美丽的iOS深色和轻度模式启发了带有简单背景开关的主题(现在也更改了顶级颜色!)[oc]
- 最后,我的MacBook Pro上的触摸栏很好!
- 100%控制我的高FI扬声器:双向同步均衡器
- covid-19强迫我留在里面?查看我的“隔离仪”,显示我们已经去过多少时间(以%)。
- 经过很多爱之后,我的iOS Dark主题[OC]备受争议的功能(+更多!)
- 现在,我可以使用iMac的菜单栏同步扬声器卷! [OC]
- 我一直在Reddit上看到自己的主题,所以现在轮到我了! [OC]
想法?
- 窗户打开时通知我们,下雨了。
- 使用BUNQ API添加预算管理员
我的设备
| 开关? | 单位(#) | 每单位价格(€) | 价格(€) |
|---|---|---|---|
| TP-Link HS110 | 1 | 35.84 | 35.84 |
| 小米aqara魔法立方体 | 1 | 11.08 | 11.08 |
| 小米aqara单按钮 | 4 | 14.35 | 57.38 |
| 飞利浦色调调光开关 | 2 | 16.61 | 33.22 |
| 全部的 | 137.52 | ||
| 传感器? | 单位(#) | 每单位价格(€) | 价格(€) |
| 小米aqara门传感器 | 4 | 8.18 | 32.71 |
| 小米aqara温度传感器 | 5 | 9.15 | 45.74 |
| 小米aqara运动传感器 | 10 | 9.79 | 97.85 |
| 小米aqara振动传感器 | 1 | 11.59 | 11.59 |
| 小米米洛拉 | 3 | 15.54 | 46.63 |
| 全部的 | 234.52 | ||
| 真空? | 单位(#) | 每单位价格(€) | 价格(€) |
| 小米Mi Roborock S5 | 1 | 294.31 | 294.31 |
| 全部的 | 294.31 | ||
| 媒体播放器? | 单位(#) | 每单位价格(€) | 价格(€) |
| KEF LS50无线扬声器 | 1 | 南 | 南 |
| KEF LSX扬声器 | 1 | 南 | 南 |
| LG OLED 55 C9 | 1 | 南 | 南 |
| 灯 | 单位(#) | 每单位价格(€) | 价格(€) |
| 飞利浦色调E27白色和颜色 | 12 | 22.22 | 266.7 |
| 飞利浦色调E14白色和颜色 | 2 | 34.88 | 69.77 |
| 飞利浦色调GU10环境白色 | 5 | 18.54 | 92.7 |
| 飞利浦色调去 | 1 | 57.05 | 57.05 |
| 飞利浦色调LED带2M | 2 | 43.2 | 86.39 |
| 飞利浦色调LED带1M | 1 | 13.84 | 13.84 |
| 全部的 | 586.45 | ||
| 集线器? | 单位(#) | 每单位价格(€) | 价格(€) |
| Conbee II | 1 | 39.95 | 39.95 |
| 全部的 | 39.95 | ||
| 服务器? | 单位(#) | 每单位价格(€) | 价格(€) |
| Intel nuc Kit nuc8i3beh | 1 | 278.3 | 278.3 |
| 8 GB至关重要的CT8G4SFS824A DDR4 | 2 | 25.52 | 51.04 |
| 三星970 EVO M.2 500GB | 1 | 94.99 | 94.99 |
| Raspberry Pi 4,4GB RAM(连接到功率/燃气表,并通过MQTT连接到主HA实例) | 1 | 70.9 | 70.9 |
| Raspberry Pi 4 Flirc盒 | 1 | 25.85 | 25.85 |
| Sandisk Ultra MicroSDHC存储卡32GB | 1 | 6.99 | 6.99 |
| 全部的 | 528.07 | ||
| 设备跟踪器? | 单位(#) | 每单位价格(€) | 价格(€) |
| iPhone X带iOS应用程序 | 1 | 南 | 南 |
| 带有iOS应用的iPhone SE2 | 1 | 南 | 南 |
| 其他 | 单位(#) | 每单位价格(€) | 价格(€) |
| PlayStation Eye网络摄像头和麦克风阵列 | 1 | 14.95 | 14.95 |
| DSMR -Slimme仪表Kabel | 1 | 19.95 | 19.95 |
| Nodo-Shop – 带Nodemcu的Opentherm Gateway(OTGW) | 1 | 48.81 | 48.81 |
| 全部的 | 83.71 | ||
| 全部的 | €1904.53 |
主管附加组件
我运行一个有监督的安装,并具有以下附加组件:
- 家庭助理流甲板版本2024.7.5 by @basnijholt
- 护卫舰版本0.14.1 by @blakeblackshear
- 高级SSH和Web终端版本19.0.0 by @hassio-addons
- AppDaemon版本0.16.7 by @hassio-addons
- @Hassio-Addons的Glances版本0.21.1
- Grafana版本10.1.2 by @hassio-addons
- influxdb版本5.0.1 by @hassio-addons
- 日志查看器版本0.17.1 by @hassio-addons
- Studio Code Server版本5.17.2 by @hassio-addons
- phpmyadmin版本0.10.0 by @hassio-addons
- 鸭DNS版本1.18.0 by @home-sassistant
- 文件编辑器版本5.8.0 by @home-sassistant
- 让我们加密版本5.2.2 by @home-sassistant
- Mariadb版本2.7.1 by @Home-sathersant
- 蚊子经纪人版本6.4.1 by @Home-satherstant
- 桑巴共享版本12.3.2 by @home-sassistant
- VLC版本0.3.0 by @home-sassistant
- @home-assistant.io的traefik版本4.2.2版
- @sabeechen的家庭助理Google Drive备份版本0.112.1
- Govee到MQTT Bridge版本2024.07.13-82DDC6E9
- ZigBee2MQTT版本1.40.2-1 by @ZigBee2MQTT
自动化 – 内容表
- 自适应照明??(3个自动化)
- 闹钟⏰(1个自动化)
- Apple Watch⌚(13个自动化)
- 到达?(1个自动化)
- 自行车?(2个自动化)
- 气候?(7个自动化)
- 控制开关?(12个自动化)
- 立方∛(2个自动化)
- 门铃??(1个自动化)
- 前端?(3个自动化)
- 离开?(4个自动化)
- 光(34个自动化)
- lovelace ?(1个自动化)
- 邮箱?(1个自动化)
- 媒体播放器?(7个自动化)
- 音乐?(2个自动化)
- 通知?(3个自动化)
- 植物?(3个自动化)
- 安全?(7个自动化)
- 夜间模式??(5个自动化)
- 系统?(7个自动化)
- 测试?(5个自动化)
- 实用程序???(3个自动化)
- 度假模式?(2个自动化)
- 真空?(6个自动化)
- 工作(3个自动化)
配x总自动化总数: 138配x
自适应照明??
打开和关闭开关
使用:
- input_select.sleep_mode
1小时后重置手动_Control
通知Manual_control
^ TOC
闹钟⏰
用Spotify和光线醒来
使用:
- input_boolean.alarm_clock
- input_boolean.wake_up_light
- input_boolean.wake_up_with_spotify
- input_select.sleep_mode
- 传感器。TEN_MINUTES_BEFORE_ALARM
^ TOC
Apple Watch⌚
播放或暂停电视
最小的灯卧室
修复电视声音
使用:
- script.fix_sound
睡觉
使用:
- 脚本
设置睡眠模式
使用:
- input_select.sleep_mode
设定灯
使用:
- script.cozy_lights_bedroom
- script.cozy_lights_living_room
- script.turn_on_lights
- script.white_lights_living_room
温度报告
投资组合价值
发送真空吸尘器
使用:
- script.vacuum_command
电影时间
重置自适应照明
使用:
- script.Reset_adaptive_lighting
设定温度
另一个人在哪里?
^ TOC
到达?
如果没有人在家,将音乐从iPhone转换为扬声器
使用:
- input_boolean.guest_mode
^ TOC
自行车?
开始充电
使用:
- input_dateTime.bike_charger_off
- input_dateTime.bike_charger_on
停止充电
使用:
- input_dateTime.bike_charger_off
^ TOC
气候?
打开加热30分钟前醒来
使用:
- input_boolean.alarm_clock
- input_boolean.automatic_temperature
- script.set_high_temperature
- 传感器.half_hour_before_alarm
回家时打开暖气
使用:
- input_boolean.automatic_temperature
- input_number.temperature_high
- script.set_high_temperature
- binary_sensor.no_one_home
在22:00关闭加热
使用:
- input_boolean.automatic_temperature
- input_number.temperature_low
- script.set_high_temperature
- script.set_low_temperature
- binary_sensor.no_one_home
每小时设置外部温度
在加热时警告和客厅门打开
使用:
- input_number.temperature_low
将温度设定值设定为50°C
当没有人在客房里时,会自动关闭空心家
使用:
- binary_sensor.activity_in_guest_room
^ TOC
控制开关?
起居室飞利浦色调调光开关
使用:
- input_select.last_script_living_room
- script.increase_brightness
- script.next_colors
- script.Reset_adaptive_lighting
- script.white_lights_living_room
卧室飞利浦色调调光开关
使用:
- input_select.last_script_bedroom
- script.increase_brightness
- script.next_colors
- script.Reset_adaptive_lighting
- script.white_lights_bedroom
卧室宜家调光开关
使用:
- input_boolean.guest_mode
- input_select.last_script_bedroom
- input_select.sleep_mode
- script.increase_brightness
- script.next_colors
- script.turn_off_everything
- script.white_lights_bedroom
客厅AQARA无线迷你开关
使用:
- input_select.last_script_living_room
- script.fix_sound
- script.increase_brightness
- script.next_colors
卧室AQARA无线迷你开关
使用:
- input_select.last_script_bedroom
- input_select.sleep_mode
- script.increase_brightness
- script.next_colors
- script.turn_off_everything
- 传感器。TEN_MINUTES_BEFORE_ALARM
浴室AQARA无线迷你开关
门AQARA无线迷你开关
使用:
- 脚本
- script.set_low_temperature
- script.start_spotify
- script.turn_off_everything_non_automatic
- Sensor.favorite_playlist_of_nearest_person
客房宜家开关
客房灯
客房太空加热器
婴儿室灯
房间更换桌灯
使用:
- input_select.last_script_living_room
- script.increase_brightness
- script.next_colors
^ TOC
立方体∛
执行操作
使用:
- input_select.cube_mode
- script.start_spotify_playlist_of_nearest_person
旋转立方体
使用:
- input_select.cube_mode
^ TOC
门铃??
单击按钮
^ TOC
前端?
打开黑暗模式
使用:
- input_boolean.dark_mode
打开光模式
使用:
- input_boolean.dark_mode
更改主题
使用:
- input_boolean.dark_mode
- input_boolean.theme_alternative
- input_select.theme
^ TOC
离开
自动关闭所有内容
使用:
- input_boolean.guest_mode
- 脚本
- binary_sensor.anything_on
- binary_sensor.no_one_home
- binary_sensor.someone_in_the_house_in_last_hour
要求关闭一切
使用:
- input_boolean.guest_mode
- binary_sensor.anything_on
- binary_sensor.no_one_home
通知后关闭所有内容
使用:
- 脚本
楼下AQARA无线迷你开关
使用:
- script.turn_off_everything
^ TOC
光
打开客厅
使用:
- input_boolean.guest_mode
- binary_sensor.activity_in_living_room
关闭客厅
使用:
- input_boolean.guest_mode
- input_select.sleep_mode
- binary_sensor.activity_in_living_room
打开Chrismas树
使用:
- input_select.sleep_mode
- binary_sensor.someone_in_the_house_in_last_hour
关闭Chrismas树
使用:
- input_select.sleep_mode
- binary_sensor.someone_in_the_house_in_last_hour
切换晚餐区灯
使用:
- input_boolean.automatic_dinner_area_light
- input_boolean.guest_mode
- input_select.sleep_mode
- binary_sensor.activity_in_dinner_area
18:00之后关闭灯时关闭自动晚餐区域灯
使用:
- input_boolean.automatic_dinner_area_light
重置自动晚餐区灯在06:00
使用:
- input_boolean.automatic_dinner_area_light
如果睡眠模式关闭,请打开厨房柜台
使用:
- input_select.sleep_mode
- binary_sensor.activity_in_kitchen
关闭厨房柜台
使用:
- binary_sensor.activity_in_kitchen
重启厨房天花板雪莉
使用:
- shell_command.reboot_kitchen_ceiling
打开浴室
使用:
- input_select.sleep_mode
- binary_sensor.activity_in_bathroom
关闭浴室
使用:
- binary_sensor.activity_in_bathroom
打开大厅
使用:
- input_select.sleep_mode
- script.turn_on_lights
- binary_sensor.activity_in_hall
关闭大厅
使用:
- binary_sensor.activity_in_hall
自动打开卧室
使用:
- input_boolean.automatic_bedroom_lights
- input_boolean.bedroom_lights_automenationaly_turned_on
- input_select.sleep_mode
- script.turn_on_lights
- binary_sensor.activity_in_master_bedroom
自动关闭卧室
使用:
- input_boolean.automatic_bedroom_lights
- input_boolean.bedroom_lights_automenationaly_turned_on
- binary_sensor.activity_in_master_bedroom
关闭卧室灯自动开关
使用:
- input_boolean.bedroom_lights_automenationaly_turned_on
打开automatic_bedroom_lights开关
使用:
- input_boolean.automatic_bedroom_lights
不活动2小时后关闭卧室
使用:
- binary_sensor.activity_in_master_bedroom
重启卧室天花板雪莉
使用:
- shell_command.reboot_bedroom_ceiling
更新input_select何时关闭卧室灯
设置input_select.last_script_bedroom,以便选择彩色灯
使用:
- input_select.last_script_bedroom
- script.white_lights_bedroom
打开公用事业室 /外面的车库
使用:
- binary_sensor.activity_in_utility_room
- binary_sensor.activity_outside_front_door
- binary_sensor.activity_outside_garage
关闭公用事业室 /外面的车库
使用:
- binary_sensor.activity_in_utility_room
- binary_sensor.activity_outside_front_door
- binary_sensor.activity_outside_garage
- binary_sensor.activity_outside_house
打开外面灯
关闭外部前灯
切换客房
使用:
- input_boolean.guest_mode
- binary_sensor.activity_in_guest_room
切换婴儿室
使用:
- binary_sensor.activity_in_baby_room
关闭客厅(额外检查)
如果其他自动化失败
使用:
- binary_sensor.activity_in_living_room
关闭客房(额外支票)
如果其他自动化失败
使用:
- binary_sensor.activity_in_guest_room
关闭婴儿室(额外支票)
如果其他自动化失败
使用:
- binary_sensor.activity_in_baby_room
关闭卧室(额外支票)
如果其他自动化失败
使用:
- input_boolean.automatic_bedroom_lights
- input_boolean.bedroom_lights_automenationaly_turned_on
- binary_sensor.activity_in_master_bedroom
关闭公用事业室 /车库(额外支票)
如果其他自动化失败
使用:
- binary_sensor.activity_in_utility_room
- binary_sensor.activity_outside_front_door
- binary_sensor.activity_outside_garage
更新ZigBee2MQTT灯input_select选项
使用:
- input_select.z2m_lights
更新ZigBee2MQTT灯状态状态
刷新所有Zigbee2MQTT灯的状态
使用:
- script.sync_z2m_to_ha__lights
^ TOC
Lovelace ?
将lovelace.json转换为lovelace-ui.yaml
使用:
- shell_command.soes
- shell_command.convert_lovelace
^ TOC
邮箱?
邮箱打开了
在UI中显示input_boolean.mailbox_full 。收到邮件后,需要手动关闭它。”
使用:
- input_boolean.mailbox_full
^ TOC
媒体播放器?
打开电视打开时打开OPT,Spotify不播放而不是USB
扬声器通过光线电缆连接到电视。每当扬声器直接播放Spotify(通过WiFi)时,将扬声器的源源切换为“ Opt”。
关闭电视时关闭扬声器
如果发言人打开电视,请打开电视州变更的演讲者
每5秒钟电视时更新Spotify实体
同步KEF LS50和电视卷
两个小时后,自动关闭电视和Xbox
与Wakeonlan打开客厅电视
^ TOC
音乐?
启动播放列表
使用:
- input_boolean.start_the_music
- script.start_spotify_playlist_of_nearest_person
如果回家,将音乐从iPhone转换为扬声器
使用:
- input_boolean.guest_mode
^ TOC
通知?
马塞拉离开工作
前门打开了
使用:
- input_boolean.front_door_open_warning
每日新单词通知
^ TOC
植物?
Calathea的问题
使用:
- Plant.Calathea
Monstera的问题
使用:
- Plant.Monstera
和平百合的问题
使用:
- Plant.peace_lily
^ TOC
安全?
动作检测到,但我们不在家里
使用:
- binary_sensor.motion_detected
- group.persons
前门已经打开超过5分钟
公用事业室的门已开放超过5分钟
没有人是家,而是高功率使用
使用:
- binary_sensor.no_one_home
浴室门已打开
使用:
- input_boolean.bathroom_door_open_warning
主卧室的活动
使用:
- input_boolean.bedroom_activity_warning
- binary_sensor.activity_in_master_bedroom
门通往外面
使用:
- binary_sensor.door_to_outside_open
^ TOC
夜间模式??
警报关闭或上午7点自动关闭
使用:
- input_boolean.alarm_clock
- input_select.sleep_mode
关闭自动卧室灯
使用:
- input_boolean.automatic_bedroom_lights
- input_select.sleep_mode
睡眠模式打开时设置低温
使用:
- input_select.sleep_mode
- script.set_low_temperature
从一半到总睡眠模式
当它是一半的睡眠模式并且房屋中没有活动超过一个小时的时间到达总睡眠模式。
使用:
- input_select.sleep_mode
- binary_sensor.activity_outside_bedroom
在客厅设置睡眠模式
仅当不再存在时,将客厅的灯光设置为睡眠模式。
使用:
- input_select.sleep_mode
- binary_sensor.activity_in_living_room
^ TOC
系统?
警告高CPU使用情况
警告高CPU温度
警告高Xbox温度
更新DNS
更新Gandi的DNS,将我的域名指向我的家庭助理实例。
使用:
- script.update_dns
奔跑
在Utils文件夹中运行Shell和Python脚本。
使用:
- shell_command.soes
MQTT传感器没有更新
检查我们是否正在通过我的其他HA实例收到MQTT的消息。
电池水平低
^ TOC
测试?
听自适应照明事件
时间
闪光灯
light.turn_on/turn_off致电update_entity
轻型婴儿室环路
^ TOC
公用事业???
洗衣机或洗碗机开始或完成
使用:
- binary_sensor.dishwasher
- binary_sensor.washing_machine
洗衣机通知
使用:
- script.utility_notification
- binary_sensor.washing_machine
洗碗机通知
使用:
- script.utility_notification
- binary_sensor.dishwasher
^ TOC
度假模式?
自动打开
使用:
- input_boolean.guest_mode
- input_boolean.vacation_mode
- group.persons
自动关闭
使用:
- input_boolean.guest_mode
- input_boolean.vacation_mode
- group.persons
^ TOC
真空?
开始清洁
使用:
- input_dateTime.vacuum_on
停止清洁
使用:
- input_boolean.cleaned_today
- input_dateTime.vacuum_off
- Sensor.Robot_vacuum_last_clean_duration
提醒通知
使用:
- binary_sensor.vacuum_day
如果没有人在家,清理
使用:
- input_boolean.cleaned_today
- input_boolean.guest_mode
- input_boolean.vacation_mode
- binary_sensor.vacuum_day
- group.persons
重置今天清洁
使用:
- input_boolean.cleaned_today
重置为标准模式
^ TOC
工作
回家通知
使用:
- input_boolean.work_hour_notification_sent
- binary_sensor.worked_enough_today
重置input_boolean在午夜
使用:
- input_boolean.work_hour_notification_sent
Marcella的Bas左工作通知
^ TOC
