9
196
1673
金牌会员
leung 发表于 2024-7-21 18:34 问题一:智能门锁 问题二:光照传感器或者日落时间
platform: state entity_id: - sensor.zhi_wen_suo_msg to: Unlock outside the door
condition: template value_template: "{{ states('sensor.hp_garden_illuminance') |int < 5 or is_state('sun.sun','below_horizon') }}"
使用道具 举报
25989406 发表于 2024-7-22 10:39 这个我要挑战一下,为什么要看门的状态? 门厅这种位置,不应该有人+弱光就开么,为啥非得靠门 ...
0
26
72
注册会员
14
70
874
高级会员
29
1398
6402
元老级技术达人
tangyali 发表于 2024-7-24 19:17 开门第一时间亮灯,这样进门就基本没有黑暗的感觉,而不是要摸黑走到感应位置,而且有门锁感应,为啥还要另外 ...
8
73
773
45
407
1657
17
235
1932
论坛DIY达人
25989406 发表于 2024-7-25 10:25 也就是你出门前可以接受摸黑走呗?开门能覆盖你所有场景么
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-9 00:47 , Processed in 0.405560 second(s), 21 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.