This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2026-02-06 21:08:20 +05:00
parent 681bb3e16c
commit fff0982531
7 changed files with 202 additions and 31 deletions

View File

@@ -33,6 +33,21 @@ wifi:
gateway: 192.168.88.1
subnet: 255.255.255.0
remote_receiver:
pin: 15
dump:
- rc_switch
tolerance: 100%
filter: 250us
idle: 4ms
buffer_size: 4kb
remote_transmitter:
pin: 2
# RF uses a 100% carrier signal
carrier_duty_percent: 100%
i2c:
sda: 4
@@ -138,6 +153,29 @@ switch:
inverted: true
binary_sensor:
- platform: remote_receiver
name: "remoter1"
rc_switch_raw:
protocol: 3
code: '000000111110110100001'
on_press:
- switch.turn_off: switch_output7
- switch.turn_on: switch_output6
filters:
- delayed_off: 20ms
- platform: remote_receiver
name: "remoter2"
rc_switch_raw:
protocol: 3
code: '000000111110110100010'
on_press:
- switch.turn_off: switch_output6
- switch.turn_on: switch_output7
filters:
- delayed_off: 20ms
- platform: gpio
name: "a8-input1"
pin:
@@ -148,10 +186,8 @@ binary_sensor:
on_press:
- switch.toggle: switch_output1
on_release:
- switch.toggle: switch_output1
- switch.toggle: switch_output1
- platform: gpio
name: "a8-input2"
pin: