Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/docs/devices/Tuya-TYWRD-RF/case.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions src/docs/devices/Tuya-TYWRD-RF/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# TYWRD-RF WiFi Smart Garage Door Opener Switch

Smart switch with rf receiver, one relay. CB3S microcontroller.
Input Voltage: AC85-250V or Micro-USB DC5V

## Product Image

![PCB](pcb.jpg)

![Case](case.jpg)

## GPIO Pinout

| Pin | Function |
| ------ | ---------------------------------- |
| P6 | Button 1 |
| P14 | Button 2 |
| P24 | Relay |
| P26 | RF Receiver |

## Basic Configuration

```yaml
esphome:
name: tywrd-rf

bk72xx:
board: cb3s

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:

logger:

api:

ota:

remote_receiver:
pin: P26
dump: rc_switch
tolerance: 50%
filter: 250us
idle: 4ms

binary_sensor:
- platform: gpio
pin:
number: P6
inverted: true
name: "Button 1"
on_press:
- button.press: garagedoor
- platform: gpio
pin:
number: P14
inverted: true
name: "Button 2"
- platform: remote_receiver
name: "RF1"
rc_switch_raw:
code: '011111010000001101110011'
on_press:
- button.press: garagedoor

output:
- platform: gpio
pin: P24
id: relay

button:
- platform: output
name: "Garagedoor"
id: garagedoor
output: relay
duration: 500ms
```
Binary file added src/docs/devices/Tuya-TYWRD-RF/pcb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading