Logo
EaryKong Doorbell (DB_B)
EU
EaryKong Doorbell

Available from:
Aliexpress.com
Banggood.com






Install method:
USB to Serial

GPIO #Component
GPIO00 None
GPIO01 Tuya Tx
GPIO02 None
GPIO03 Tuya Rx
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 None
GPIO14 None
GPIO15 None
GPIO16 None
GPIO17 None
Configuration
{"NAME":"Doorbell","GPIO":[0,2272,0,2304,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":18}

This device now comes with a Wi-Fi module incompatible with Tasmota

After the buttons are paired with the gateway copy their values from Tasmota console and add them as a binary_sensor to Home Assistant.

Example:

binary_sensor:
  - platform: mqtt
    name: "Button Pressed"
    state_topic: "tele/Tuya-Doorbell/RESULT"
    payload_on: "0053006F006D00650062006F00640079002000560069007300690074000A002000280023003000300020005A006F006E00650029"
    value_template: "{{ value_json.TuyaReceived['26'].DpIdData }}"
    availability:
      - topic: "tele/Tuya-Doorbell/LWT"
        payload_available: "Online"
        payload_not_available: "Offline"
    device_class: occupancy
    off_delay: 5

  - platform: mqtt
    name: "Button Tampered"
    state_topic: "tele/Tuya-Doorbell/RESULT"
    payload_on: "00530065006E0073006F0072002000540061006D00700065007200200041006C00610072006D000A002000280023003000300020005A006F006E00650029"
    value_template: "{{ value_json.TuyaReceived['26'].DpIdData }}"
    availability:
      - topic: "tele/Tuya-Doorbell/LWT"
        payload_available: "Online"
        payload_not_available: "Offline"
    device_class: occupancy
    off_delay: 5

Volume can be adjusted on DPID 30, on HA add:

input_select:
    tuya_doorbell_volume:
      name: Doorbell Volume
      options:
        - "Max"
        - "Med+"
        - "Med-"
        - "Min"
        - "Muted"
      icon: mdi:bell-ring

And create a automation to change the volume accordingly:

alias: Tuya_DoorBell Volume Change
description: ''
trigger:
  - platform: state
    entity_id: input_select.tuya_doorbell_volume
condition: []
action:
  - service: mqtt.publish
    data:
      topic: cmnd/Tuya-Doorbell/TuyaSend4
      payload_template: >
        30,{% if trigger.to_state.state == "Max" %} 0 {% elif
        trigger.to_state.state == "Med+" %} 1 {% elif trigger.to_state.state ==
        "Med-" %} 2 {% elif trigger.to_state.state == "Min" %} 3 {% elif
        trigger.to_state.state == "Muted" %} 4 {% endif %}
mode: single