Wemos D1 mini IR Unknown protocols

resolved

#1

Hello,

I have been testing the IR gateway on a Wemos d1 mini but on the serial console it tells me that the codes are unknown (it’s a Panasonic TV).

Reviewing the documentation in this regard indicates:

Unknown protocols are filtered by default, if you want to see the unknown protocols set into user_config.h #define pubIRunknownPrtcl true instead of false

I have reviewed the user_config.h file but there is no line containing #define pubIRunknownPrtcl

Although I have added it, it still does not show the code by mqtt, if it does it by console.

What appears to me is the following:

Rcv. IR
9634,3938,1280,986,10282,12,976,1282,10,978,1280,10,978,1282,10,978,1280,990,1282,12,976,1280,990,1280,14,974,1282,14,974,1282,988,1280,10,978,1282,988,10282,988,1280,10,978,1280,990,1280,12
–no pub. unknown protocol–
Rcv. IR
9634,12,3926,1280,10,976,10282,988,1280,12,976,1280,10,978,1280,10,978,1280,12,978,1282,10,978,1280,10,978,1280,10,978,1280,14,976,1280,990,1280,12,976,1280,12,976,10280,12,976,1280,10,978,1280,10,978,1280,10
–no pub. unknown protocol–
Rcv. IR
9632,14,1580,1280,12
–no pub. unknown protocol–
Rcv. IR
9632,3940,1278,10,978,10278,14,976,1280,990,1280,10,980,1280,10,980,1278,10,980,1280,10,978,1280,10,980,1280,10,980,1280,10,978,1278,10,980,1278,10,980,1280,10,980,10280,12,978,1278,10,980,1278,10,980,1280,14
–no pub. unknown protocol–
Rcv. IR
9640,3930,1286,10,970,10288,982,1288,14,968,1288,982,1286,982,1288,982,1286,10,972,1286,984,1286,10,972,1286,982,1288,982,1286,984,1286,984,10288,982,1286,984,1288,982,1286
–no pub. unknown protocol–

The problem that I see is that all the entries belong to the pressing of the same key, but every time I press the same key the code that comes out through the console is different.

What do you do in such cases?


#2

Hello,

You are right it is not in user_config.h it is into confir_IR.h

In this case even if there is different values when I press a button several times I send the received value as raw code:

You have also the alternative of using GlobalCaché database to have the code corresponding to your device


#3

Hello,

I finally managed to make it work with global cache.

regards