前一篇帖子跟随各位大佬手工打造了zigbee2mqtt的网关,其实主要目的还是为了让小米的人体移动传感器去除两分钟的限制,通过以下的方法完美解决了两年来一直困扰我的难题;前提你得有一个大佬的zigbee2mqtt网关
参照帖如下:
1、zegbee2mqtt配置
- no_occupancy_since: Timeout (in seconds) after no_occupancy_since is send. This indicates the time since last occupancy was detected. For example no_occupancy_since: [10, 60] will send a {"no_occupancy_since": 10} after 10 seconds and a {"no_occupancy_since": 60} after 60 seconds.
- occupancy_timeout: Timeout (in seconds) after the occupancy: false message is sent. If not set, the timeout is 90 seconds. When set to 0 no occupancy: false is send.
zigbee2mqtt配置
2、硬件改造,原文如下
Usually Xiaomi motion sensor is detected every two minutes. But with a little work, you can change that time to 5 seconds. A year ago I made my Xiaomi motion sensors to Super motion sensors. Even after a year, Xiaomi motion sensors are working very well. This method is applicable to both Xiaomi original motion sensor and Aqara version motion sensor. How to make Xiaomi motion sensor to Super motion sensor.
人体传感器硬件改动
测试下来5秒是个比较合适的动作时间
|