MIG API
Controllers.LircRemote Domain
Controllers.LircRemote
InfraRed remote control interface based on LIRC.
Remotes.Search
Search local LIRC database index for an IR remote matching the given string <search_string>.
Syntax
/api/Controllers.LircRemote/IR/Remotes.Search/<search_string>
GET /api/Controllers.LircRemote/IR/Remotes.Search/bose
Response
[
{
"Manufacturer": "bose",
"Model": "WAVERADIO"
},
{
"Manufacturer": "bose",
"Model": "WaveMusicSystem"
},
{
"Manufacturer": "bose",
"Model": "WaveRadioCD"
},
{
"Manufacturer": "bose",
"Model": "WaveRadioCD.irman"
}
]
Remotes.Add
Add the remote specified by <manufacturer> and <model> to the configuration.
Syntax
/api/Controllers.LircRemote/IR/Remotes.Add/<manufacturer>/<model>
GET /api/Controllers.LircRemote/IR/Remotes.Add/bose/WaveRadioCD.irman
Remotes.Remove
Remove the remote specified by <manufacturer> and <model> from the configuration.
Syntax
/api/Controllers.LircRemote/IR/Remotes.Remove/<manufacturer>/<model>
GET /api/Controllers.LircRemote/IR/Remotes.Remove/bose/WaveRadioCD.irman
Remotes.List
Get the list of the IR remotes added to the configuration.
Syntax
/api/Controllers.LircRemote/IR/Remotes.List
GET /api/Controllers.LircRemote/IR/Remotes.List
Response
[
{
"Manufacturer": "bose",
"Model": "WaveMusicSystem"
},
{
"Manufacturer": "bose",
"Model": "WaveRadioCD.irman"
}
]
Control.IrSend
Transmit one ore more IR codes.
Syntax
/api/Controllers.LircRemote/IR/Control.IrSend/<key_id_1>[/<key_id_2>...[/<key_id_n>]]
GET /api/Controllers.LircRemote/IR/Control.IrSend/WaveMusicSystem%2FKEY_PLAY