mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 14:38:13 +08:00
在Web后台增加电源指示灯的开关,修改耗电量统计的定时器逻辑
This commit is contained in:
@@ -63,11 +63,13 @@
|
||||
'mask':'%s',\
|
||||
'gateway':'%s',\
|
||||
'reportFreq':'%d',\
|
||||
'ledEnabled':%d,\
|
||||
'up_time':%ld\
|
||||
}"
|
||||
|
||||
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s'}"
|
||||
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d}"
|
||||
|
||||
int AppHttpdStart(void);
|
||||
|
||||
int AppHttpdStop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user