logo elektroda
logo elektroda
X
logo elektroda

Ettroit ETWF4301 Thermostat with BK7231N: Finding OpenBeken Template Without Tuya Config

lamero345 123 2
ADVERTISEMENT
  • #1 21758458
    lamero345
    Level 2  
    Thermostat Ettroit ETWF4301 - BK7231N

    Ettroit ETWF4301 Thermostat with BK7231N: Finding OpenBeken Template Without Tuya Config

    I successfully flashed OpenBeken via serial on device Thermostat Ettroit ETWF4301.
    I have the backup of original firmware but never connected it to Tuya app.
    BK7231Flasher cannot extract config from binary.
    How to proceed to find a valid template?
    Thanks
  • ADVERTISEMENT
  • #2 21758615
    divadiow
    Level 36  
    what does Easy Flasher say when you try?

    Added after 3 [minutes]:

    https://github.com/tuya-cloudcutter/tuya-cloudcutter/issues/853

    probably a TuyaMCU device so you'll not be setting assignments in the config page but rather running the TuyaMCU driver and setting up dpIDs in autoexec relevant to your device

    Guides and examples:

    TuyaMCU flashing, setup and configuration guide - configure dpIDs for Home Assistant
    https://www.elektroda.com/rtvforum/topic4038151.html

    TuyaMCU protocol - communication between the microcontroller and the WiFi module
    https://www.elektroda.com/rtvforum/topic3880546.html

    OpenBeken and TuyaMCU dimmer - configuration guide/tutorial
    https://www.elektroda.com/rtvforum/topic3898502.html

    Extracting DpIDs for TUYA MCU devices
    https://www.elektroda.com/rtvforum/topic4021129.html

    How to get dpID list of types and values for flashed TuyaMCU devices with OpenBeken
    https://www.elektroda.com/rtvforum/topic4049908.html

    How to make TuyaMCU device send more data points? Why are dpIDs not sent? Processing by the Wi-Fi...
    https://www.elektroda.com/rtvforum/topic4089722.html

    Scripting the behaviour of TuyaMCU relay OpenBeken - custom buttons, timers, events, countdown
    https://www.elektroda.com/rtvforum/topic4009196.html

    If you want to share your factory firmware backup I could check and jump-start your journey with some info from it
  • #3 21758731
    lamero345
    Level 2  
    Factory firmware backup in attachment.

    Anyway with ESPHOME firmware I discovered some useful datapoints. Now thermostat is working but not all datapoints are configured.

    This is yaml:

    
    substitutions:
      name: thermostat
      friendly_name: thermostat
    
    esphome:
      name: ${name}
      friendly_name: ${friendly_name}
    
    bk72xx:
      board: cb3s
    
    logger:
      baud_rate: 0
    
    api:
    
    ota:
      - platform: esphome
    
    wifi:
      ssid: !secret wifi_ssid
      password: !secret wifi_password
    
    uart:
      - baud_rate: 9600
        tx_pin: GPIO11
        rx_pin: GPIO10
        id: tuya_uart 
    
    time:
      - platform: homeassistant
        id: homeassistant_time
    
    tuya:
      uart_id: tuya_uart
      time_id: homeassistant_time 
        
    climate:
      - platform: tuya
        name: ${name}
        switch_datapoint: 1
        target_temperature_datapoint: 16
        current_temperature_datapoint: 24
        temperature_multiplier: 0.1
    


    These are datapoints:

    
    Datapoint 1: switch (value: ON)
    Datapoint 2: enum (value: 1)
    Datapoint 44: int value (value: 2)
    Datapoint 101: switch (value: OFF)
    Datapoint 3: enum (value: 0)
    Datapoint 71: raw (value: 06.00.00.C8.08.00.00.96.0B.1E.00.96.0D.1E.00.96.11.00.00.DC.16.00.00.C8.06.00.00.C8.08.00.00.C8.0B.1E.00.C8.0D.1E.00.C8.11.00.00.C8.16.00.00.96.06.00.00.C8.08.00.00.C8.0B.1E.00.C8.0D.1E.00.C8.11.00.00.C8.16.00.00.96 (72))
    Datapoint 16: int value (value: 215)
    Datapoint 19: int value (value: 350)
    Datapoint 26: int value (value: 50)
    Datapoint 24: int value (value: 170)
    Datapoint 102: enum (value: 0)
    Datapoint 103: int value (value: 1)
    Datapoint 27: int value (value: -2)
    Datapoint 106: int value (value: 64)
    Datapoint 105: int value (value: 0)
    Datapoint 104: enum (value: 0)
    
ADVERTISEMENT