Looks a lot better. The flashing of the LED on the device generally reflects if it’s in AP mode or doing something else.
Below are examples of the three method of sending an IR code, that can be executed in the Lua test window. Note you must insert the ID of the IR child device, not the ID of the parent. You should see a LED flash when the code is run. Try the ProntoCode first:
Examples:
Send a ProntoCode:
local deviceID = 164
local prontoCode = '0000 0067 0000 0010 0060 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 037E'
luup.call_action('urn:a-lurker-com:serviceId:IrTransmitter1', 'SendProntoCode', {ProntoCode = prontoCode}, deviceID)
return true
Send a BroadLink IR or RF code:
local deviceID = 162
local rfCode = 'b2 06 1c 00 0c 0e 0f 1a 1b 0f 0f 1a 0f 1a 0f 1a 0f 1a 0f 1a 0f 1a 0f 1b 1a 0f 1b 0f 1b 00 02 5d 00 00 00 00 00 00 00 00 00 00 00 00'
luup.call_action('urn:a-lurker-com:serviceId:IrTransmitter1', 'SendCode', {Code = rfCode}, deviceID)
return true
Send a BroadLink IR or RF code extracted from the e-Control app:
local deviceID = 162
-- Note the usage of curly brackets/braces. You can also leave
-- the curly brackets off and use quotes, instead passing the
-- info in as a string, rather than as an array.
local rfCode = {-78, 6, 28, 0, 12, 14, 15, 26, 27, 15, 15, 26, 15, 26, 15, 26, 15, 26, 15, 26, 15, 26, 15, 27, 26, 15, 27, 15, 27, 0, 2, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
luup.call_action('urn:a-lurker-com:serviceId:IrTransmitter1', 'SendEControlCode', {eControlCode = rfCode}, deviceID)
return true