后台支持设备重命名

This commit is contained in:
Your Name
2025-03-19 22:22:17 +08:00
parent 11d3d50265
commit caffddfb43
5 changed files with 878 additions and 795 deletions

View File

@@ -66,10 +66,11 @@
'ledEnabled':%d,\
'up_time':%ld,\
'socketNames':'%s',\
'child_lock_enabled':%d\
'child_lock_enabled':%d,\
'deviceName':'%s'\
}"
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d}"
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s'}"
int AppHttpdStart(void);