I have just bought one of these IR pucks and flashed with with Tasmota so I can keep things local.
I made a simple flow to test it and it is receiving data when I point a remote at it and press a button.
Thing is I don't know how to send that message back to the puck to repeat the command it just saw.
This is the basic flow.
It looks at the topic
and if it is from the puck, it saves it to context.
If a message with payload
set to "SEND" it sets the payload to the stored value and sends it.
Alas nothing happens.
[{"id":"478161dd.30b0b8","type":"function","z":"b95543c8.1478f8","name":"","func":"if (msg.topic == \"IR_REMOTE_CONTROL/tele/RESULT\")\n{\n // Save to context.\n context.set(\"1\",msg.payload);\n node.warn(\"Saved\");\n return;\n}\nif (msg.payload == \"SEND\")\n{\n msg.payload = context.get(\"1\");\n return msg;\n}\n","outputs":1,"noerr":0,"x":310,"y":1280,"wires":[["92a365c6.af355"]]},{"id":"d20f5a68.c104c","type":"mqtt in","z":"b95543c8.1478f8","name":"IR_Command_RX","topic":"IR_REMOTE_CONTROL/#","qos":"2","datatype":"auto","broker":"8a2e80be.f7c928","x":170,"y":1200,"wires":[["2df2942d.674894","478161dd.30b0b8"]]},{"id":"92a365c6.af355","type":"mqtt out","z":"b95543c8.1478f8","name":"","topic":"IR_Command_TX","qos":"","retain":"","broker":"8a2e80be.f7c928","x":530,"y":1280,"wires":[]},{"id":"37235a8f.e72fce","type":"inject","z":"b95543c8.1478f8","name":"","topic":"","payload":"SEND","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":1280,"wires":[["478161dd.30b0b8"]]},{"id":"2df2942d.674894","type":"debug","z":"b95543c8.1478f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":350,"y":1150,"wires":[]},{"id":"8a2e80be.f7c928","type":"mqtt-broker","z":"","name":"MQTT host","broker":"192.168.0.99","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"ARDUINO_STATUS","birthQos":"2","birthPayload":"connected","willTopic":"ARDUINO_STATUS","willQos":"0","willPayload":"disconnected"}]