diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index b8d4127..49f5af0 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -116,20 +116,12 @@ -
-
-
+

插座控制

-
  • @@ -284,11 +276,9 @@
-
-
-
-
-
+ +

按键自定义

@@ -300,8 +290,12 @@
-
+
+
+

功率图

+
+
diff --git a/TC1/main.c b/TC1/main.c index cc3a47a..49d1384 100644 --- a/TC1/main.c +++ b/TC1/main.c @@ -162,7 +162,7 @@ int application_start(void) { sprintf(sys_config->micoSystemConfig.name, ZTC1_NAME, str_mac + 8); } - tc1_log("user:%s", user_config->user);tc1_log("device name:%s", + tc1_log("device name:%s", sys_config->micoSystemConfig.name);tc1_log( "mqtt_ip:%s", user_config->mqtt_ip);tc1_log("mqtt_port:%d", user_config->mqtt_port);tc1_log(