AVATTO ME81H Thermostat

Thank you. As a matter of fact, since ME81H features a WBR3 module, I understood that I had to replace it by an ESP12s module that has been flashed prior the soldering phase. Now I’m having a fully working Tasmota unit.

Hi GunThor,

Did you ever figure out how to pair them to ZIgbee? I’m still struggling…

Hi there,

i know this ist older Thread, but i want to share my experience with Avatto ME81H Thermostat to reflash ist to ESPHome for Homeassistant.
First: i had buy one Avatto ME81H Thermostat wirth Tuya Wifi Chip “WBR3”
grafik

This Chip cannot be reflashed to Tasmota or anything else…

Then i decided to resolder it to ESP12-F …before i did it…i flashed this to ESPHome with standard code in, because Tasmota was not reliable to me in some Resons and i needed more Conrol interface to this Thermostat. In Internet i searched how and which pins…it says in some Forums: 1:1 compatible…BUT!!! this ist was not compatible to my Board.
I Decided to solder only knowing pins: VCC,GND, TX,RX, EN and GPIO14.

GPIO14 is very important to tell tuyamcu-µC Wifi is ready and need to be NOT inverted!, Otherwise you cannot set the Target Temperature over Wifi, only Local.
Other Pins i isolated from PCB by lift the esp <1mm in air:
grafik
On board i soldered thin bridge between GND and GPIO15, i hope you can see it on the left corner.

Then my esp Working perfect with this Yaml in ESP-Home with HomeAssistant:

esphome:
  name: thermostat
  friendly_name: Thermostat

esp8266:
  board: d1_mini

logger:
  baud_rate: 0
# Enable Home Assistant API
api:
  encryption:
    key: ""

ota:
  password: ""

uart:
  rx_pin: GPIO3
  tx_pin: GPIO1
  baud_rate: 9600
  
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Thermostat Fallback Hotspot"
    password: ""
  manual_ip:
    static_ip: 192.168.171.125
    gateway: 192.168.171.1
    subnet: 255.255.255.0

time:
  - platform: sntp
    id: sntp_time
    timezone: Europe/Berlin
    servers:
     - 0.pool.ntp.org
     - 1.pool.ntp.org
     - 2.pool.ntp.org

tuya:
  id: tuyamcu
  time_id: sntp_time
  status_pin:
      number: 14
      inverted: false

captive_portal:

climate:
  - platform: tuya
    tuya_id: tuyamcu
    name: "Thermostat"
    #supports_heat: false
    switch_datapoint: 1
    active_state_datapoint: 36
    active_state_heating_value: 0
    target_temperature_datapoint: 16
    current_temperature_datapoint: 24
    current_temperature_multiplier: 0.1
    target_temperature_multiplier: 0.1
    visual:
      min_temperature: 10
      max_temperature: 40
      temperature_step:
        target_temperature: 0.5
        current_temperature: 0.5

switch:
  - platform: tuya
    name: "Sperre"
    switch_datapoint: 40
select:
  - platform: "tuya"
    name: "Auto/Manual"
    enum_datapoint: 2
    optimistic: true
    options:
      0: Auto
      1: Manual
  - platform: "tuya"
    name: "Display-Modus"
    enum_datapoint: 52
    optimistic: true
    options:
      0: 0%
      1: 25%
      2: 50%
      3: 100%
  - platform: "tuya"
    name: "Zeitmodus"
    enum_datapoint: 104
    optimistic: true
    options:
      0: Aus
      1: Mo-Fr
      2: Mo-Sa
      3: Mo-So
  - platform: "tuya"
    name: "Sensormodus"
    enum_datapoint: 43
    optimistic: true
    options:
      0: Intern
      1: Extern
      2: Int/Ext
#sensor:
  #- platform: "tuya"
    #name: "Externer Sensor"
    #sensor_datapoint: 101
    #unit_of_measurement: °C
    #icon: mdi:thermometer
    #filters:
      #- multiply: 0.1

And This i can see and Control in HA:

Only ESPHome version is: 2024.3.1 And DO NOT Update it NOW…Esphome have some problems with tuya climate instances in new versions. We need to wait some updates.
ps: sorry for my bad english…i hope you can now resolder this at your home like this and i hope i helped some of you.

1 Like