07-22-2023, 03:42 AM
tomorrow will take video for you and upload this video tour on our YouTube channel.
Code:
esphome:
name: a8
platform: ESP32
board: esp32dev
remote_receiver:
pin: 15
dump:
- rc_switch
tolerance: 50%
filter: 250us
idle: 2ms
buffer_size: 2kb
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
# Individual switches
switch:
- platform: template
name: RF Power Button
turn_on_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '001111010111001010111000'
protocol: 1
repeat:
times: 10
wait_time: 0s
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
# Enable logging
logger:
# Enable Home Assistant API
api: