Skip to content

Instantly share code, notes, and snippets.

@pladaria
Created December 12, 2019 11:35
Show Gist options
  • Save pladaria/f8a1ce754f1ed3022b78f8a302d463b5 to your computer and use it in GitHub Desktop.
Save pladaria/f8a1ce754f1ed3022b78f8a302d463b5 to your computer and use it in GitHub Desktop.
Logitech Speaker System Z906 remote IR codes

From:

Code:
Protocol: NEC1
Device: 2
SubDevice: 160

Func.  OBC  HEX  EFC
Power: 128  FE   189
Input: 8    EF   053
Mute:  234  A8   079
Level: 10   AF   055
Plus:  170  AA   095
Effect:14   8F   054
Minus: 106  A9   071

Input1 4    DF   180
Input2 130  BE   191
Input3 12   CF   052
Input4 140  CE   060
Input5 2    BF   183
AUX    66   BD   167
TEST   1    7F   185


Code:
Upgrade Code 0 = 34 57 (Amp/1111) Logitech Speaker System Z906 (RM v2.02 Beta)
 5A 00 F5 20 BF FA 7F DF BE CF CE BF BD 00 00 00
 AA A9 A8 AF 8F FE EF
End
@Dillton
Copy link

Dillton commented May 26, 2022

Thank you very much, finally I can use one remote for Xiaomi box, TV and Z906 plus some automations for switching inputs based on active devices :)

@FourtyNos
Copy link

Hi, anybode who made it work with esphome? could use some help. it took the codes from @hatl in translated it in binary format but it won't work.

@hatl
Copy link

hatl commented Aug 11, 2024

hi

here's the relevant part of my esphome config:

remote_transmitter:
  pin: GPIO0
  # Infrared remotes use a 50% carrier signal
  carrier_duty_percent: 50%

button: !include common/z906_ir.yaml

and the content of z906_ir.yaml

  - platform: template
    name: "Z906 Power Toggle"
    id: z906_power_toggle
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400501FE
          nbits: 32
  - platform: template
    name: "Z906 Next Input"
    id: z906_next_input
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400510EF
          nbits: 32
  - platform: template
    name: "Z906 Input 1"
    id: z906_input_1
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400520DF
          nbits: 32
  - platform: template
    name: "Z906 Input 2"
    id: z906_input_2
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400541BE
          nbits: 32
  - platform: template
    name: "Z906 Input 3"
    id: z906_input_3
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400530CF
          nbits: 32
  - platform: template
    name: "Z906 Input 4"
    id: z906_input_4
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400531CE
          nbits: 32
  - platform: template
    name: "Z906 Input 5"
    id: z906_input_5
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400540BF
          nbits: 32
  - platform: template
    name: "Z906 Mute"
    id: z906_mute
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400557A8
          nbits: 32
  - platform: template
    name: "Z906 Level"
    id: z906_level
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400550AF
          nbits: 32
  - platform: template
    name: "Z906 Effect"
    id: z906_effect
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x4005708F
          nbits: 32
  - platform: template
    name: "Z906 Volume Down"
    id: z906_volume_down
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400556A9
          nbits: 32
  - platform: template
    name: "Z906 Volume Up"
    id: z906_volume_up
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400555AA
          nbits: 32
  - platform: template
    name: "Z906 AUX"
    id: z906_aux
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x400542BD
          nbits: 32
  - platform: template
    name: "Z906 Test"
    id: z906_test
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x4005807F
          nbits: 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment