This log is after boot proceder. Repower and then startup serial port takes some time.
do td cur_t:284--last:idx:14,t:292 -- new:idx:13,t:280
--0xc:08, shift_b:-1, shift_g:-1, X:0
[~00:11 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
[~00:11 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
no ht in scan
scan_start_req_handler
do td cur_t:289--last:idx:13,t:280 -- new:idx:14,t:292
--0xc:08, shift_b:0, shift_g:0, X:2
[~00:16 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~00:16 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
[~00:16 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
[~00:16 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
do td cur_t:284--last:idx:14,t:292 -- new:idx:13,t:280
--0xc:08, shift_b:-1, shift_g:-1, X:0
no ht in scan
scan_start_req_handler
do td cur_t:288--last:idx:13,t:280 -- new:idx:14,t:292
--0xc:08, shift_b:0, shift_g:0, X:2
[~00:21 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~00:21 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~00:21 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
do td cur_t:284--last:idx:14,t:292 -- new:idx:13,t:280
--0xc:08, shift_b:-1, shift_g:-1, X:0
[~00:26 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
[~00:26 TUYA Notice][uni_work_queue.c:146] work_queue add task:423ca0
[~00:26 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~00:31 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~00:31 TUYA Notice][uni_work_queue.c:146] work_queue add task:423d80
[~01:54 TUYA Err][uni_network.c:229] fail to gethostbyname 0
[~01:54 TUYA Err][httpc.c:448] No entry for host a3.tuyaeu.com found. -2000
[~01:54 TUYA Err][httpc.c:523] Socket creation for a3.tuyaeu.com:443 failed
[~01:54 TUYA Err][http_inf.c:47] Open session failed: https://a3.tuyaeu.com/d.json?a=tuya.device.timer.astronomical.list&devId=bf8b7b4786bf21912d3gvv&et=1&t=114&v=1.0&sign=6aa264ac0cc8550bbec07864f521cbda (-15) [<- is this not a security issue? F]
[~01:54 TUYA Err][iot_httpc.c:1035] Post Data Return Fail.-15
[~01:54 TUYA Err][astro_timer.c:326] httpc_astro_timer_list error:-15
[~01:54 TUYA Err][astro_timer.c:402] astro timer update failed -15, next update time 43200s
[~01:56 TUYA Notice][uni_work_queue.c:146] work_queue add task:423c90
[~01:56 TUYA Notice][uni_work_queue.c:146] work_queue add task:423c90
[~01:56 TUYA Notice][uni_work_queue.c:146] work_queue add task:423cd0
[~02:01 TUYA Notice][gw_intf.c:6391] gw is long time(60) disconnected to router/failed to connect mqtt,now go to reconnect!!
[~02:01 TUYA Notice][gw_intf.c:6392] netstat:5
[~02:01 TUYA Notice][gw_intf.c:6408] tuya_hal_wifi_station_disconnect
oper_state: state 0, operstate 0
fast_connect
no ht in scan
scan_start_req_handler
...