From 8a0e43e2ba062b35f20ddcd83a7811a9e1a71786 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 31 Jul 2019 17:06:01 +0800 Subject: [PATCH] update mqttd for auto fill-in light and test ok --- mqttd/etc/mqttd.conf | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/mqttd/etc/mqttd.conf b/mqttd/etc/mqttd.conf index 2675fbd..cb3e78c 100644 --- a/mqttd/etc/mqttd.conf +++ b/mqttd/etc/mqttd.conf @@ -42,6 +42,9 @@ # 继电器补光时长, 单位秒. 红外探测到人后电平为此时间大概是35秒左右 light_intval=35 +# 光强传感器采样值低于该阈值将开灯 +lux_threshold=0.01 + [logger] -- Gitblit v1.9.1