| Brand | Earykong |
| Manufacturer | — |
| Model Number | DB_B |
| Also Known As | — |
| ASIN | — |
| Price | — |
| Official Site | — |
| Dimensions | — |
| Weight | — |
| Color / Material | — / — |
| Cloud Control | — |
| Local Control | Yes |
| Hardware Requirements | — |
| Requirement Notes | — |
| Release / Discontinued | — / Active |
| Connectivity | |
| Power Types | — |
| USB Type | — |
| Battery | — |
| Sensors | — |
| Voice Assistants | — |
| Compatible Apps | — |
| Compatible Services | |
| Source | blakadder_templates |
Description
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:
{% highlight yaml %}
{% raw %}
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-
Additional Attributes
| Device Type | Miscellaneous |
|---|
| Electrical Standard | eu |
|---|