I was having a similar problem and tried different thing and seem to have it working better. I am not sure if there is a reason behind this or just dumb luck but thought I would share, so try this:
Go into the IRremote.h file and change Decode_Hash to 0
Now try test testifraredremote
Bring up the monitor and go through the buttons
When I did this I no longer got the other button with the number string but rather the proper responses, the problem was I now got a lot of "repeat"
After doing this I went back and changed Decode_hash back to 1
Now in the monitor things seemed to work!
Give it a shot and let me know if it works for you...
But when I run testInfraredRemote.ino, I get different results when clicking the 21 buttons, left to right, from upper left (CH-) through lower right (9). For example, after quitting & re-running testInfraredRemote.ino, I get these results when I press those buttons in the order mentioned:
So you disabled the Decode_hash then reactivated it. And things worked like magic? Interesting, I don't know what's happening😅
I was having a similar problem and tried different thing and seem to have it working better. I am not sure if there is a reason behind this or just dumb luck but thought I would share, so try this:
Go into the IRremote.h file and change Decode_Hash to 0
Now try test testifraredremote
Bring up the monitor and go through the buttons
When I did this I no longer got the other button with the number string but rather the proper responses, the problem was I now got a lot of "repeat"
After doing this I went back and changed Decode_hash back to 1
Now in the monitor things seemed to work!
Give it a shot and let me know if it works for you...
OK, I think I understand how to edit IRremote.h
Here is a GitHub gist showing the edited code:
But when I run testInfraredRemote.ino, I get different results when clicking the 21 buttons, left to right, from upper left (CH-) through lower right (9). For example, after quitting & re-running testInfraredRemote.ino, I get these results when I press those buttons in the order mentioned: