fix:多个ztc1加入hass 实体id重复的问题

add:增加当前启动时间(仅app获取,hass无法获取)
This commit is contained in:
Zip
2019-04-15 15:01:32 +08:00
parent 879516c3f3
commit d8b424f653
7 changed files with 180 additions and 89 deletions

View File

@@ -10,8 +10,10 @@
#define os_log(format, ...) custom_log("TC1", format, ##__VA_ARGS__)
char rtc_init = 0; //sntpУʱ<D0A3>ɹ<EFBFBD><C9B9><EFBFBD>־λ
char rtc_init = 0; //sntpУʱ<D0A3>ɹ<EFBFBD><C9B9><EFBFBD>־λ
uint32_t total_time=0;
char strMac[16] = { 0 };
uint32_t power=0;