probonopd / irdb

One of the largest crowd-sourced, manufacturer-independent databases of infrared remote control codes on the web, and aspiring to become the most comprehensive and most accurate one
Other
798 stars 148 forks source link

How can I capture and submit IR codes for missing remotes? #84

Closed ponchohoncho closed 2 years ago

ponchohoncho commented 2 years ago

I have a handful of remotes that are not in your database, one in particular that I've seen requests for and is very very expensive and hard to find. I really want to scan these in to help other people who are looking for these remotes. I have an ESP32 running ESPHome with an IR receiver, and looking the logs as I press buttons on this remote, I get codes like this:

Same + button pressed on a remote

[22:06:17][D][remote.raw:041]: Received Raw: 729, -703, 2181, -695, 726, -694, 727, -704, 2184, -695, 725, -2124, 2156, -1422, 1427
[22:06:18][D][remote.raw:041]: Received Raw: 726, -702, 2182, -693, 727, -694, 727, -705, 2182, -694, 727, -2123, 2155, -1423, 1427
[22:06:18][D][remote.raw:041]: Received Raw: 727, -702, 2183, -696, 725, -695, 726, -705, 2182, -696, 726, -2123, 2156, -1423, 1428
[22:06:19][D][remote.raw:041]: Received Raw: 728, -703, 2182, -695, 726, -696, 725, -706, 2182, -694, 726, -2123, 2157, -1422, 1428
[22:06:19][D][remote.raw:041]: Received Raw: 727, -704, 2180, -696, 725, -695, 726, -707, 2181, -696, 725, -2124, 2155, -1422, 1429
[22:06:19][D][remote.raw:041]: Received Raw: 726, -703, 2183, -695, 727, -695, 726, -704, 2183, -696, 725, -2124, 2156, -1423, 1428
[22:06:20][D][remote.raw:041]: Received Raw: 727, -703, 2182, -694, 727, -695, 725, -706, 2181, -696, 725, -2124, 2155, -1423, 1428

but other remotes give me results like this

Same FFWD button pressed on another remote

[22:07:21][D][remote.jvc:049]: Received JVC: data=0x00FF
[22:07:21][D][remote.lg:054]: Received LG: data=0x00FFD12E, nbits=32
[22:07:21][D][remote.nec:070]: Received NEC: address=0xFF00, command=0x748B
[22:07:21][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x008B
[22:07:21][D][remote.raw:041]: Received Raw: 9044, -2274, 552
[22:07:22][D][remote.jvc:049]: Received JVC: data=0x00FF
[22:07:22][D][remote.lg:054]: Received LG: data=0x00FFD12E, nbits=32
[22:07:22][D][remote.nec:070]: Received NEC: address=0xFF00, command=0x748B
[22:07:22][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x008B
[22:07:22][D][remote.raw:041]: Received Raw: 9042, -2273, 553
[22:07:22][D][remote.jvc:049]: Received JVC: data=0x00FF
[22:07:22][D][remote.lg:054]: Received LG: data=0x00FFD12E, nbits=32
[22:07:22][D][remote.nec:070]: Received NEC: address=0xFF00, command=0x748B
[22:07:22][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x008B
[22:07:22][D][remote.raw:041]: Received Raw: 9044, -2273, 553
[22:07:23][D][remote.jvc:049]: Received JVC: data=0x00FF
[22:07:23][D][remote.lg:054]: Received LG: data=0x00FFD12E, nbits=32
[22:07:23][D][remote.nec:070]: Received NEC: address=0xFF00, command=0x748B
[22:07:23][D][remote.pioneer:149]: Received Pioneer: rc_code_X=0x008B
[22:07:23][D][remote.raw:041]: Received Raw: 9044, -2273, 553

I'm more than happy to press buttons and submit readings all day, but I don't know how to get these into a format that's helpful for other people,