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
-
Attach the IR receiver to the device where you sat the configuration
-
Enable the Device console on the device
-
Use a learning remote controller
-
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