>>21387606 Yes, that's a Gosund SP1



Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie taminsmod wrote:
But, some stability issue remains. I noticed that my plug reboots every several days.
p.kaczmarek2 wrote:Can anyone with UART connected check if it still works? I want to merge it.
#calibration_ok:[2:19:11]
[TY BOOT2] Images check crc ok, run to application
#example_sw_pta_init success.
sys_thread_new CreatedTask:0x2140aa0
interface 0 is initialized
interface 1 is initialized
Initializing WIFI ...Into tuya config loade.
[01-01 18:12:15 TUYA D][uf_flash_file_app.c:215] uf shrink...
[01-01 18:12:15 TUYA I][mqc_app.c:350] mqc app init ...
[01-01 18:12:15 TUYA I][uni_thread.c:228] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
[01-01 18:12:15 TUYA I][uni_thread.c:228] thread_create name:cmmod,stackDepth:5120,totalstackDepth:9216,priority:4
[01-01 18:12:15 TUYA D][mqc_app.c:144] mq_pro:5 cnt:1
[01-01 18:12:15 TUYA D][mqc_app.c:144] mq_pro:31 cnt:2
[01-01 18:12:15 TUYA D][svc_online_log.c:295] svc online log init success
[01-01 18:12:15 TUYA E][log_seq.c:864] logseq empty
[01-01 18:12:15 TUYA I][uni_thread.c:228] thread_create name:wk_th-0,stackDepth:5120,totalstackDepth:14336,priority:3
[01-01 18:12:15 TUYA D][tuya_devos_rmt_reboot.c:411] rmt reboot init 0
[01-01 18:12:15 TUYA E][ws_db_gw.c:80] wd_protected_read fails gw_bi -23
[01-01 18:12:15 TUYA D][ws_db_gw.c:208] gw base read finish:-23
[01-01 18:12:15 TUYA D][tuya_bt_sdk.c:92] ty bt cmmod regist ok:1
[01-01 18:12:15 TUYA D][tuya_ble_api.c:312] upd adv para, send conn_req beacon.
[TOS_NOTICE]tuya_os_adapt_param_init mode:0x01
[TOS_DBG]tuya_os_adapt_bt_mode_set ability 0x1 enable, force:1, real_bt_mode:0x1, expect_bt_mode:0x1
[01-01 18:12:15 TUYA N][tuya_ble_api.c:647] ble sdk re_inited
[01-01 18:12:15 TUYA D][tuya_ble_active.c:523] bt active init
[01-01 18:12:15 TUYA N][tuya_bt_sdk.c:141] ty bt sdk init success finish
zigbee_boot_pin(TY_GPIOB4) init output high.
WIFI initialized
init_thread(58), Available heap 0x28d620[01-01 18:12:15 TUYA D][uni_thread.c:250] Thread:sys_timer Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA D][uni_thread.c:250] Thread:cmmod Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA D][uni_thread.c:250] Thread:wk_th-0 Exec Start. Set to Running Stat
[01-01 18:12:15 TUYA N][uni_log.c:197] SetLogManageAttr 2
[01-01 18:12:15 TUYA N][tuya_device.c:164] SDK INFO: < TUYA IOT SDK V:3.1.8 BS:40.00_PT:2.2_LAN:3.4_CAD:1.0.4_CD:1.0.0 >
< BUILD AT:2024_03_29_15_36_17 BY ci_manage FOR ty_iot_gw_wr_wf_sdk AT rtl8720dn >
IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 SHUTDOWN_MODE:0 LITTLE_END:1 TLS_MODE:2 ENABLE_CLOUD_OPERATION:0 OPERATING_SYSTEM:98 ENABLE_SYS_RPC:0 RELIABLE_TRANSFER:1 ENABLE_LAN_ENCRYPTION:1 ENABLE_LAN_LINKAGE:1 ENABLE_LAN_DEV:1 >
[01-01 18:12:15 TUYA N][tuya_device.c:165] SDK_ID: TuyaOS2.3.2_ty_iot_gw_wr_wf_sdk_3.1.8-beta.57_rtl8720dn_mini_muli_gw_config_uf_1.0.70-beta.15
[01-01 18:12:15 TUYA N][tuya_device.c:166] [keym557nqw3p8p7m 8721csm_bt_zg_gw 1.8.2] at Mar 29 2024 16:00:38
[01-01 18:12:15 TUYA N][tuya_device.c:167] subdev_max_cnt[128]
[01-01 18:12:15 TUYA N][tuya_device.c:151] ble version:bluetooth_mgr:1.2.2-beta.113 1
[01-01 18:12:15 TUYA N][simple_flash.c:459] key_addr: 0x7d7000 block_sz 4096
[01-01 18:12:15 TUYA N][simple_flash.c:548] get kvs:
0x8c 0xea 0xc 0x12 0xe5 0x43 0xd8 0xba 0xe8 0xbd 0x74 0xe7 0x7a 0xdc 0x1 0xc6
[01-01 18:12:16 TUYA N][tuya_main.c:272] mf_init succ
[01-01 18:12:16 TUYA N][tuya_main.c:273] firmware compiled at Mar 29 2024 16:00:36
[01-01 18:12:16 TUYA E][tuya_ws_db.c:326] kvs_read fails gw_di -6
[01-01 18:12:16 TUYA E][ws_db_gw.c:494] gw_di read fail:-6
[01-01 18:12:16 TUYA E][tuya_device.c:182] ret:-6
[01-01 18:12:16 TUYA E][tuya_gw_prod_test_auth_info.c:35] need not update wifi mac
[01-01 18:12:16 TUYA E][tuya_ws_db.c:728] kvs_read err:-6
[01-01 18:12:16 TUYA E][tuya_device.c:227] read mf config fail! set to default!
[01-01 18:12:16 TUYA N][user_led.c:458] led_hardware_init,pin -> TY_GPIOA25
[01-01 18:12:16 TUYA N][user_led.c:458] led_hardware_init,pin -> TY_GPIOB22
[01-01 18:12:16 TUYA N][tuya_gw_mgr.c:1023] current gw_cap_full_attr: 0x00000002
[01-01 18:12:16 TUYA N][user_key.c:91] key_init success,key pin -> TY_GPIOB23
[01-01 18:12:16 TUYA N][tuya_device.c:265] WatchDog init OK!
[01-01 18:12:16 TUYA N][tuya_device.c:268] tuya_z3_intf_init......
[01-01 18:12:16 TUYA E][thread_pool.c:506] hdl is null
[01-01 18:12:16 TUYA E][thread_pool.c:647] call __check_hdl(hdl) return -2
[01-01 18:12:16 TUYA E][subdev_dp_sync_transfer.c:2294] call gw_thread_pool_cr_tm_msg_hand(s_subdev_dp_sync_transfer.thr_hdl, tm_msg_tbl[i].tmm_msg_cb,NULL,tm_msg_tbl[i].tm_msg) return -2
[01-01 18:12:16 TUYA N][gw_matter_engine.c:793] dp_engine init file_sto_path:NULL rcd_max_node:20 enable_zigbee:1 enable_matter:0<---
[01-01 18:12:16 TUYA N][tuya_device.c:297] dp_engine_init max_file_cnt:20 max_flash:307200
[01-01 18:12:16 TUYA E][tuya_iot_ext_api.c:168] /tuya/engineer_dev_flag.ini is not exist
[01-01 18:12:16 TUYA N][tuya_z3_uf_file.c:68] =====devFileInit=====
[01-01 18:12:16 TUYA N][af-main-host.c:661] >>>Normal UART bootup with FLOWCTRL<<<
rsy value=5srsy value=2srsy value=1srsy value=5srsy value=2srsy value=2srsy value=2srsy value=7680srsy value=30srsy value=32768srsy value=1srsy value=30000srsy value=32srsy value=16srsy value=10srsy value=32srsy value=120srsy value=12srsy value=250srsy value=8srsy value=0srsy value=65408srsy value=180s------------0000000000emAfTaskId:0
[01-01 18:12:18 TUYA E][uf_flash_file_app.c:300] uf_open devices.txt err 8
[01-01 18:12:18 TUYA N][device-table.c:944] read devices.txt
[01-01 18:12:18 TUYA E][device-table.c:951] ufopen devices txt error
[01-01 18:12:18 TUYA E][uf_flash_file_app.c:300] uf_open zb_up_file_num err 8
[01-01 18:12:18 TUYA E][ota-storage-linux.c:383] fail to open upgrade number flag file.
[01-01 18:12:18 TUYA E][uf_flash_file_app.c:300] uf_open zb_up_file_num err 8
[01-01 18:12:18 TUYA E][ota-storage-linux.c:383] fail to open upgrade number flag file.
[01-01 18:12:18 TUYA N][rcd_flash_app.c:701] maxlen 4100, pagesz 64, sec_num :1, 0 65535 0
bit map len[32] 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[01-01 18:12:18 TUYA N][gw_matter_trans_file_mana.c:487] dp_engine trans_file_node num 0.
[01-01 18:12:18 TUYA N][gw_matter_engine.c:739] dp engine file init success.
[01-01 18:12:18 TUYA N][rcd_flash_app.c:701] maxlen 160, pagesz 64, sec_num :1, 1 65535 0
bit map len[32] 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[01-01 18:12:18 TUYA N][rcd_flash_app.c:701] maxlen 1700, pagesz 64, sec_num :1, 2 65535 0
bit map len[32] 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[01-01 18:12:18 TUYA E][rcd_flash_app.c:2961] [ty_rcd] err:db not inited.
[01-01 18:12:18 TUYA N][uni_msg_queue.c:327] last_cb:0x201e941
[01-01 18:12:19 TUYA N][tuya_gw_mgr.c:717] current gw_protocol_full_attr: 0x00000002
[01-01 18:12:19 TUYA N][tuya_gw_mgr.c:717] current gw_protocol_full_attr: 0x00000002
[01-01 18:12:19 TUYA N][tuya_device.c:302] tuya_z3_intf_init success.
[01-01 18:12:19 TUYA N][tuya_device.c:307] tuya_z3_intf_get_coo_ver success[2.4.4]
[01-01 18:12:19 TUYA N][tuya_gw_pt_app.c:428] tuya_testframe_register_uart_func success
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1893]:###########################################
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1894]:###########################################
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1895]:#######PROTOCOL VERSION:1.0.0##############
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1896]:#######SDK VERSION:1.0.2##############
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1897]:###########################################
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_print_sdkInfo:1898]:###########################################
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_init:2014]:####tuya_prodtest_init success####
[01-01 18:12:19 TUYA W][tuya_gw_pt_app.c:129] #####PRODTEST UART REV TIMEOUT
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_thread_process:1871]:***************TUYA TEST THREAD EXIT****************
PT DEBUG:[tuya_prod_test.c]:[tuya_prodtest_deinit:2037]:####tuya_prodtest_deinit process####
[01-01 18:12:20 TUYA N][tuya_device.c:330] shell register success ...
[TOS_DBG]set_wifi_work_mode:2
LwIP_DHCP: dhcp stop.
Deinitializing WIFI ...
WIFI deinitialized
Initializing WIFI ...
WIFI initialized
[TOS_DBG]tuya_os_adapt_bt_stack_init:0x01
BT BUILD Date: 2024/03/29-15:59:42
BT Reset...
physical efuse: has data hci_tp_phy_efuse[1]= 9e
hci_tp_phy_efuse[0]=0,
bt_iqk_dump: DUMP,
the IQK_xx data is 0xfc,
the IQK_yy data is 0x0,
the QDAC data is 0x1e,
the IDAC data is 0x21,
hci_read_rom_check: rom_version 0x0002, bt_hci_chip_id 0x0003
BT ADDRESS: f8:17:2d:c1:d1:e5
WRITE physical FLATK=tx_flatk=0
Set baudrate to 921600
hci_tp_config:BT INIT success 7
Start upperStack
[TOS_DBG]bt_dev_[01-01 18:12:21 TUYA N][tuya_main.c:207] current product ssid name:tuya_zg_bt_gw_scan
sUYA N][tuya_main.c:207] current product ssi
[TOS_DBG][BLE peripheral] GAP stack ready
[TOS_DBG]le_adv_start success
[TOS_DBG]bt_dev_state_evt init:1, adv:1, scan:0, cause:0x0
[TOS_DBG]bt_dev_state_evt init:1, adv:2, scan:0, cause:0x0
[TOS_DBG]GAP adv start
[TOS_ERR]not find scan ssid (tuya_zg_bt_gw_scan)
[TOS_DBG]not connected yet
[01-01 18:12:22 TUYA E][tuya_gw_mgr.c:1171] gw ablity read err ,ret = -6
[01-01 18:12:22 TUYA N][tuya_device.c:394] b_zigbee_irdev_support_flag:0
bit map len[32] 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x1f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x1f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x3f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x3f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[TOS_DBG]tuya_os_adapt_bt_mode_set ability 0x4 enable, force:1, real_bt_mode:0x5, expect_bt_mode:0x5
[TOS_DBG]tuya_os_adapt_bt_mode_set ability 0x2 enable, force:1, real_bt_mode:0x7, expect_bt_mode:0x7
[01-01 18:12:23 TUYA N][tuya_gw_mgr.c:717] current gw_protocol_full_attr: 0x00000043
[01-01 18:12:23 TUYA N][tuya_gw_mgr.c:1023] current gw_cap_full_attr: 0x00000003
[01-01 18:12:23 TUYA N][tuya_gw_mgr.c:717] current gw_protocol_full_attr: 0x0000004b
[01-01 18:12:23 TUYA N][tuya_device.c:410] --> tuya_bluetooth_srv_init success, support beacon dev.
[01-01 18:12:23 TUYA E][home_security_sto.c:69] wd_common_read key:dps, err:-6.
[01-01 18:12:23 TUYA W][tuya_gw_user_dp.c:50] wd_app_user_if_read key:dps is null.
[01-01 18:12:23 TUYA N][user_home_security.c:184] --> user_home_security_init success
[01-01 18:12:23 TUYA N][user_app.c:337] get local.dbglog fail
[01-01 18:12:23 TUYA E][tuya_device.c:425] call user_app_load_debug_file() return -6
[01-01 18:12:23 TUYA E][tuya_ws_db.c:326] kvs_read fails gw_di -6
[01-01 18:12:23 TUYA E][ws_db_gw.c:494] gw_di read fail:-6
bit map len[32] 0x7f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0x7f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
boot_reason : 0
[01-01 18:12:23 TUYA N][tuya_devos_entry.c:1805] Last reset reason: 0
[01-01 18:12:23 TUYA N][tuya_devos_entry.c:1164] serial_no:f8172dc1d1e5
[01-01 18:12:23 TUYA N][tuya_devos_entry.c:1195] gw_cntl.gw_wsm.stat:0
[01-01 18:12:23 TUYA N][tuya_devos_netcfg.c:1345] gw_cntl->gw_wsm.nc_tp:0
[01-01 18:12:23 TUYA N][tuya_devos_netcfg.c:1346] gw_cntl->gw_wsm.md:0
[01-01 18:12:23 TUYA N][tuya_devos_netcfg.c:1360] wifi config method not fit
[01-01 18:12:23 TUYA E][tuya_devos_entry.c:1816] ret:-2
[01-01 18:12:23 TUYA E][tuya_ws_db.c:326] kvs_read fails gw_di -6
[01-01 18:12:23 TUYA E][ws_db_gw.c:494] gw_di read fail:-6
[01-01 18:12:24 TUYA E][tuya_ws_db.c:326] kvs_read fails gw_ai -6
[01-01 18:12:24 TUYA E][ws_db_gw.c:636] gw_ai read fail:-6
bit map len[32] 0xc7 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xc7 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xc7 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xc7 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xc7 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
bit map len[32] 0xc7 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[01-01 18:12:25 TUYA E][group_scene_serve.c:612] fopen group scene file : error.
[01-01 18:12:25 TUYA E][group_scene_serve.c:618] fopen group scene file : error.