Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@rafales
Copy link

rafales commented Nov 16, 2020

Remote uses 38.65kHz frequency.

@FUF1
Copy link

FUF1 commented Dec 5, 2020

Did someone got it working sending IR signals to the z906 via the arduino IRremote library i.e.
Suggestions and helping comments are very much appreciated.

@webfrea-k
Copy link

webfrea-k commented Jan 27, 2021

@FUF1
Copy link

FUF1 commented Jan 27, 2021

@florianfurrer, this should help you: https://github.com/webfrea-k/ir-mapper/blob/master/ir-mapper.ino

Thanks a lot for the code! This does indeed help. Did you manage to get the above codes working without the raw codes as well? Would be nice to set the input directly for example.

@webfrea-k
Copy link

webfrea-k commented Jan 27, 2021

@florianfurrer, this should help you: https://github.com/webfrea-k/ir-mapper/blob/master/ir-mapper.ino

Thanks a lot for the code! This does indeed help. Did you manage to get the above codes working without the raw codes as well? Would be nice to set the input directly for example.

Unfortunately not yet. I tried to print out the received hex code (of Logitech remote) and send that code back out using sendNEC, sendNECStandard and others, but none of it worked. I don't think I will try again as the code above covers my needs :)

@FUF1
Copy link

FUF1 commented Jan 27, 2021

@florianfurrer, this should help you: https://github.com/webfrea-k/ir-mapper/blob/master/ir-mapper.ino

Thanks a lot for the code! This does indeed help. Did you manage to get the above codes working without the raw codes as well? Would be nice to set the input directly for example.

Unfortunately not yet. I tried to print out the received hex code (of Logitech remote) and send that code back out using sendNEC, sendNECStandard and others, but none of it worked. I don't think I will try again as the code above covers my needs :)

Alright, thank you for the info. If I manage to get it to work, I will post the solution here.

@webfrea-k
Copy link

webfrea-k commented Jan 27, 2021

@florianfurrer, this should help you: https://github.com/webfrea-k/ir-mapper/blob/master/ir-mapper.ino

Thanks a lot for the code! This does indeed help. Did you manage to get the above codes working without the raw codes as well? Would be nice to set the input directly for example.

Unfortunately not yet. I tried to print out the received hex code (of Logitech remote) and send that code back out using sendNEC, sendNECStandard and others, but none of it worked. I don't think I will try again as the code above covers my needs :)

Alright, thank you for the info. If I manage to get it to work, I will post the solution here.

Great, looking forward to it! :)

@valentin2251
Copy link

valentin2251 commented Apr 24, 2021

For my project : https://github.com/valentin2251/orangepi_zero_IR_Siri i used an Arduino Nano to send those codes to my Z906.
I had to convert them in RAW :

HEX VALUE BINARY REVERSED / OBC IN HEX / SubDevice in HEX / Device in HEX
POWER  7F80A002
INPUT  F708A002
Mute   15EAA002
Level  F50AA002
Plus   55AAA002
Effect F10EA002
Minus  956AA002

Input1 FB04A002
Input2 7D82A002
Input3 F30CA002
Input4 738CA002
Input5 FD02A002
AUX    BD42A002
TEST   FE01A002

@hatl
Copy link

hatl commented Jun 18, 2021

here's my lircd config:

begin remote

  name  Logitech_Z906
  bits                16
  flags SPACE_ENC|CONST_LENGTH
  eps                 30
  aeps               100
  header      8931  4457
  one          536  1681
  zero         536   552
  ptrail             533
  pre_data_bits       16
  pre_data        0x4005
  gap             107503
  toggle_bit_mask    0x0

      begin codes
         POWER         0x01FE
         INPUT         0x10EF
         INPUT_1       0x20DF
         INPUT_2       0x41BE
         INPUT_3       0x30CF
         INPUT_4       0x31CE
         INPUT_5       0x40BF
         MUTE          0x57A8
         LEVEL         0x50AF
         EFFECT        0x708F
         VOLUME_DOWN   0x56A9
         VOLUME_UP     0x55AA
         AUX           0x42BD
         TEST          0x807F
      end codes

end remote

@tomaszkoc
Copy link

tomaszkoc commented May 16, 2022

Could anybody post a base64 codes for this remote to use with Home Assistant Broadlink integration?

The ones below I was able to "learn" by pressing physical buttons on the remote, but I am not able to figure out the codes for INPPUT1-INPUT5 because the remote does not have those physical buttons...

"logitech_z906_speakers": {
    "power": "JgBYAAABJpEUERQ1FBEUEBQRFBEUERQQFBEUERISFBEUERQ1FBEUNRQRFBAUERQRFBEUEBMSFDUUNRQ1FDUUNhQ1FDUUNRQQFAAF3AABJ0gUAAxMAAEoRxIADQU=",
    "input": "JgBQAAABJJMTEhI3EhMSExISExISExITEhITEhITEhITEhI3ExISNxMSEhMSEhM3EhISExITEhITNxI3EjcSEhM3EjcSNxI3EgAF3QABJkkSAA0F",
    "mute": "JgBQAAABJJMTEhI3ExISExITEhISExITEhITEhITEhMSEhM2ExISNxMSEjcSExI3EhMSNxI3EjcSNxITEjcSExI3EhMSEhMSEgAF3QABJkkSAA0F",
    "level": "JgBQAAABJZMSEhM3EhITEhITEhMSEhITEhMSEhMSEhMSEhM3EhITNxISEzYTEhI3EhMSExISExISNxITEjcSExI3EjcSNxI3EgAF3QABJkkTAA0F",
    "volume_down": "JgBQAAABJZMSExI3EhITEhITEhMSEhMSEhMSExISExISExI5EBMSNxISEzcSExI2ExISNxM2ExISNxITEjcSExI3EhMSEhM2EwAF3AABJkoSAA0F",
    "volume_up": "JgBQAAABJZMSEhM3EhISExITEhITEhITEhMSEhMSEhMSEhM3EhMSNxISEzYTEhI3EhMSNxITEjcSNxITEjcSExI3EhITNxISEgAF3QABJkkTAA0F",
    "effect": "JgBQAAABJJMSExQ1FBESExMRFBEUERISFBEUERQRFBAUERI3EhMUNRITFDUUNRQ1EhMSExQQFBEUNRITFBESEhQ1FDYUNRQ1FAAF2gABKEgUAA0F"
}

