IR.RECV.XXX Errors.
Posted: Wed Jan 11, 2017 10:10 am
Hi.
First, thank you for this fantastic project. Incredibly easy.
Next, i have been playing with the ir.recv.xxxx() function.
I use two of the cheap $ 1 remote from eBay, and a YS-IRTM Modul, to compare the output.
I have made this code:
When i press the "OK"-button i get from YS-IRTM: (I guess that it supress the inverse command).
From ESP i get:
And if i hold the button:
If i press the "2"-button then from the YS-IRTM i get:
but from ESP:
I believe, that the address from the sender should be equal from all buttons, just as they are from YS-IRTM. ?
If i change the code to ir.recv.dump(), then from the "OK"-button:
Looking at the Raw, i think it looks prette close to the output from YS.IRTM, and NEC-specs
Any idea, what is wrong?
And what is the chance that there will be a ir.send.raw () function in the near future?
I plan to make a project like https://github.com/ToniA/arduino-heatpumpir but would like to get rid of the Arduino.
First, thank you for this fantastic project. Incredibly easy.
Next, i have been playing with the ir.recv.xxxx() function.
I use two of the cheap $ 1 remote from eBay, and a YS-IRTM Modul, to compare the output.
I have made this code:
Code: Select all
ir.recv.setup(2)
irbranch [ir_input]
wait
[ir_input]
let s = ir.recv.full()
print s
return
When i press the "OK"-button i get from YS-IRTM: (I guess that it supress the inverse command).
00FF40
From ESP i get:
d7e84b1b:UNKNOWN:32
And if i hold the button:
d7e84b1b:UNKNOWN:32
ffffffff:NEC:0
ffffffff:NEC:0
ffffffff:NEC:0
ffffffff:NEC:0
If i press the "2"-button then from the YS-IRTM i get:
00FF18
but from ESP:
3d9ae3f7:UNKNOWN:32
I believe, that the address from the sender should be equal from all buttons, just as they are from YS-IRTM. ?
If i change the code to ir.recv.dump(), then from the "OK"-button:
Unknown encoding: D7E84B1B (32 bits)
Raw (68): 8950 -4550 550 -650 550 -650 550 -650 550 -650 550 -650 550 -650 550 -650 550 -650 550 -1700 550 -1700 550 -1700 550 -1700 550 -1700 550 -1750 550 -1700 550 -1700 550 -650 550 -650 550 -650 550 -650 550 -650 550 -650 550 -1700 550 -650 550 -1700 550 -1700 550 -1700 550 -1700 550 -1700 550 -1700 550 -650 550 -1700 550
d7e84b1b
Looking at the Raw, i think it looks prette close to the output from YS.IRTM, and NEC-specs
Any idea, what is wrong?
And what is the chance that there will be a ir.send.raw () function in the near future?
I plan to make a project like https://github.com/ToniA/arduino-heatpumpir but would like to get rid of the Arduino.