Virtual infrared remote devices
May 16, 2026 ยท View on GitHub
Device List Information
The infraredRemoteList array contains a list of objects with the following key-value attributes,
| Key | Value Type | Description |
|---|---|---|
| deviceId | String | device ID |
| deviceName | String | device name |
| remoteType | String | device type |
| hubDeviceId | String | remote device's parent Hub ID |
Control Commands
The table below describes all the available commands for virtual infrared remote devices,
| deviceType | commandType | Command | command parameter | Description |
|---|---|---|---|---|
| All home appliance types except Others | command | turnOn | default | every home appliance can be turned on by default |
| All home appliance types except Others | command | turnOff | default | every home appliance can be turned off by default |
| Others | customize | {user-defined button name} | default | all user-defined buttons must be configured with commandType=customize |
| Air Conditioner | command | setAll | {temperature},{mode},{fan speed},{power state} e.g. 26,1,3,on | the unit of temperature is in celsius; modes include 0/1 (auto), 2 (cool), 3 (dry), 4 (fan), 5 (heat); fan speed includes 1 (auto), 2 (low), 3 (medium), 4 (high); power state includes on and off |
| TV, IPTV/Streamer, Set Top Box | command | SetChannel | {channel number}, e.g. 15 | set the TV channel to switch to |
| command | volumeAdd | default | volume up | |
| command | volumeSub | default | volume down | |
| command | channelAdd | default | next channel | |
| command | channelSub | default | previous channel | |
| DVD, Speaker | command | setMute | default | mute/unmute |
| command | FastForward | default | fast forward | |
| command | Rewind | default | rewind | |
| command | Next | default | next track | |
| command | Previous | default | last track | |
| command | Pause | default | pause | |
| command | Play | default | play/resume | |
| command | Stop | default | stop | |
| Speaker | command | volumeAdd | default | volume up |
| command | volumeSub | default | volume down | |
| Fan | command | swing | default | swing |
| command | timer | default | set timer | |
| command | lowSpeed | default | set fan speed to low | |
| command | middleSpeed | default | set fan speed to medium | |
| command | highSpeed | default | set fan speed to high | |
| Light | command | brightnessUp | default | brightness up |
| command | brightnessDown | default | brightness down |
Note: Most of the devices support
turnOnorturnOff, which are case-sensitive. For infrared remote devices, when you have created customized buttons, you must setcommandTypetocustomize, otherwise the command will not work.commandneeds to be set to the name of the customized button.