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/conf.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mqttd/etc/conf.h b/mqttd/etc/conf.h
index 574633b..5a5d0c3 100644
--- a/mqttd/etc/conf.h
+++ b/mqttd/etc/conf.h
@@ -66,7 +66,7 @@
     unsigned char  inbreak_beep; /* enable or diable beep when detect inbreak */
     unsigned char  fillin_light; /* fill-in light when detect inbrank or not */
     unsigned char  light_intval; /* fill-in light interval time, unit second  */
-
+    double         lux_threshold; /* Lux sensor detect value smaller than treshold will fill-in light  */
 } hwconf_t;  
 
 

--
Gitblit v1.9.1