From a903b916f09419e7324a2352232e601acc598d67 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 28 Jan 2021 17:13:32 +0800
Subject: [PATCH] update lightd main.c, add lux sensor support and test ok

---
 lightd/etc/lightd.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lightd/etc/lightd.conf b/lightd/etc/lightd.conf
index 5747e7d..9c8341a 100644
--- a/lightd/etc/lightd.conf
+++ b/lightd/etc/lightd.conf
@@ -16,7 +16,7 @@
 light_intval=15
 
 # 光强传感器采样值低于该阈值将开灯
-lux_threshold=0.02
+lux_threshold=0.10
 
 
 [logger]

--
Gitblit v1.9.1