I am using the latest espeasy mega firmware with an IR-receiver und IR-transmitter setup.
Pressing a button on my Panasonic remote gives me the following entry in the log:
IR : Code 100a0a1 - Type: 5 - Bits: 48
When i then transmit the same code calling "192.168.x.x/control?cmd=IRSEND,PANASONIC,100a0a1,48" the receiver of my TV is not reacting.
I compared the incoming and the outcoming impulse-sequence on my scope and see a few differences in the first half of the sequence.
Clearly the codes don't match.
However when pointing the ESP8266's TX-diode to its own IR-receiver (loop-back), the log gives me the same result as mentioned at the beginning (IR : Code 100a0a1 - Type: 5 - Bits: 48).
To me it looks like there is a bug either in the decoder or encoder implementation?
[solved] Bug in IR decoder/encoder?
Moderators: grovkillen, Stuntteam, TD-er
[solved] Bug in IR decoder/encoder?
Last edited by chunter1 on 31 Dec 2017, 09:27, edited 1 time in total.
Re: Bug in IR decoder/encoder?
By chance I came across the solution.
Although the receiver decoder gives me "48" bits as code length, i need to define it as "16388" for my Panasonic.
Now the received and transmitted signal perfectly match.
Although the receiver decoder gives me "48" bits as code length, i need to define it as "16388" for my Panasonic.
Now the received and transmitted signal perfectly match.
Re: Bug in IR decoder/encoder?
How do you get to "16388"? What is it? Length?
Can you give an example please?
Regards
Shardan
Regards
Shardan
Shardan
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Bug in IR decoder/encoder?
Yes, please provide as much as possible when you find solutions. We need to cover more variations of settings on the wiki.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: [solved] Bug in IR decoder/encoder?
Sorry, this post should have been in the TASMOTA forum since i was testing that firmware and found the solution there.
....
* Add IrSend command option Panasonic as IrSend {"Protocol":"Panasonic", "Bits":16388, "Data":<Panasonic data>}
* where 16388 is 0x4004 hexadecimal (#1014)
...
Re: [solved] Bug in IR decoder/encoder?
Unfortunately using the latest firmware with IR support does not work with these settings anymore.
Got no idea why my panasonic remote does not give me repeatable codes when trying to receive it.
Got no idea why my panasonic remote does not give me repeatable codes when trying to receive it.
Who is online
Users browsing this forum: No registered users and 34 guests