From 5dbf73b385bd622f354411e3d94700dbb98a0a90 Mon Sep 17 00:00:00 2001 From: Yonsm Date: Sat, 17 Feb 2024 18:16:50 +0800 Subject: [PATCH] change dns --- automations/sleeping.yaml | 8 ++++---- configuration.yaml | 12 +++++++----- customize.yaml | 11 +++++++++-- modules/ZhiBot | 2 +- modules/ZhiMi | 2 +- modules/ZhiMiJia | 2 +- modules/ZhiSaswell | 2 +- 7 files changed, 24 insertions(+), 15 deletions(-) diff --git a/automations/sleeping.yaml b/automations/sleeping.yaml index bd25b69..39093fa 100755 --- a/automations/sleeping.yaml +++ b/automations/sleeping.yaml @@ -50,8 +50,8 @@ - platform: time at: '23:00:00' action: - - service: media_player.turn_off - entity_id: media_player.tian_mao_jing_ling + # - service: media_player.turn_off + # entity_id: media_player.tian_mao_jing_ling - service: climate.set_fan_mode data: entity_id: climate.zhu_wo_kong_diao @@ -74,8 +74,8 @@ - platform: time at: '06:00:00' action: - - service: media_player.turn_on - entity_id: media_player.tian_mao_jing_ling + # - service: media_player.turn_on + # entity_id: media_player.tian_mao_jing_ling - service: fan.oscillate data: entity_id: fan.ke_ting_xin_feng_ji diff --git a/configuration.yaml b/configuration.yaml index 15af5c3..1ba16af 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -134,9 +134,11 @@ climate: - platform: zhisaswell name: 客厅地暖 host: 192.168.1.56 + device: 10382435CC059E60 - platform: zhisaswell name: 主卧地暖 host: 192.168.1.57 + device: 10382435CC059F72 - platform: zhimodbus name: [餐厅空调, 客厅空调, 主卧空调, 儿童房空调] fan_mode: { registers: [6, 10, 14, 18] } @@ -297,9 +299,9 @@ panel_iframe: icon: mdi:microsoft url: /local/dash.html -# shell_command: +shell_command: #server_off: 'ssh root@192.168.1.2 shutdown -h now' - # magic_on: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'" - # magic_off: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; input keyevent 26'" - # x9300d_off: 'adb connect 192.168.1.9 && adb -s 192.168.1.9 shell reboot -p' - # x9400d_off: 'adb connect 192.168.1.8 && adb -s 192.168.1.8 shell reboot -p' + magic_on: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'" + magic_off: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; input keyevent 26'" + x9300d_off: 'adb connect 192.168.1.9 && adb -s 192.168.1.9 shell reboot -p' + x9400d_off: 'adb connect 192.168.1.8 && adb -s 192.168.1.8 shell reboot -p' diff --git a/customize.yaml b/customize.yaml index c458146..92ba2ae 100755 --- a/customize.yaml +++ b/customize.yaml @@ -72,6 +72,9 @@ sensor.ci_wo_kong_qi_zhi_liang: sensor.ci_wo_wen_du: dash_click: /zhilace-zone/ci_wo dash_extra_forced: 次卧 +sensor.er_tong_fang_er_yang_hua_tan: + dash_extra_forced: 数字电视 + dash_click: /local/iptv.html sensor.er_tong_fang_kong_qi_zhi_liang: dash_click: https://www.lewei50.com/u/g/33981 dash_relation: fan.er_tong_fang_jing_hua_qi @@ -92,6 +95,9 @@ sensor.ke_ting_kong_qi_zhi_liang: sensor.ke_ting_wen_du: dash_click: /zhilace-zone/ke_ting dash_extra_forced: 客厅 +sensor.shu_fang_er_yang_hua_tan: + dash_extra_forced: 聚合网盘 + dash_click: !secret wangpan_url sensor.shu_fang_wen_du: dash_click: /zhilace-zone/shu_fang dash_extra_forced: 书房 @@ -106,8 +112,9 @@ sensor.yang_tai_wen_du: dash_click: http://m.nmc.cn/publish/forecast/AZJ/hangzhou.html dash_extra_forced: 中央气象台 dash_order: '1' -sensor.zhu_wo_kong_er_yang_hua_tan: - dash_click: /local/iptv.html +sensor.zhu_wo_er_yang_hua_tan: + dash_extra_forced: 小主机 + dash_click: !secret server_url sensor.zhu_wo_kong_qi_zhi_liang: dash_click: /local/aha.html dash_extra_forced: 啊哈网校 diff --git a/modules/ZhiBot b/modules/ZhiBot index e4ff106..ea33a34 160000 --- a/modules/ZhiBot +++ b/modules/ZhiBot @@ -1 +1 @@ -Subproject commit e4ff1062529cb931c6172859d7137a25dc61e8ed +Subproject commit ea33a349aed9f462cb1cb7f581acc5a3051f62b5 diff --git a/modules/ZhiMi b/modules/ZhiMi index 212c631..77401e7 160000 --- a/modules/ZhiMi +++ b/modules/ZhiMi @@ -1 +1 @@ -Subproject commit 212c6311796138a54bc8de7138a3bc79a150099a +Subproject commit 77401e785e3df7e57d66c8d06ecac3633d3f9fe7 diff --git a/modules/ZhiMiJia b/modules/ZhiMiJia index 5489887..977368e 160000 --- a/modules/ZhiMiJia +++ b/modules/ZhiMiJia @@ -1 +1 @@ -Subproject commit 54898872fa07041f9ccb7ca8e9a72e5eba3c65e5 +Subproject commit 977368e00fceebd5f32e5c8b006f6f81bfd85fb4 diff --git a/modules/ZhiSaswell b/modules/ZhiSaswell index 2d890dd..3db26ee 160000 --- a/modules/ZhiSaswell +++ b/modules/ZhiSaswell @@ -1 +1 @@ -Subproject commit 2d890dd6381beaabfe413dd1ef44f8eb6fb264f4 +Subproject commit 3db26ee27390df25efdd098307b1b68b45010f7a