@tomaszkoc
Copy link

tomaszkoc commented May 17, 2022

no need for help anymore, I managed to convert codes available here https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/logitech/
using this tool https://github.com/molexx/irdb2broadlinkha
(installed Ubuntu under WSL especially for this)

here is the output in case anybody needs that - it works:

'z906key_power':
  friendly_name: "z906KEY_POWER"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESERIREhESERIREjQSNBI0EjQSNBI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input':
  friendly_name: "z906INPUT"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESERI0EhESERIREhESNBI0EjQSERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_mute':
  friendly_name: "z906KEY_MUTE"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBI0EjQSNBIREjQSERI0EhESERIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906level':
  friendly_name: "z906LEVEL"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESERIREhESNBIREjQSERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906effect':
  friendly_name: "z906EFFECT"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSNBI0EhESERIREhESNBIREhESERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_kpplus':
  friendly_name: "z906KEY_KPPLUS"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBI0EhESNBIREjQSERI0EhESERI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_kpminus':
  friendly_name: "z906KEY_KPMINUS"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBIREjQSNBIREjQSERI0EhESNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input1':
  friendly_name: "z906INPUT1"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBIREhESERIREhESNBI0EhESNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input2':
  friendly_name: "z906INPUT2"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERIREjQSNBIREjQSNBI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input3':
  friendly_name: "z906INPUT3"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBI0EhESERIREhESNBI0EhESERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input4':
  friendly_name: "z906INPUT4"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBI0EhESERIREjQSNBI0EhESERI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input5':
  friendly_name: "z906INPUT5"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERIREhESNBIREjQSNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_aux':
  friendly_name: "z906KEY_AUX"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERI0EhESNBIREjQSNBI0EjQSERI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906test':
  friendly_name: "z906TEST"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBI0EhESERIREhESERIREhESERI0EjQSNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

@pladaria
Copy link
Author

pladaria commented May 17, 2022

Nice! Thank you!

@Dillton
Copy link

Dillton commented May 26, 2022

no need for help anymore, I managed to convert codes available here https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/logitech/ using this tool https://github.com/molexx/irdb2broadlinkha (installed Ubuntu under WSL especially for this)

here is the output in case anybody needs that - it works:

'z906key_power':
  friendly_name: "z906KEY_POWER"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESERIREhESERIREjQSNBI0EjQSNBI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input':
  friendly_name: "z906INPUT"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESERI0EhESERIREhESNBI0EjQSERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_mute':
  friendly_name: "z906KEY_MUTE"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBI0EjQSNBIREjQSERI0EhESERIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906level':
  friendly_name: "z906LEVEL"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESERIREhESNBIREjQSERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906effect':
  friendly_name: "z906EFFECT"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSNBI0EhESERIREhESNBIREhESERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_kpplus':
  friendly_name: "z906KEY_KPPLUS"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBI0EhESNBIREjQSERI0EhESERI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_kpminus':
  friendly_name: "z906KEY_KPMINUS"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERI0EhESNBIREjQSNBIREjQSERI0EhESNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input1':
  friendly_name: "z906INPUT1"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBIREhESERIREhESNBI0EhESNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input2':
  friendly_name: "z906INPUT2"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERIREjQSNBIREjQSNBI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input3':
  friendly_name: "z906INPUT3"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBI0EhESERIREhESNBI0EhESERI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input4':
  friendly_name: "z906INPUT4"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREhESNBI0EhESERIREjQSNBI0EhESERI0EjQSNBIREwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906input5':
  friendly_name: "z906INPUT5"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERIREhESNBIREjQSNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906key_aux':
  friendly_name: "z906KEY_AUX"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBIREjQSERIREhESERI0EhESNBIREjQSNBI0EjQSERI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

'z906test':
  friendly_name: "z906TEST"
  command_on: 'JgBQAAABJpASERI0EhESERIREhESERIREhESERIREhESERI0EhESNBI0EhESERIREhESERIREhESERI0EjQSNBI0EjQSNBI0EwAGDQABJkYTAAxHDQUAAAAAAAA='

Hi, very nice thank you very much. I am just working on the exact same thing.
One question, can you tell me where are the codes stored for Broadlink integration in Home Assistant please? I could not find the file.
Thanks in advance :)

@tomaszkoc
Copy link

tomaszkoc commented May 26, 2022

on my RaspberryPi the Broadlink config file is here:
/config/.storage/broadlink_remote_24dfa7f0e29c_codes

@Dillton
Copy link

Dillton commented May 26, 2022

Yeah I know already. I missed the "." in storage folder name so did not realized its hidden folder and cant be seen in file editor xD
One more thing. Did you just modified and saved the file with codes? Or is there some different approach to learn the codes correctly?
I am asking mostly because of the Input1-5 codes which does not have physical buttons on remote.

@tomaszkoc
Copy link

tomaszkoc commented May 26, 2022

i only edited this file by adding new codes wrapped by the same syntax as others previously learned, it worked immediately after edits

@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 :)

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