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,

KeyValue TypeDescription
deviceIdStringdevice ID
deviceNameStringdevice name
remoteTypeStringdevice type
hubDeviceIdStringremote device's parent Hub ID

Control Commands

The table below describes all the available commands for virtual infrared remote devices,

deviceTypecommandTypeCommandcommand parameterDescription
All home appliance types except OtherscommandturnOndefaultevery home appliance can be turned on by default
All home appliance types except OtherscommandturnOffdefaultevery home appliance can be turned off by default
Otherscustomize{user-defined button name}defaultall user-defined buttons must be configured with commandType=customize
Air ConditionercommandsetAll{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 BoxcommandSetChannel{channel number}, e.g. 15set the TV channel to switch to
commandvolumeAdddefaultvolume up
commandvolumeSubdefaultvolume down
commandchannelAdddefaultnext channel
commandchannelSubdefaultprevious channel
DVD, SpeakercommandsetMutedefaultmute/unmute
commandFastForwarddefaultfast forward
commandRewinddefaultrewind
commandNextdefaultnext track
commandPreviousdefaultlast track
commandPausedefaultpause
commandPlaydefaultplay/resume
commandStopdefaultstop
SpeakercommandvolumeAdddefaultvolume up
commandvolumeSubdefaultvolume down
Fancommandswingdefaultswing
commandtimerdefaultset timer
commandlowSpeeddefaultset fan speed to low
commandmiddleSpeeddefaultset fan speed to medium
commandhighSpeeddefaultset fan speed to high
LightcommandbrightnessUpdefaultbrightness up
commandbrightnessDowndefaultbrightness down

Note: Most of the devices support turnOn or turnOff, which are case-sensitive. For infrared remote devices, when you have created customized buttons, you must set commandType to customize, otherwise the command will not work. command needs to be set to the name of the customized button.