Untitled

 avatar
unknown
yaml
a year ago
735 B
6
Indexable
#Lähetin
remote_transmitter:
  pin: GPIO13
  carrier_duty_percent: 100%
switch:
  - platform: template
    name: A rasia päälle
      - remote_transmitter.transmit_rc_switch_raw:
          code: '010010101011001100001111111100000'  #Kaukari
          protocol:
            pulse_length: 350 #The pulse length of the protocol - how many microseconds one pulse should last for.
            sync: [1, 17] #The number of high/low pulses for the sync header, defaults to [1, 31]
            zero: [1, 2] #The number of high/low pulses for a zero bit, defaults to [1, 3]
            one:  [2, 1] #The number of high/low pulses for a one bit, defaults to [3, 1]
            inverted: false #If this protocol is inverted. Defaults to false.
Editor is loading...
Leave a Comment