Remote as part of an existing smart home
Controlling IR devices via API
Remote can work in almost any existing Smart Home system using the HTTP REST API.
This means that when implementing automation scenarios, it is possible to add control to devices that have an IR within the user's existing controller:
Examples of command execution via HTTP::
- Sending IR commands in ProntoHEX format, for example:
GET http://192.168.1.108/commands/IR/ProntoHex/<код команды в ProntoHEX> - Sending commands in IR raw timings format, for example:
GET http://192.168.1.108/commands/IR/Raw/<частота>;<тайминги сигнала> - Sending IR commands that were stored in memory in learning mode:
GET http://192.168.1.108/commands/IR/Saved/
Smart home control using IR remote control
When receiving a signal from the remote control, the Remote sends a UDP packet with information that the signal from the infrared remote control is received.
The smart home center can execute a GET request to read the received command and perform actions depending on the received signal.