Sdomotica

Global Caché

Jul 2nd, 2018
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.57 KB | None | 0 0
  1. remote:
  2.   - platform: itach
  3.     name: RackAV
  4.     host: 192.168.1.36
  5.     devices:
  6.       - name: TV
  7.         connaddr: 3
  8.         commands:
  9.           - name: "Volume Up"
  10.             data: "0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05F7 015B 0057 0016 0E6C"
  11.           - name: "Volume Down"
  12.             data: "0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05F7 015B 0057 0016 0E6C"
  13.           - name: "On"
  14.             data: "0000 006d 0022 0002 0157 00ac 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0689 0157 0056 0015 0e94"
  15.           - name: "Off"
  16.             data: "0000 006d 0022 0002 0157 00ac 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0689 0157 0056 0015 0e94"
  17.           - name: "Channel Up"
  18.             data: 0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05F7 015B 0057 0016 0E6C"
  19.          - name: "Channel Down"
  20.            data: "0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05F7 015B 0057 0016 0E6C"
  21.  
  22.            
  23. automation:
  24.  - alias: LG Oled Volume UP
  25.    initial_state: True
  26.    trigger:
  27.        #*25*23#5*29##  long 5-9
  28.      - platform: mqtt
  29.        topic: sdomotica/cenplus/extend
  30.        payload: '1-21'
  31.    action:
  32.      - service: remote.send_command
  33.        entity_id: remote.tv
  34.        data:
  35.          command: "Volume Up"
  36.  
  37.  - alias: LG Oled Volume Down
  38.    initial_state: True
  39.    trigger:
  40.        #*25*23#6*29##  long 5-9
  41.      - platform: mqtt
  42.        topic: sdomotica/cenplus/extend
  43.        payload: '2-21'
  44.    action:
  45.      - service: remote.send_command
  46.        entity_id: remote.tv
  47.        data:
  48.          command: "Volume Down"
  49.  - alias: LG Oled On
  50.    initial_state: True
  51.    trigger:
  52.        #*25*21#5*29##  short 5-9
  53.      - platform: mqtt
  54.        topic: sdomotica/cenplus/short
  55.        payload: '1-21'
  56.    action:
  57.      - service: remote.send_command
  58.        entity_id: remote.tv
  59.        data:
  60.          command: "On"
  61.  
  62.  - alias: LG Oled Off
  63.    initial_state: True
  64.    trigger:
  65.        #*25*21#6*29##  short 6-9
  66.      - platform: mqtt
  67.        topic: sdomotica/cenplus/short
  68.        payload: '2-21'
  69.    action:
  70.      - service: remote.send_command
  71.        entity_id: remote.tv
  72.        data:
  73.          command: "Off"
  74.  
  75.  - alias: LG Oled Channel UP
  76.    initial_state: True
  77.    trigger:
  78.        #*25*21#6*29##  short 6-9
  79.      - platform: mqtt
  80.        topic: sdomotica/cenplus/short
  81.        payload: '3-21'
  82.    action:
  83.      - service: remote.send_command
  84.        entity_id: remote.tv
  85.        data:
  86.          command: "Channel Up"
  87.  
  88.  - alias: LG Oled Channel Down
  89.    initial_state: True
  90.    trigger:
  91.        #*25*21#6*29##  short 6-9
  92.      - platform: mqtt
  93.        topic: sdomotica/cenplus/short
  94.        payload: '4-21'
  95.    action:
  96.      - service: remote.send_command
  97.        entity_id: remote.tv
  98.        data:
  99.          command: "Channel Down"
Advertisement
Add Comment
Please, Sign In to add comment