Skip to main content

IR remote

Configuration

To use IR remote on your device, navigate yourself to DEVICE >> DEVICE PROPERTIES >> SET SENSOR CONFIGURATION

{
"services": [
{
"uid": "KEYBOARD_EMULATOR_01",
"type": "KEYBOARD_EMULATOR",
"settings": {
"rules": [
{
"eol": "\n",
"type": "IR",
"format": "message",
"target": "displayer",
"pattern": "",
"timeout": 50,
"defaultId": "",
"reportUrl": "",
"defaultEvent": "",
"idGroupIndex": 1,
"eventGroupIndex": 2,
"valueGroupIndex": 3
}
]
}
}
]
}

Usage

  1. Attach the IR receiver to the device where you sat the configuration

  2. Enable the Device console on the device

  3. Use a learning remote controller

  4. Then you will see the actual event and value in the console what the actual button sent to the device.

Usage in content:

  • If your device has an IR port you can use the generic sensor events for transmitting or receiving:
    • IR_Transmit X
    • IR_Receive X true