OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Unable to send Panasonic IR codes from a BK7231N

Open josephperry opened this issue 2 years ago • 9 comments

Describe the bug Unable to send Panasonic IR codes from a BK7231N

Firmware:

  • Version: 1.15.398
  • Device: MiniUniversal IR Remote model S18
  • Chip/model: BK7231N
  • Device config: IRSend on P7 on IRRecv on P8

I have a BK7231N, it's a MiniUniversal IR Remote model S18 with version 1.15.398

Log when transmitting IR from a Panasonic TV Remote: Info:MQTT:Publishing val IR_Panasonic 0x8 0x20 0 to ir_blaster_1/ir/get retain=0 Info:IR:IR MQTT publish IR_Panasonic 0x8 0x20 0 took 5ms Info:MQTT:Publishing val {"IrReceived":{"Protocol":"Panasonic","Bits":48,"Data":"0xA0200080"}} to ir_blaster_1/RESULT retain=0 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic ir_blaster_1/ir/get Info:MQTT:MQTT in topic ir_blaster_1/ir/get Info:MQTT:MQTT topic not handled: ir_blaster_1/ir/get Info:MQTT:channelSet part topic ir/get Info:MQTT:channelSet channel 0 Info:MQTT:channelSet NOT 'set'

Log when sending the Command "IRSend Panasonic 0x8 0x20 0": Info:IR:Delay 100ms Info:IR:IR send Panasonic 0x8 0x20 protocol 10 addr 0x8 cmd 0x20 repeats 0

but my phone camera does not detect IR output from the BK7231N

However the Log when sending the Command "IRSend NEC 0x1000 0x0 1": Info:IR:Delay 110ms Info:IR:Delay 100ms Info:IR:IR send NEC 0x1000 0x0 1 protocol 7 addr 0x1000 cmd 0x0 repeats 1

and my phone camera does detect IR output from the BK7231N

It looks like the Panasonic IR signals are correctly detected but the Panasonic IR codes can't be sent even though the NEC codes can be sent.

I don't see the relationshop from the IrReceived JSON output to the required IRSend command. At some point it would be helpful if the BK7231N would accept IR commands in JSON from MQTT eg: Topic: cmnd/ir_blaster_1/IRSend Payload: {"Protocol":"Panasonic","Bits":48,"Data":"0xA0200080"}

josephperry avatar Jan 30 '23 23:01 josephperry