Skip to content

Instantly share code, notes, and snippets.

@dkam
Created September 11, 2024 05:45
Show Gist options
  • Save dkam/d29382ff886cf52df790e9a46e3c36ac to your computer and use it in GitHub Desktop.
Save dkam/d29382ff886cf52df790e9a46e3c36ac to your computer and use it in GitHub Desktop.
remote_transmitter:
pin: GPIO5
# RF uses a 100% carrier signal
carrier_duty_percent: 100%
button:
- platform: template
name: Light Off Raw
on_press:
- remote_transmitter.transmit_raw:
code: [-828, 1443, -833, 1442, -831, 1444, -832, 1442, -441, 696, -830, 1442, -434, 701, -438, 700, -441, 699, -439, 698, -438, 700, -435, 706, -822, 1446, -831, 1447, -825, 1445, -835]
repeat:
times: 5
wait_time: 0ms
- platform: template
name: Light On raw
on_press:
- remote_transmitter.transmit_raw:
code: [1443, -830, 1445, -824, 1450, -826, 1448, -832, 1442, -823, 1446, -435, 703, -440, 698, -442, 697, -434, 704, -436, 702, -448, 690, -826, 1444, -832, 1442, -436, 702, -441, 697, -439, 700]
repeat:
times: 5
wait_time: 0ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment