This topic describes the standard IR commands that you must integrate into your development of WeChat mini programs for IR products, such as TV sets, set-top boxes, and air conditioners.
TV set
| Key value |
Description |
Key value |
Description |
| Power |
Power |
0 |
0 |
| OK |
OK |
1 |
1 |
| Channel+ |
Channel up |
2 |
2 |
| Channel- |
Channel down |
3 |
3 |
| Menu |
Menu |
4 |
4 |
| Up |
Up |
5 |
5 |
| Down |
Down |
6 |
6 |
| Left |
Left |
7 |
7 |
| Right |
Right |
8 |
8 |
| Volume+ |
Volume up |
9 |
9 |
| Volume- |
Volume down |
|
|
Set-top box
| Key value |
Description |
Key value |
Description |
| Power |
Power |
0 |
0 |
| OK |
OK |
1 |
1 |
| Channel+ |
Channel up |
3 |
3 |
| Channel- |
Channel down |
4 |
4 |
| Menu |
Menu |
5 |
5 |
| Up |
Up |
6 |
6 |
| Down |
Down |
7 |
7 |
| Left |
Left |
8 |
8 |
| Right |
Right |
9 |
9 |
| Volume+ |
Volume up |
* |
* |
| Volume- |
Volume down |
# |
# |
Air conditioner
| Key |
Description |
| PowerOn |
Power on |
| PowerOff |
Power off |
| M0–M4 |
Modes 1 to 5 (cool, heat, auto, fan, dry) |
| T16–T30 |
Temperature: 16°C to 30°C |
| F0–F3 |
Speed levels 1 to 4 (auto, low, medium, high) |
Fan
| Key |
Description |
| PowerOn |
Power on |
| PowerOff |
Power off |
| Swing |
Swing |
| Speed |
Speed |
| Timing |
Scheduled task |
| NegativeIon |
Anion |