Hello,
I have collected the codes from the samsung remote trough an sipmle ir receiver.
I installed a nodemcu with the next code
HA:
script:
tv_button_1:
sequence:
- service: esphome.nodemcu01_send_samsung_command
data:
data: 0xE0E020DF
times: 10
ESPHOME:
api:
services:
- service: send_samsung_command
variables:
data: string
times: int
then:
- remote_transmitter.transmit_samsung:
data: !lambda 'return strtoul(data.c_str(), nullptr, 16);'
repeat:
times: !lambda 'return times;'
When I press the button in HA the red light on the transmitter goes on for a short time. Using the camera of a smartphone I see the ir-blueish light also.
The tv does not responde. Am I missing something? Or is maybe the simple ir-transmitter board (from banggood/aliexpress) to simple? An ir-colorbulb lamp with “nec”-code does respond, so the board is partial functioning.