在Web后台增加电源指示灯的开关,修改耗电量统计的定时器逻辑

This commit is contained in:
nhkefus
2025-03-11 10:48:14 +08:00
parent 52580ea751
commit 7af99b3109
7 changed files with 1175 additions and 1076 deletions

View File

@@ -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();