logo elektroda
logo elektroda
X
logo elektroda

[WBR1 / RTL8720CF ] New tuya chip on Aleco Air Dehumidifier D16/D12

lionboy 3789 8
ADVERTISEMENT
  • #1 20862279
    lionboy
    Level 10  
    Hello,

    Anyone figured out how to read this chip:

    https://developer.tuya.com/en/docs/iot/wbr1-module-datasheet?id=K9duisiao4qpa

    I tried connecting to RX, TX, GND, and 3V but nothing. I think this is an AmebaZ2.

    Moderated By p.kaczmarek2:


    2025.01 update - this chip is now supported. See step by step guide:
    WBR2, WBR3, WBRU, W701-VA2-CG pinout, datasheet, flashing for Home Assistant



    Then I tried to connect to LOG_RX and LOG_TX but still nothing.


    Electronic module board with pin labels on a gray surface.
    WBR1 electronic module on a gray background
    Circuit board with wires and electronic components
    Circuit board with TM1628 integrated circuit.

    Thanks
  • ADVERTISEMENT
  • #2 20869637
    calvinium
    Level 2  

    I'm tinkering with a WBR3 module myself, trying to get ESPHome firmware onto it. Unlike your board, it wasn't on a nice breakout board and I had to desolder it to get to the A_0 pad on the back of the SoM.

    I believe the missing information you need is here: https://developer.tuya.com/en/docs/iot/burn-a...utions%20for%20flashing%20and%20authorization

    Namely, use the Log UART, make sure User RX is not low, and tie A_0 high
  • ADVERTISEMENT
  • #4 20870140
    lionboy
    Level 10  

    I saw that there is a TM1628, so I think it is not supported now on OpenBeken.
  • ADVERTISEMENT
  • #5 20871609
    calvinium
    Level 2  

    That complete module, JWBR2S-5V, has its own page:

    https://developer.tuya.com/en/docs/iot/jwbr2s5v-datasheet?id=K9mxm59oqep1q

    Looks like it's for converting 5V serial to 3.3V TTL. From the way it looks like the module is oriented in the 3rd photo, it is connected to the main board via the 4 contact connector with the following arrangement:

    JWBR2S-5VMain Board
    RXVOH
    TXVIH
    GNDADT
    VCC+5V


    The tracks all head off down the other end of the board, away from the TM1628 chip you highlighted, which by the way appears to be an LED driver, the kind used for 7-segment displays. I don't think this is interfacing directly with the Wi-Fi module. I'd take a look at the other side of the board, to see if there's some other microprocessor the Wi-Fi module is communicating with over serial. It might even be not on the main board, as there are at least 2 other multi-connector cables connected to the main board. The one directly below the LED driver, for example, has "+5V" "VOH", "VIH" and "ADH" pins, similar to the 4 wire connector from the Wi-Fi module, as well as maybe an I2C bus (SCK, SDA)

    At the end of the day, it looks like your Wi-Fi module is interfacing with the rest of the device over serial and doesn't have any GPIO or analog signals going directly to it. As such, you'd need to know what it's talking to and to sniff the serial bus to figure out what it is saying if you're wanting to customize the firmware on the module.
  • #6 20871740
    lionboy
    Level 10  
    I use strings to see what is inside bin file:

    
    ftl_read
    [FTL_LEVEL_ERROR]:ftl_check_logical_addr logical_addr exceed MAX_logical_address_size (0x%x, 0x%x)
    [FTL_LEVEL_ERROR]:ftl_page_garbage_collect_Imp:length != 1!recycle page:%x, retry_count:%x, index:%x, read value:%x
    [FTL_LEVEL_ERROR]:[ftl](ftl_page_write) P: %x, idx: %d, D: 0x%08x, read back: %x 
    [FTL_LEVEL_ERROR]:[ftl] logical address parse error! func: %s, line: %d
    [FTL_LEVEL_ERROR]:[ftl] length != 1! func: %s, line: %d
    Realtech
    bbt_check_iqk
    hci_start_iqk
    hci_rtk_combine_config
    hci_rtk_find_patch
    %s: USE FIX LOGIC EFUSE
    %s: LOGIC EFUSE HAS NO DATA
    hci_tp_phy_efuse[0]=0,
    %s: NO IQK LOK DATA need start LOK,
    bt_dump_iqk:    DUMP,
    the IQK_xx  data is 0x%x,
    the IQK_yy  data is 0x%x,
    the QDAC   data is 0x%x,
    the IDAC   data is 0x%x,
    the QDAC2  data is 0x%x,
    the IDAC2  data is 0x%x,
    bt_iqk_efuse_valid: no data
    bt_iqk_efuse_valid: has data
    bt_iqk_logic_efuse_valid: has data
    BT RESET LOG...
    BT FW LOG OPEN
    BT Reset ok
    EFUSE_SW_MP_MODE: UPPERSTACK NOT UP 
    GNT_BT %x...
    Start upperStack
    WIFI is off !Please restart BT after WIFI on!
    ==========this is BT MP DRIVER===========,
     this cut is AMEBAZII %x CUT
    18:58:32
    Jun 24 2021
    BT BUILD Date: %s, %s 
     We use Debug Val: 0x%x
    ==bt phy_efuse 0x120~0x130:==
     efuse data is =============
     efuse data end  is =============
    hci_rtk_combine_config: all config length is %u
     muber_of patch =%d ,malloc fail
    =========use the changed patch===========
     muber_of patch =%d 
     fw_chip_id patch =%x 
      lmp_subversion=%x , fw_len =%x, fw_offset = %x 
     fw_buf ,malloc %d byte fail, 
     single patch
     fw_buf ,malloc fail, need %d
     patch single is error
    We use fw_buf=%x, fw_len = %x, config_buf = %x, config_len= %x
     ERROR:no match patch
    hci_rtk_parse_config: invalid signature 0x%x
    default use the 115200
    hci_rtk_parse_config: baudrate 0x%08x
    close hci uart flow ctrl: 0x%02x
    BT ADDRESS:
    %02x:
    hci_rtk_parse_config: BT ADDRESS  %02x %02x %02x %02x %02x %02x, use the defaut config
     WRITE  physical FLATK=tx_flatk=%x 
     WRITE logic FLATK=tx_flatk=%x 
     logic efuseMap[%x] = %x
    %s:  Warning: IQK Fail, please connect driver !!!!!!!!!
    the adress must be 4byte align 0x%x
    hci_uart_malloc
    hci_uart_free
    hci_uart_deinit
    hci_uart_recv
    hci_uart_malloc
    %s: hci_uart_obj = NULL, no need free
     %s: deinit call twice  !!!!! 
    %s:need %d, left %d
    %s:rx_buffer not free
     %s:the p_uart_obj is NULL !!!!! 
    Set baudrate to %d
    uart_insert_char: rx buffer full
    uart_insert_char: rx disable, data len %d
    warn: unexpected isr mode
    osif_task_signal_recv: sig_handle is null
    osif_task_signal_send: sig_handle is null
    : trace_uart_deinit:no need
    trace_uart_init: TRACE OPEN
    hci_tp_open
    hci_tp_config
    ERROR:%s:packet type is %x
    %s:unexpect status is %x
    %s:BT INIT success %x
    ERROR:%s:start_pro is null %x
    ERROR:%s:wrong status is %x, opcode is 0x%x
    ERROR:%s:wrong type is %x
    ERROR:%s:unhandle evt is %x
    %s:hci_board_init fail
    %s:uart_init fail
    hci_read_local_version_check
    hci_read_rom_check
    hci_tp_download_patch
    hci_tp_set_controller_baudrate
    hci_tp_read_local_ver
    hci_tp_read_rom_ver
    hci_tp_download_patch
    hci_tp_set_controller_baudrate
    hci_tp_rf_radio_ver
    hci_tp_write_efuse_iqk
    hci_tp_hci_reset
    %s: Patch already exists
    %s: rom_version 0x%04x, bt_hci_chip_id 0x%04x
    %s: error operate
    BT patch:svn %d coex svn_version: %x LMP VERSION:%x
    %s:p_cmd is NULL 
    hci_tp_rf_radio_ver
    we need start iqk
    IQK error
    IQK OK
    continue add  %x
    traceuart_tx_cb
    trace_task
    bt_trace_init
    bt_trace_uninit
    trace_print
    reopen bt trace, do nothing
    trace_task
    trace task is deleted, not work
    18:58:52
    Build @ %s, %s
    [MISC Inf]Set MPU 1: 0x%x ~ 0x%x: 
    [MISC Inf]Shareable=0x%x  AccessPermision=0x%x XNever=0x%x AttrIdx=%lu
    format not support!
    LwIP_DHCP: dhcp stop.
    Interface %d IP address : %d.%d.%d.%d
    Interface %d DHCP timeout
    Static IP address : %d.%d.%d.%d
    LwIP_DHCP: Release ip
    interface %d is initialized
    wifi_autoreconnect
    auto reconnect ...
    wifi_disconnect Operation failed!
    %02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x
    WIFICONF: security type(0x%x) is not supported.
    RTW API: Join bss timeout
    wlan0
    WEXT: Failed to set bogus BSSID to disconnect
    wlan1
    get_client_list %x
    read_mac
    WIFI is not running
    Deinitializing WIFI ...
    WIFI deinitialized
    ERROR: Deinit WIFI timeout!
    WIFI is already running
    Initializing WIFI ...
    ERROR: Start WIFI Failed!
    WIFI initialized
    ERROR: Init WIFI timeout!
    [%d]WiFi: Scan is running. Wait 2s timeout.
    ERROR: Can't malloc memory(%d)
    ERROR: wifi scan failed
    len = %d,	
    wifi_scan: add count = %d, scan count = %d
    mac = 
    %02x 
     rssi = %d,	
    sec = open    ,	
    sec = wep     ,	
    sec = wpa/wpa2,	
    wps password id = %d,	
    channel = %d,	
    ssid = 
    WiFi Disabled: Cannot set indicate mgnt
    write_mac %s
    Error: SSID should be 0-32 characters
    Error: password should be 64 hex characters or 8-63 ASCII characters
    WIFICONF: security type is not supported
    ioctl[SIOCSIWPRIVAPESSID] error
    pm_set
    ioctl[SIOCSIWPRIVPMSET] error
    ioctl[SIOCGIWFREQ] error
    ioctl[SIOCGIWENCODEEXT] error
    ioctl[SIOCGIWMODE] error
    ioctl[SIOCGIWPRIVPASSPHRASE] error
    ioctl[SIOCGIWSENS] error
    ioctl[SIOCGIWSCAN] error
    %16s
    config_get
    config_set
    efuse_get
    efuse_set
    mp_psd
    WEXT: Malloc memory is not enough
    Private Message: %s
    WEXT: Can't malloc memory
    ioctl[SIOCDEVPRIVATE] error. ret=%d
    ioctl[SIOCSIWMGNTSEND] error
    WEXT: SIOCSIWAUTH(param %d value 0x%x) failed)
    SetAutoRecnt
    wext_set_autoreconnect():ioctl[SIOCDEVPRIVATE] error
    ioctl[SIOCSIWAP] error
    ioctl[SIOCSIWFREQ] error
    ioctl[SIOCSIWPRIVCOUNTRY] error
    ioctl[SIOCSIWENCODEEXT] set key fail
    ioctl[SIOCSIWMODE] error
    ioctl[SIOCSIWESSID+0x1f] error
    PartialScan
    wext_set_pscan_channel():ioctl[SIOCDEVPRIVATE] error
    ioctl[SIOCSIWSCAN] error
    ioctl[SIOCSIWESSID] error
    WPA/WPA2 handshake done
    RECONNECTION FAILURE
    No Assoc Network After Scan Done
    ICV Eror
    Auth Challenge Fail
    STA Assoc
    STA Disassoc
    Send Action Done
    update_ota_erase_upg_region_mult
    update_ota_signature
    [%s] NewFWLen %d
    [%s] NewFWBlkSize %d  0x%x
    [%s] Size INVALID
    [%s] NewFWLen %d
    [%s] imglen:%d NewFWLen:%d addr:0x%x
     the last sector:0x%x 
    [%s] Append OTA signature
    [%s] Write stream failed
    [%s] signature:
     %02X
    init_thread
    wlan_network
    %s(%d), Available heap 0x%x
    %s xTaskCreate(init_thread) failed
    add_offer_options
    dhcps_send_offer
    dhcps_send_ack
    [%s] error: add options fail !!
    ip_table[%d] = %x,%x,%x,%x,%x,%x
     get message DHCP_MESSAGE_TYPE_RELEASE
    [%s] error:  pbuf alloc fail !
    [%s] error:  pbuf copy fail !
     No useable ip!!!!
    [%d]DHCP assign ip = %d.%d.%d.%d
     Error!!!upd_new error 
     Request ip over the range(1-128) 
    LWIP_NETCONN_THREAD_SEM_ALLOC:pxTXB is null
    LWIP_NETCONN_THREAD_SEM_ALLOC:sys_sem_new failed!!!!!!
    LWIP_NETCONN_THREAD_SEM_FREE:pxTCB is null
    LWIP_NETCONN_THREAD_SEM_FREE:not find thread sem
    LWIP_NETCONN_THREAD_SEM_GET:pxTCB is null
    LWIP_NETCONN_THREAD_SEM_GET:thread_sem_list is null
    TCP_IP
    Cannot allocate pbuf to receive packet
    rltk_wlan_send
    rltk_wlan_recv
    [%s] skb is NULL
    ../../../component/common/drivers/wlan/realtek/src/osdep/lwip_intf.c
    No pending rx skb
    %s, Assert(skb) failed on line %d in file %s
    [%s] netif is DOWN
    device lock timeout: %d
    === stack overflow === 
    Task name : %s, TCB : %x
    PSP %x PSPLIM %x
    MSP %x MSPLIM %x
    ====================== 
    _freertos_mutex_get
    _freertos_mutex_get_timeout
    _freertos_enter_critical_mutex
    _freertos_spinlock
    _freertos_spinlock_irqsave
    Create Task "%s" Failed! ret=%d
    _freertos_delete_task(): ptask is NULL!
    [%s] %s(%p) failed, retry
    [%s] %s(%p) from ISR <<< FAIL >>> 
    [TIMR Err]system timer is not initialized
    [TIMR Err]system timer is not initialized properly
    add_mem_usage
    [%s] Catch a mem alloc fail with size of %d, current heap free size = %d
    ../../../component/os/freertos/freertos_v10.0.1/Source/queue.c
    [%s]Assert(pxQueueSetContainer) failed on line %d in file %s
    [%s]Assert(pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength) failed on line %d in file %s
    [%s]Assert(xQueue) failed on line %d in file %s
    [%s]Assert(uxMaxCount != 0) failed on line %d in file %s
    [%s]Assert(uxInitialCount <= uxMaxCount) failed on line %d in file %s
    [%s]Assert(uxQueueLength > ( UBaseType_t ) 0) failed on line %d in file %s
    [%s]Assert(pxQueue) failed on line %d in file %s
    [%s]Assert(!( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) )) failed on line %d in file %s
    [%s]Assert(!( ( xCopyPosition == queueOVERWRITE ) && ( pxQueue->uxLength != 1 ) )) failed on line %d in file %s
    [%s]Assert(!( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) && ( xTicksToWait != 0 ) )) failed on line %d in file %s
    [%s]Assert(pxQueue->uxItemSize == 0) failed on line %d in file %s
    [%s]Assert(!( ( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) && ( pxQueue->pxMutexHolder != NULL ) )) failed on line %d in file %s
    [%s]Assert(pxMutex) failed on line %d in file %s
    [%s]Assert(( pxQueue )) failed on line %d in file %s
    [%s]Assert(!( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) )) failed on line %d in file %s
    [%s]Assert(!( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) )) failed on line %d in file %s
    [%s]Assert(xInheritanceOccurred == pdFALSE) failed on line %d in file %s
    ../../../component/os/freertos/freertos_v10.0.1/Source/tasks.c
    [%s]Assert(pxTCB) failed on line %d in file %s
    [%s]Assert(xNextTaskUnblockTime >= xTickCount) failed on line %d in file %s
    [%s]Assert(uxSchedulerSuspended == 0) failed on line %d in file %s
    [%s]Assert(pxEventList) failed on line %d in file %s
    [%s]Assert(pxTCB != pxCurrentTCB) failed on line %d in file %s
    [%s]Assert(( uxNewPriority < configMAX_PRIORITIES )) failed on line %d in file %s
    [%s]Assert(xTaskToResume) failed on line %d in file %s
    [%s]Assert(pxTimeOut) failed on line %d in file %s
    [%s]Assert(xReturn != errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY) failed on line %d in file %s
    [%s]Assert(( xTickCount + xTicksToJump ) <= xNextTaskUnblockTime) failed on line %d in file %s
    [%s]Assert(uxTopPriority) failed on line %d in file %s
    [%s]Assert(pxTicksToWait) failed on line %d in file %s
    [%s]Assert(( listLIST_IS_EMPTY( pxDelayedTaskList ) )) failed on line %d in file %s
    [%s]Assert(pxTCB == pxCurrentTCB) failed on line %d in file %s
    [%s]Assert(pxTCB->uxMutexesHeld) failed on line %d in file %s
    [%s]Assert(pxUnblockedTCB) failed on line %d in file %s
    [%s]Assert(uxSchedulerSuspended) failed on line %d in file %s
    [%s]Assert(xResult) failed on line %d in file %s
    [%s]Assert(( pxTimer->xTimerPeriodInTicks > 0 )) failed on line %d in file %s
    [%s]Assert(( xTimerPeriodInTicks > 0 )) failed on line %d in file %s
    Tmr Svc
    ../../../component/os/freertos/freertos_v10.0.1/Source/timers.c
    [%s]Assert(xReturn) failed on line %d in file %s
    [%s]Assert(xTimer) failed on line %d in file %s
    ../../../component/os/freertos/freertos_v10.0.1/Source/portable/MemMang/heap_5.c
    [%s]Assert(( pxLink->xBlockSize & xBlockAllocatedBit ) != 0) failed on line %d in file %s
    [%s]Assert(pxLink->pxNextFreeBlock == NULL) failed on line %d in file %s
    [%s]Assert(pxEnd) failed on line %d in file %s
    [%s]Assert(pxEnd == NULL) failed on line %d in file %s
    [%s]Assert(pxEnd != NULL) failed on line %d in file %s
    [%s]Assert(xAddress > ( size_t ) pxEnd) failed on line %d in file %s
    [%s]Assert(xTotalHeapSize) failed on line %d in file %s
    ../../../component/os/freertos/freertos_v10.0.1/Source/portable/GCC/ARM_RTL8710C/port.c
    [%s]Assert(uxCriticalNesting == ~0UL) failed on line %d in file %s
    [%s]Assert(( portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK ) == 0) failed on line %d in file %s
    [%s]Assert(uxCriticalNesting) failed on line %d in file %s
    [%s]Assert(ucCurrentPriority >= ucMaxSysCallPriority) failed on line %d in file %s
    [%s]Assert(( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue) failed on line %d in file %s
    [%s]Assert(( portMAX_PRIGROUP_BITS - ulMaxPRIGROUPValue ) == configPRIO_BITS) failed on line %d in file %s
    [GPIO Err]GPIO pin init error
    [GPIO Err]Invalid GPIO IRQ Event(%u)
    [MISC Err]pinmap_peripheral: pinmap not found for peripheral
    pwmout_init
    [PWM  Inf]%s: Init PWM for pin(0x%x)
    [PWM  Err]%s: Cannot find matched pwm for this pin(0x%x)
    [PWM  Err]pwmout_init Err!
    [PWM  Err]The period register Cannot be set zero value
    [UART Err]serial_init err (0x%x)
    [UART Wrn]serial_send_blocked: status(%d)
    sys_update_ota_prepare_addr
    [%s]fw1 sn is %u, fw2 sn is %u
    [%s] NewFWAddr 0x%08X
    [TIMR Err]gtimer_init: Timer%u is in use
    [TIMR Err]gtimer_init: init err (0x%x)
    [TIMR Inf]gtimer_init: Timer %u init was succeed
    [MISC Err]JTAG pin 0x%x reg err
    hal_uart_check_uart_id
    [UART Err]%s: pin(0x%x) is not for UART TX
    [UART Err]%s:tx_pin(0x%x) & rx_pin(0x%x) is not on the same UART
    [UART Err]%s: pin(0x%x) is not for UART RX
    [WIFI DEBUG]__dhcp_thread delete********
    [WIFI ERROR]dhcp error
    [WIFI DEBUG]__hwl_enter_powersave********
    tuya_smart
    Wifi scan failed!
    [WIFI NOTICE]close ble enter wifi powersave!!!
    [WIFI NOTICE]open ble exit wifi powersave!!!
    [WIFI ERROR]wifi mode:%d
    [WIFI DEBUG]sta_max_conn:%d
    [WIFI DEBUG]hwl_wf_ap_start, cfg->chan:%d
    [WIFI ERROR]wifi_start_ap err:%d
    [WIFI DEBUG]ap start : ip       0x%x
    [WIFI DEBUG]ap start : mask     0x%x
    [WIFI DEBUG]ap start : gateway  0x%x
    set pscan error!
    [WIFI NOTICE]not find scan ssid (%s)
    [WIFI DEBUG]scan count:%d
    fast connect ssid %s,passwd:%s,sec_type:%X,chan:%d
    dhcp_thread
    [WIFI ERROR]CreateAndStart
    [WIFI ERROR]net_if_idx:%d wifi_is_up err:%d
    [WIFI ERROR]station mode do't get ip
    wifi_get_mac_address ret:%d
    read wifi mac:%s
    [WIFI NOTICE]country_code:%d not support defaut CN
    write wifi mac:%s
    [WIFI ERROR]wifi_set_mac_address ret
    [WIFI ERROR]wifi_set_mac_address bt mac fail, ret:%d
    [WIFI NOTICE]mode is out of range mode %d
    [WIFI DEBUG]tuya_os_adapt_wifi_set_work_mode(), mode:%d
    [WIFI ERROR]wifi_rf_on err:%d
    [WIFI ERROR]wifi off err:%d
    [WIFI ERROR]ERROR: wifi_connect:%d
    [WIFI ERROR]wifi_disconnect err:%d
    [WIFI NOTICE]s_country.ch_num:%d
    [WIFI NOTICE]country_code:%d not support
    tuya_bt_main_task
    bt_8721d_port_deinit
    tuya_os_adapt_io_msg_send
    [BT DEBUG]tuya_bt_port_deinit error. already deinited.
    [BT DEBUG]wifi lowpower, ble deinit is disable.
    [BT DEBUG]bt state.gap_init_state:%d
    [BT DEBUG]bte_deinit
    [BT NOTICE]BLE MAC: 0x%02x-0x%02x-0x%02x-0x%02x-0x%02x-0x%02x
    [BT DEBUG]GAP_MSG_LE_MODIFY_WHITE_LIST: operation %d, cause 0x%x
    [BT NOTICE]tuya_bt_rssi:%d
    [BT ERROR]app_gap_callback: unhandled cb_type 0x%x
    [BLE peripheral] GAP stack ready
    [BT DEBUG]app_handle_conn_state_evt: conn_id %d old_state %d new_state %d, disc_cause 0x%x
    [BT DEBUG]app_handle_conn_state_evt: connection lost cause 0x%x
    [BT DEBUG]remote_bd:%02x-%02x-%02x-%02x-%02x-%02x
    [BT DEBUG]remote_addr_type %d, conn_interval 0x%x, conn_latency 0x%x, conn_supervision_timeout 0x%x
    [BT DEBUG]app_handle_conn_mtu_info_evt: conn_id %d, mtu_size %d
    [BT DEBUG]app_handle_conn_param_update_evt update success:conn_interval 0x%x, conn_slave_latency 0x%x, conn_supervision_timeout 0x%x
    [BT ERROR]app_handle_conn_param_update_evt update failed: cause 0x%x
    [BT DEBUG]app_handle_conn_param_update_evt update pending.
    [BT DEBUG]app_handle_authen_state_evt:conn_id %d, cause 0x%x
    [BT DEBUG]app_handle_authen_state_evt: GAP_AUTHEN_STATE_STARTED
    [BT DEBUG]app_handle_authen_state_evt: GAP_AUTHEN_STATE_COMPLETE pair success
    [BT DEBUG]app_handle_authen_state_evt: GAP_AUTHEN_STATE_COMPLETE pair failed
    [BT DEBUG]app_handle_authen_state_evt: unknown newstate %d
    [BT NOTICE]tuya_bt_assign_scan(), start
    [BT NOTICE]tuya_bt_assign_scan(), end
    [BT ERROR]os_msg_send tuya msg fail
    [BT ERROR]os_msg_send tuya event fail
    [BT DEBUG]wifi lowpower, ble send is disable.
    [BT NOTICE]le_adv_start(), start adv
    [BT DEBUG]le_adv_start(), start err.
    [BT DEBUG]<tuya_os_adapt_bt_start_scan> start scan adv.
    [BT NOTICE]le_adv_stop(), stop adv
    [BT DEBUG]tuya_os_adapt_bt_stop_adv(), stop err
    [BT DEBUG]<tuya_os_adapt_bt_stop_scan> stop scan adv.
    [BT DEBUG]not allow stop
    [BT DEBUG]already in stop
    [BT DEBUG]adv stop out of time
    [BT DEBUG]tuya_bt_reset_adv ret:%d
    [BT DEBUG]adv update out of time
    [BT DEBUG]start out of time,state:%x
    [BT DEBUG]reset adv ok
    [BT NOTICE]<tuya_os_adapt_bt_scan_init> init.
    [BT DEBUG]<tuya_os_adapt_bt_scan_init> ble scan found.
    [BT DEBUG]tuya_os_adapt_bt_stack_deinit
    [BT DEBUG]###deinit ble slave###
    [BT NOTICE]current_bt_mode: %d, no need deinit
    [BT DEBUG]tuya_os_adapt_bt_stack_init
    [BT ERROR]wifi is not up!, return
    [BT DEBUG]wifi lowpower, ble init is disable.
    [BT DEBUG]current_bt_mode:%d, new bt_param->mode:%d
    [BT ERROR]need deinit bt stack
    [BT DEBUG]###init ble slave###
    [BT NOTICE]tuya_bt_port_init error,  already inited.
    tuya_bt_main_task
    [BT ERROR]dont support %d bt mode 
    wifi lowpower, ble send is disable.
    [BT DEBUG]<tuya_os_adapt_bt_stop_scan> stop scan adv.
    [BT NOTICE]tuya_os_adapt_param_init mode:%d
    1. flash_burst_write, start addr:%x, write_len:%d
    [%s] Write sector failed
    2. flash_burst_write, end addr:%x, write_len:%d
    write finnish
    ug_proc->stat:%d
    verify_ota_checksum err
    the gateway upgrade success, ota_target_index:%d
    reset the system!
    malloc err
    OTA%d address space will be upgraded with size:%d
    OTA%d address space is not enough!
    get_ota_address err
    NewFWLen err
    hal_ota_start, finish.
    tuya_hal_system_reset
    app_init_entry
    app_init
    scan_test_ssid
    __monitor_wifi_state
    user_main
    ../../../../tuya_common/src/tuya_main.c
    get_wf_gw_nw_status err:%d
    rtl8720cf_ameba
    2.5.2
    rtl8720cf_common_user_config_ty
    mf_init succ
    have actived over 15 min, not enter mf_init
    current product ssid name:%s
    sys_add_timer error:%d
    ty_file_start_cb
    ty_file_syn_cb
    down_file_result_msg
    ty_download_file_cb
    down_file_data_msg
    ty_file_recv_mcu_res
    down_file_mcu_msg
    down_file_cloud_msg
    ty_file_download_init
    file is ing wait
    reason = NULL !!!
    dowmload_state.reason:%d
    ty_file_start_cb.reason:%d
    ty_file_start_cb failed! op_ret:%d
    ty_file_syn_cb failed! op_ret:%d
    ty_download_file_cb failed!
    recv all data of user file
    data = NULL!!!
    tuya_iot_download_result_ack failed! op_ret:%d
    down_file_mcu_msg failed! ret:[%d]
    ../../../../../../apps/rtl8720cf_common_user_config_ty/src/ty_com_pro_base_download_mcu.c
    dowmload_state.ack_stat:%d
    ty_download_file_cb send_count:[%d]
    add fw_timer err
    create semphore err
    tuya_hal_mutex_create_init :%d
    load_file_process_new_cb
    load_file_notify_cb
    load_file_start_cb
    load_file_ifm_cb
    load_file_res_cb
    down_file_new_recv
    ty_downlord_files_service_init
    down_file_mcu_msg err
    down_file_once_msg err:%d
    tuya_iot_download_files err:%d
    load_file_notify_cb success
    load_file_notify_cb failed
    down_file_data_msg failed op_ret:%d
    down_file_result_msg err:%d
    ../../../../../../apps/rtl8720cf_common_user_config_ty/src/ty_download_files_service.c
    down_file_cloud_msg err:%d
    tuya_iot_download_file_init err:%d
    ty_uart_adapt_recv
    ty_user_service_init_cb
    device_init
    keyjkajwawthq4f5
    tuya_uart_common_initAndStart err! %d.
    ../../../../../../apps/rtl8720cf_common_user_config_ty/src/tuya_device.c
    ty_cJSON_PrintUnformatted failed
    tuya.device.work.payload.get
    result is null
    operate
    operate: item is null
    ty_cJSON_GetObjectItem type[%d]: failed
    __file_name__malloc: failed
    Malloc extInfo[%d]
    files
    files: item is null
    ty_cJSON_GetArraySize:[%d]
    ty_cJSON_GetArrayItem[%d]: failed
    ty_cJSON_GetObjectItem url[%d]: failed
    __file_url_malloc: failed
    ty_cJSON_GetObjectItem id[%d]: failed
    ty_cJSON_GetObjectItem size[%d]: failed
    ty_cJSON_GetObjectItem name[%d]: failed
    Malloc fileInfo:[%d][%d]
    file_info
    ext_info
    g_dl_file_infor.file_start_cb failed op_ret:%d
    g_dl_file_infor.mcu_state:%d
    g_dl_file_infor.mcu_state+100:%d
    cmmod_start_tm_msg failed! op_ret:%d
    __http_get_file_infor failed op_ret:%d
    __get_file_list failed! op_ret:%d
    inform download file callback failed! EXIT!
    http_get_download_file faile op_ret:%d
    downlaod file fails %d %s
    __ext_download_file ext_st:%d
    __mq_report_download_file_result op_ret:%d
    res_cb [%d]
    g_dl_file_infor.res_cb failed op_ret:%d
    __mq_report_download_task_state op_ret:%d
    Free extInfo
    download_file_task susccess!
    download_file_task failed!
    __mq_report_download_task_state
    __mq_report_download_file_state
    __mq_report_download_file_result
    __mq_report_download_msg_cb
    __file_infor_free
    __http_get_file_infor
    __file_download_mcu_notify
    __get_file_list
    __download_file_ifm_msg_cb
    __download_file_msg_cb
    __download_file_inform
    __ext_download_file_task
    __ext_download_file
    iot_httpc_download_files
    __http_get_download_file
    __download_files_thread_func
    tuya_iot_download_files
    file_task_json_cb
    __proc_mq_files_cb
    tuya_iot_download_files_init
    retCode
    eventType
    stage
    workId
    fileId
    progress
    reqType
    ../../../../../../apps/rtl8720cf_common_user_config_ty/src/ty_get_file_list_download.c
    __mqc_prot_data_rept failed pro:%d op_ret:%d
    __mq_report_download_file_state op_ret:%d
    cmmod_start_tm_msg op_ret:%d
    status
    root_json = NULL
    g_dl_file_infor.task_flag is doing
    __proc_mq_files_cb failed op_ret:%d
    root = NULL
    root_data = NULL
    reqType item = NULL
    reqType != device_work
    root_data_data = NULL
    workType
    ty_cJSON_GetObjectItem workType failed
    ty_cJSON_GetObjectItem workId failed
    type max size :%d
    cmmod_start_tm_msg op_ret:load_ifm_tm_msg
    __download_file_inform failed op_ret:%d
    iot_httpc_download_files FreeHeapSize = %d
    iot_httpc_raw_get ret = :%d count:[%d]
    iot_httpc_raw_read_resp_header ret = :%d count:[%d]
    content_len:%d chunked:%d status_code:%d Invalid!!!
    malloc error
    iot_httpc_raw_read_content error count:%d
    iot_httpc_raw_read_content timeout!
    iot_httpc_raw_close ret:%d
    files_download_func
    __download_files_thread_func thrd failed! op_ret:%d
    mqc_app_register_cb PRO_MQ_INFOEM_DOWNLOAD io_ret:%d
    mqc_app_register_cb PRO_MQ_INFOEM_DOWNLOAD :%d
    cmmod_cr_tm_msg_hand __http_get_file_url_msg_cb failed! op_ret:%d
    jump_send_timer_cb
    guard_timer_cb
    ty_uart_module_init
    tuya_uart_common_init
    guard time out,go to reset!!! 
    ../../../../../../components/ty_uart_common_init/src/ty_com_pro_base_init.c
    send heat beat ,get heap size %d
    jump_send_timer timer 3s start err
    jump_send_timer timer 15s start err 
    add guard_timer_cb err
    add jump_send_timer err
    ty_base_service_init err %d
    ty_user_pre_uart_cb err %d
    ty_user_service_init_cb err %d
    ty_datapoint_upload_proc
    __ty_get_obj_type_len
    __ty_obj_datapoint_proc
    dev_obj_dp_cb
    __ty_raw_datapoint_proc
    dev_raw_dp_cb
    wifi_send_wifi_sta_test
    upload_net_state
    recv_net_status
    dev_ug_notify_cb
    gw_ug_inform_cb
    dev_int
    cfg_mode:%d.first_mode:%d.firmware_key:%s.product_key:%s
    tuya_iot_wf_soc_dev_init err:%d
    iot_reg_get_wf_stat_cb err:%d
    tuya_create_led_handle err:%d
    key_init err:%d
    reg_proc_key err:%d
    dp_cntl->dp_desc.mode is M_RO
    dp_cntl is NULL
    ty_type_len_proc fail
    mcu is not ready initflag[%d] IsIndownload[%d] ug_type[%d] IsMcuReset[%d] 
    dev is not bind
    ty_raw_datapoint_proc parm null
    SendBuf is NULL
    the gateway upgrade success
    the gateway upgrade failed
    mcu ota is ing wait
    down_load_pre_cb err:%d
    tuya_iot_upgrade_dev err:%d
    wifi status is :%d
    __get_net_status work mode is err:%d
    ty_cJSON_CreateObject is err
    dp_data->type=%d
    dpid and type is not match
    a...b...c...
    raw len is err:%d
    dev_report_dp_raw_sync:%d
    dp_data->len:%d,dp_data->data[0]:%d
    dp_data->len = %d
    val_data = %d
    data[0] = %d
    data[1] = %d
    data[2] = %d
    data[3] = %d
    min:%d,max%d
    dp_cntl->prop.prop_str.max_len=%d
    DP_ENUM dp_data->len=%d
    DP_ENUM out of range
    dp_data->len:%d,dp_cntl->prop.prop_bitmap.max_len:%d
    mqtt connect is err
    ty_cJSON_PrintUnformatted err
    sf_obj_dp_report op_ret:%d,out:%s
    no find dp_num
    ap connect test is ing wait test result sta
    wf_station_stat_get err:%d
    get_net_status error:%d
    ../../../../../../components/ty_uart_common_service/src/ty_com_pro_base_cloud_handle.c
    wifi_send_wifi_sta_test wf_sta err:%d
    ty_protocol_msg_send_in_queue ERR
    wifi_send_wifi_sta_test wf_work.mode err:%d
    wf_wk_mode_get err:%d
    test ing wf mode is not is station
    get_wf_connect_ap_test_sta err:%d
    wf_station_connect err:%d
    cloud_handle.send_test_sta err:%d
    recv_jump_pack
    __get_dev_info
    recv_prod_info
    sys_timer_msg_funtion_init
    mcu_ota_sver_sync_cb
    recv_work_mode
    reset_wifi_select
    __network_link_judge
    data_upload_async_proc
    upgrade_start_recv
    upgrade_confirm_recv
    data_upload_sync_proc
    recv_local_datetime
    recv_func_test
    recv_uart_wf_net
    upload_net_state_tomcu
    __wf_start_connect_ap
    __get_wf_connect_ap_test_sta
    __ap_connect_result_timer_cb
    __recv_func_ap_connect_test
    recv_func_get_wifi_mac
    sys_timer_sever_init
    __get_timer_data
    __send_timer_data_timer_cb
    expand_service_open_timer_up_handle
    reset_repet_timer_cb
    expand_service_open_reset_up_handle
    tuya_gw_reset_cb
    expand_service_open_wifi_debug_handle
    ble_scan_test_func
    ty_main_service_init
    wifi ble mode not config data not to send fail:%d
    ty_mag not init or upgrade----ing init_flag = %d --- IsIndownload = %d --- ugtype = %d
    time wait go to sever get data
    time wait go to sever get zone
    get timer api err:%d
    ty_protocol_msg_send_in_queue err:%d
    please write uuid and auth_key first
    ty_mdev
    wf_assign_ap_scan error:%d,ble rssi:%d
    value:%d , scan ble rssi :%d
    data_upload_async_proc error.
    network_link_judge error.
    ../../../../../../components/ty_uart_common_service/src/ty_com_pro_base_main_service.c
    expand_service_open_reset_up_handle init true
    timer type err:%d
    expand_service_open_timer_up_handle init true
    add jump_send_timer err:%d
    sys_start_timer err:%d
    data invalid
    debug level :%d,pdata :%x
    http_gw_update_version_v41 err:%d
    recv_func_ap_connect_test parm is err
    wf init_flag false:%d 
    wifi connect ap test is ing
    wifi connect ap test is over
    recv_func_ap_connect_test Malloc err
    ap_connect jstr:%s
    cjson parse err
    password
    Malloc ap_ssid is fail
    wf_wk_mode_set error:%d
    wf_station_disconnect err:%d
    start_connect_ap err:%d
    get_mac_addr is err
    tuya_mdev_test
    wf_assign_ap_scan error:%d
    scan ap rssi :%d
    recv jump_pack ok.
    get_local_time op_ret:%d
    prod len = %d
    ty_cJSON parse err
    timeout params illegal
    ir tx io params illegal
    ir rx io params illegal
    ir set params illegal
    user config open lowpower............
    user not set ty_enable_lowpower !!!
    user config open lowpower let user set lowpower
    user config open ir...tx:%d,rx:%d...
    open ir sever............
    ir_app_init not set............
    get_dev_info ok memrory left:%d
    recv_prod_info err:%d
    ir_rx or ir_tx is illegal,close ir switch!
    wf init_flag FALSE:%d 
    wifi net station no right :%d
    recv_uart_wf_net Malloc err len=%d
    parse error
    param is no correct
    token invalid
    IO conflict!ir_tx:%d,ir_rx:%d;sta_io:%d,key_io:%d
    same IO!sta_io:%d,key_io:%d
    IO conflict!ir_tx:%d,ir_rx:%d;sta_io:%d,key_io:%d ble status io: %d
    same IO!sta_io:%d,key_io:%d ble status io: %d
    io set illegal!ble sta_io:%d
    io set illegal!sta_io:%d,key_io:%d
    work mode len err:%d
    stop_add_sub_init cmmod_start_tm_msg err:%d
    work init again wifi net sta send
    cmd para err
    wf_work mode is %d
     main_module.module_cbs->uart_send_syn err:%d
    add reset_repet_timer err
    add ap_test_timer err
    create seme fails %d
    cmmod_cr_tm_msg_hand err
    sys_timer_msg_funtion_init err
    ty_down_load_handle_init %d
    ty_down_load_get_handle fail
    ty_cloud_handle_init fail
    recv_upgrade_transfer err
    recv_upgrade_start parm is null
    recv_upgrade_start err
    upload_net_state err:%d
    uart_fill_rv_buf
    uart_set_rv_step
    uart_recv_process
    ty_uart_fr_rx_init
    ty_uart_rx_task
    CreateAndStart failed!
    ../../../../../../components/ty_uart_public_protocol/src/ty_com_pro_base_uart_rx.c
    rv_buff overflow!!
    uart_rx_ctrl.rv_thrd_delete_flag:%d
    rx_stat:%d
    set step:%d over max
    __uart_send_msg_from_queue
    __uart_stop_timeout_retrans
    ty_uart_stop_queue_send
    ty_uart_start_queue_send
    __ur_put_msg_in_que_ret
    ty_uart_fr_send_asyn
    __ur_send_msg_instant
    ty_uart_fr_send_syn
    __uart_wait_syn_ack_timout_tm_cb
    ty_uart_fr_tx_init
    ../../../../../../components/ty_uart_public_protocol/src/ty_com_pro_base_uart_tx.c
    get queuw member failed!
    ur send data failed! op_ret:%d
    null queue
    uart_wait_timeout_tm_cb
     put frame in que param is err! 
    malloc set cmd buf is failed!
     put_in_queue is failed! ret:%d
    CreateQueueObj failed!
    sys_add_timer uart_send_msg_que_timer_cb failed! op_ret:%d
    sys_add_timer uart_send_timeout_timer_cb failed! op_ret:%d
    sys_add_timer uart_wait_timeout_tm_cb failed! op_ret:%d
    base frame not init
    check_result
    tuya_format_proc_cb
    ty_uart_send_asyn
    ty_uart_send_syn
    ../../../../../../components/ty_uart_public_protocol/src/ty_com_pro_base_tuya_format.c
    len:%d is lack
    crc16:%x check:%x
    ty_ur_tuya_format_create failed
    ty_uart_cfg_default
    ty_uart_fr_init
    ty_base_uart_init
    ../../../../../../components/ty_uart_public_protocol/src/ty_com_pro_base_uart.c
    uart already init
    uart_cfg port=%d baud_rate=%d
    ty_uart_init_and_open err :%d
    ty_uart_fr_tx_init :%d
    ty_ur_base_fr_init :%d
    ty_uart_auto_baud_init
    ../../../../../../components/ty_uart_public_auto_baud/src/ty_com_pro_svc_auto_get_baudrate_app.c
    sys_add_timer err:%d
    tuya_hal_semaphore_wait err %d
    tuya_hal_semaphore_release err %d
    ty_ur_svc_write_baud
    ty_ur_svc_read_baud
    auto_get_rate_process
    ty_ur_svc_auto_rate_init_unblock
    ty_ur_svc_auto_rate_complete
    get_detect_state :%d
    now state is timeout
    auto_get_rate
    cjson parse
    ../../../../../../components/ty_uart_public_auto_baud/src/ty_com_pro_svc_auto_get_baudrate.c
    ty_ur_svc_write_baud:%d
    cJSON_CreateObject error
    baud
    baud_cfg
    wd_common_write err:%d
    add_in_base_service_list
    ty_base_service_init
    base service already init!
    ../../../../../../components/ty_uart_public_service/src/ty_com_pro_base_service.c
    OPRT_MALLOC_FAILED
    ble_ffc_open_func
    ty_ble_ffc_service_init
    ../../../../../../components/ty_uart_public_ffc_ble/src/ty_com_pro_svc_ble_ffc_service.c
    ble ffc func has been opened!
    open ble ffc sever............
    tuya_ble_ffc_init err:%d
    ty_base_service_list_reg err %d
    read_ble_ffc_id_params
    write_ble_ffc_id_params
    ble_ffc_id_action_cb
    ble_adv_prot_proc
    bleffc_bindcheck
    tuya_ble_ffc_init
    param err...
    ble ffc checksum err
    ble ffc bind/unbind time out.
    add remote_id:0x%04x,group_id:0x%04x
    max remove remote_id:%04x,group_id:%04x
    add remote_id:%04x,group_id:%04x
    remote_id:0x%04x,group_id:0x%04x is exist!
    not find remote_id:%04x,group_id:%04x
    ble id not match!
    ../../../../../../components/ty_uart_public_ffc_ble/src/ty_com_pro_svc_ble_ffc.c
    bleffc_bindcheck timeout...
    tuya_ble_ffs_params
    cjson parse buf:%s
    ble_ffc_size
    id_arr
    remote_id
    group_id
    had been tuya_ble_ffs_inited
    add bleffc err
    add bleffc_bindcheck err
    write_ble_ffc_id_params size:
    flow_server_init
    flow_task_cb
    __pack_mul_map_data
    mqtt_custom_pub_sync
    mqc_mul_map_pub_sync
    report_flow_data_mul_map
    report_flow_data
    


    Added after 35 [minutes]:

    This is what he do:

    Mobile app screen for controlling a dehumidifier

    And what i saw communication is via RX and TX that means is via uart like in this example:

    
    uart:
      tx_pin: 1
      rx_pin: 3
      baud_rate: 9600
    


    Added after 20 [minutes]:

    I opened now and i saw there are another board who communicate with this chip , i will try to open much more to see what is on the next side of board

    Added after 28 [minutes]:

    The chip from this board is this:

    F8216ADBN

    https://vi.aliexpress.com/i/1005004865957429.html?gatewayAdapt=glo2vnm

    In attach is PDF fro this F8216ADBN

    There are another one smaller then this:

    https://datasheet.lcsc.com/lcsc/1809191954_UTC-Unisonic-Tech-ULN2003G-P16-R_C91443.pdf

    ULN2003G is another one

    Electrical circuit diagram on the metal casing of a device. Electronic board with a laptop charger in the background. Circuit board with electronic components on a desk
  • #7 20871881
    lionboy
    Level 10  
    Another picture with schema:

    Printed circuit board with pin labels next to a laptop.

    And this is all what is now on HA with Tuya Local because Tuya not give what need on this device

    Control panel for AlecoAir D16 dehumidifier in the Tuya Local application.


    This is yaml from Tuya Local:

    
    name: AlecoAir D16 dehumidifier
    products:
      - id: pzq25786mlkxmtbb
    #    name: D16 PURIFY
    primary_entity:
      entity: humidifier
      class: dehumidifier
      dps:
        - id: 1
          name: switch
          type: boolean
          mapping:
            - dps_val: false
              icon: "mdi:air-humidifier-off"
              icon_priority: 2
            - dps_val: true
              icon: "mdi:air-humidifier"
              icon_priority: 4
        - id: 2
          name: humidity
          type: integer
          range:
            min: 25
            max: 80
          mapping:
            - step: 5
        - id: 4
          name: mode
          type: string
          mapping:
            - dps_val: manual
              value: normal
            - dps_val: laundry
              value: laundry
              icon: "mdi:tshirt-crew-outline"
              icon_priority: 3
            - dps_val: purify
              value: purify
              icon: "mdi:air-filter"
              icon_priority: 3
            - dps_val: sleep
              value: sleep
              icon: "mdi:power-sleep"
              icon_priority: 3
        - id: 16
          name: current_humidity
          type: integer
        - id: 19
          name: error
          type: bitfield
          # E2 might be a compressor fault.
          mapping:
            - dps_val: 0
              value: OK
            - dps_val: 1
              value: "Water Tank Full or Removed"
              icon: "mdi:cup-water"
              icon_priority: 1
            - dps_val: 2
              value: "E2 Compressor Fault"
              icon: "mdi:engine-off-outline"
              icon_priority: 1
    secondary_entities:
      - entity: fan
        dps:
          - id: 1
            type: boolean
            name: switch
          - id: 4
            type: string
            name: dehumidifier_mode
            hidden: true
          - id: 5
            type: string
            name: speed
            mapping:
              - dps_val: low
                value: 50
                constraint: dehumidifier_mode
                conditions:
                  - dps_val: laundry
                    invalid: true
              - dps_val: high
                value: 100
                constraint: dehumidifier_mode
                conditions:
                  - dps_val: sleep
                    invalid: true
                  - dps_val: purify
                    invalid: true
      - entity: switch
        name: Ionizer
        icon: "mdi:creation"
        dps:
          - id: 10
            type: boolean
            name: switch
      - entity: sensor
        name: Current humidity
        deprecated: humidifier
        category: diagnostic
        class: humidity
        dps:
          - id: 16
            type: integer
            name: sensor
            unit: "%"
            class: measurement
      - entity: binary_sensor
        class: problem
        name: Tank full
        icon: "mdi:cup-water"
        dps:
          - id: 19
            type: bitfield
            name: sensor
            mapping:
              - dps_val: 1
                value: true
              - value: false
      - entity: binary_sensor
        class: problem
        name: Fault
        dps:
          - id: 19
            type: bitfield
            name: sensor
            mapping:
              - dps_val: 0
                value: false
              - dps_val: 1
                value: false
              - dps_val: null
                value: false
              - value: true
      - entity: lock
        name: Child lock
        category: config
        dps:
          - id: 14
            type: boolean
            name: lock
            mapping:
              - dps_val: true
                icon: "mdi:hand-back-right-off"
              - dps_val: false
                icon: "mdi:hand-back-right"
      - entity: select
        name: Timer
        icon: "mdi:timer"
        category: config
        dps:
          - id: 17
            type: string
            name: option
            mapping:
              - dps_val: cancel
                value: "Off"
              - dps_val: 1h
                value: 1 hour
              - dps_val: 2h
                value: 2 hours
              - dps_val: 3h
                value: 3 hours
              - dps_val: 4h
                value: 4 hours
              - dps_val: 5h
                value: 5 hours
              - dps_val: 6h
                value: 6 hours
              - dps_val: 7h
                value: 7 hours
              - dps_val: 8h
                value: 8 hours
              - dps_val: 9h
                value: 9 hours
              - dps_val: 10h
                value: 10 hours
              - dps_val: 11h
                value: 11 hours
              - dps_val: 12h
                value: 12 hours
              - dps_val: 13h
                value: 13 hours
              - dps_val: 14h
                value: 14 hours
              - dps_val: 15h
                value: 15 hours
              - dps_val: 16h
                value: 16 hours
              - dps_val: 17h
                value: 17 hours
              - dps_val: 18h
                value: 18 hours
              - dps_val: 19h
                value: 19 hours
              - dps_val: 20h
                value: 20 hours
              - dps_val: 21h
                value: 21 hours
              - dps_val: 22h
                value: 22 hours
              - dps_val: 23h
                value: 23 hours
              - dps_val: 24h
                value: 24 hours
    
  • #8 21375726
    divadiow
    Level 34  
    >>20870137

    Code: Text
    Log in, to see the code


    Added after 10 [minutes]:

    Tuya dpIDs

    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • #9 21377965
    p.kaczmarek2
    Moderator Smart Home
    Helpful post? Buy me a coffee.

Topic summary

Discussion revolves around interfacing with the WBR1 module found in the Aleco Air Dehumidifier D16/D12. Users are attempting to read the chip, suspected to be an AmebaZ2, but face challenges with communication via RX and TX pins. Suggestions include using the Log UART and ensuring proper pin configurations. One user successfully read the chip but encountered limitations due to the lack of accessible configuration pins. The TM1628 LED driver chip is mentioned, indicating potential communication issues with the Wi-Fi module. Additional insights include a YAML configuration for integrating the dehumidifier with Home Assistant using Tuya Local, highlighting device capabilities and data points.
Summary generated by the language model.
ADVERTISEMENT