More ir.json files (for existing remotes)

Hi, I’m new to WLED, and it’s more amazing than I thought.

I’ve just been finding out about the ir.json files and have successfully installed the one for my 44 button remote.

Turns out the ir.json file gives quite different behaviour to the the one built into the code (fade buttons going to presets rather than fading etc, etc).

Does anyone have an ir.json file that matches the ‘C++’ code version for the 44 button remote?

what would be the purpose of that?
but you can always just duplicate it yourself by editing ir.json.

Because I like the hard coded mapping for the 44 button remote and only want to change 1 button. Also new to WLED so wanted to do it quickly.

Not to worry, I made one anyway (with a couple of key changes :slight_smile: )


{
“remote”: “44-key-v2”,
“0xFF3AC5”: {
“label”: “Bright +”,
“pos”: “1x1”,
“cmd”: “!incBrightness”
},
“0xFFBA45”: {
“label”: “Bright -”,
“pos”: “1x2”,
“cmd”: “!decBrightness”
},
“0xFF827D”: {
“label”: “Off”,
“pos”: “1x3”,
“cmd”: “T=0”
},
“0xFF02FD”: {
“label”: “On”,
“pos”: “1x4”,
“cmd”: “T=1”
},

“0xFF1AE5”: {
“label”: “Red”,
“pos”: “2x1”,
“cmnt”: " * Row 2 * ",
“cmd”: “R=255&G=0&B=0”
},
“0xFF9A65”: {
“label”: “Green”,
“pos”: “2x2”,
“cmnt”: “Forest”,
“cmd”: “R=00&G=255&B=00”
},
“0xFFA25D”: {
“label”: “Deep Blue”,
“pos”: “2x3”,
“cmd”: “R=00&G=00&B=255”
},
“0xFF22DD”: {
“label”: “Cold White 2”,
“pos”: “2x4”,
“cmd”: “R=255&G=255&B=255”
},

“0xFF2AD5”: {
“label”: “Reddish”,
“pos”: “3x1”,
“cmnt”: " * Row 3 * ",
“cmd”: “R=255&G=120&B=00”
},
“0xFFAA55”: {
“label”: “Greenish”,
“pos”: “3x2”,
“cmd”: “R=00&G=255&B=120”
},
“0xFF926D”: {
“label”: “Blue”,
“pos”: “3x3”,
“cmd”: “R=00&G=160&B=255”
},
“0xFF12ED”: {
“label”: “Warm White 2”,
“pos”: “3x4”,
“cmd”: “R=255&G=255&B=250&W=105”
},

“0xFF0AF5”: {
“label”: “Orange”,
“pos”: “4x1”,
“cmnt”: "* Row 4 * ",
“cmd”: “R=255&G=160&B=00”
},
“0xFF8A75”: {
“label”: “Turquoise”,
“pos”: “4x2”,
“cmnt”: “Beech”,
“cmd”: “R=00&G=255&B=160”
},
“0xFFB24D”: {
“label”: “Purple”,
“pos”: “4x3”,
“cmd”: “R=170&G=00&B=255”
},
“0xFF32CD”: {
“label”: “Warm White”,
“pos”: “4x4”,
“cmd”: “R=255&G=255&B=191&W=142”
},

“0xFF38C7”: {
“label”: “Yellowish”,
“pos”: “5x1”,
“cmnt”: " * Row 5 * ",
“cmd”: “R=255&G=200&B=00”
},
“0xFFB847”: {
“label”: “Cyan”,
“pos”: “5x2”,
“cmnt”: “Beech”,
“cmd”: “R=00&G=255&B=220”
},
“0xFF7887”: {
“label”: “Magenta”,
“pos”: “5x3”,
“cmd”: “R=255&G=00&B=220”
},
“0xFFF807”: {
“label”: “Cold White”,
“pos”: “5x4”,
“cmd”: “R=255&G=255&B=233&W=217”
},

“0xFF18E7”: {
“label”: “Yellow”,
“pos”: “6x1”,
“cmnt”: " * Row 6 * ",
“cmd”: “R=255&G=255&B=00”
},
“0xFF9867”: {
“label”: “Aqua”,
“pos”: “6x2”,
“cmd”: “R=00&G=200&B=255”
},
“0xFF58A7”: {
“label”: “Pink”,
“pos”: “6x3”,
“cmd”: “R=255&G=00&B=160”
},
“0xFFD827”: {
“label”: “Neutral White”,
“pos”: “6x4”,
“cmd”: “R=255&G=212&B=255&W=180”
},

“0xFF28D7”: {
“label”: “Red +”,
“pos”: “7x1”,
“cmnt”: “Effect ID Increase”,
“cmd”: “FX=~1”
},
“0xFFA857”: {
“label”: “Green +”,
“pos”: “7x2”,
“cmnt”: “Pallet ID Increase”,
“cmd”: “FP=~1”
},
“0xFF6897”: {
“label”: “Blue +”,
“pos”: “7x3”,
“cmnt”: “Increase Effect Intensity”,
“cmd”: “IX=~16”
},
“0xFFE817”: {
“label”: “Quick”,
“pos”: “7x4”,
“cmnt”: “Fx speed +16”,
“cmd”: “SX=~16”
},

“0xFF08F7”: {
“label”: “Red -”,
“pos”: “8x1”,
“cmnt”: “Effect ID Decrease”,
“cmd”: “FX=~-1”
},
“0xFF8877”: {
“label”: “Green -”,
“pos”: “8x2”,
“cmnt”: “Pallet ID Decrease”,
“cmd”: “FP=~-1”
},
“0xFF48B7”: {
“label”: “Blue -”,
“pos”: “8x3”,
“cmnt”: “Decrease Effect Intensity”,
“cmd”: “IX=~-16”
},
“0xFFC837”: {
“label”: “Slow”,
“pos”: “8x4”,
“cmnt”: “FX speed -16”,
“cmd”: “SX=~-16”
},

“0xFF30CF”: {
“label”: “Diy1”,
“pos”: “9x1”,
“cmd”: “PL=1”
},
“0xFFB04F”: {
“label”: “Diy2”,
“pos”: “9x2”,
“cmd”: “PL=2”
},
“0xFF708F”: {
“label”: “Diy3”,
“pos”: “9x3”,
“cmd”: “PL=3”
},
“0xFFF00F”: {
“label”: “Auto”,
“pos”: “9x4”,
“cmnt”: “DIY 7”,
“cmd”: “PL=7”
},

“0xFF10EF”: {
“label”: “Diy4”,
“pos”: “10x1”,
“cmd”: “PL=4”
},
“0xFF906F”: {
“label”: “Diy5”,
“pos”: “10x2”,
“cmd”: “PL=5”
},
“0xFF50AF”: {
“label”: “Diy6”,
“pos”: “10x3”,
“cmd”: “PL=6”
},
“0xFFD02F”: {
“label”: “Flash”,
“pos”: “10x4”,
“cmnt”: “DIY 8”,
“cmd”: “PL=8”
},

“0xFF20DF”: {
“label”: “Jump3”,
“pos”: “11x1”,
“cmnt”: “Brightness 1%”,
“cmd”: “A=1”
},
“0xFFA05F”: {
“label”: “Jump7”,
“pos”: “11x2”,
“cmnt”: “Brightness 33%”,
“cmd”: “A=85”
},
“0xFF609F”: {
“label”: “Fade3”,
“pos”: “11x3”,
“cmnt”: “Brightness 66%”,
“cmd”: “A=170”
},
“0xFFE01F”: {
“label”: “Fade7”,
“pos”: “11x4”,
“cmnt”: “Brightness 100%”,
“cmd”: “A=255”
}
}

Example for Apple V2 Remote (silver with 2 buttons)

{
  "desc": "Apple V2 Remote Presets",
  "0x77E17A12": { "label": "play","cmnt": "Play/Pause", "cmd": {"ps":"1~9~r"} }
  "0x77E14012": { "label": "menu", "cmnt": "On/Off", "cmd": {"on":"t"} }
  "0x77E1B012": { "label": "down", "cmnt": "Brightness -", "cmd": {"bri":"~-8"} }
  "0x77E1D012": { "label": "up", "cmnt": "Brightness +", "cmd": {"bri":"~+8"} }
  "0x77E11012": { "label": "left", "cmnt": "Effect -", "cmd": {"seg":{"fx":"~-"}} }
  "0x77E1E012": { "label": "right", "cmnt": "Effect +", "cmd": {"seg":{"fx":"~+"}} }
  "0x77E1BA12": { "label": "ok", "cmnt": "Change palette", "cmd": {"seg":{"pal":"~"}} }
}