2022-09-20 05:09:37 +00:00
# Universal Remotes
2023-01-06 18:18:43 +00:00
2022-11-28 19:49:51 +00:00
## Televisions
2023-01-06 18:18:43 +00:00
Adding your TV set to the universal remote is quite straightforward. Up to 6 signals can be recorded: `Power` , `Mute` , `Vol_up` , `Vol_dn` , `Ch_next` , and `Ch_prev` . Any of them can be omitted if not supported by your TV.
2022-11-28 19:49:51 +00:00
Each signal is recorded using the following algorithm:
2023-01-06 18:18:43 +00:00
2022-11-28 19:49:51 +00:00
1. Get the remote and point it to Flipper's IR receiver.
2. Start learning a new remote if it's the first button or press `+` to add a new button otherwise.
3. Press a remote button and save it under a corresponding name.
4. Repeat steps 2-3 until all required signals are saved.
2023-01-06 18:18:43 +00:00
The signal names are self-explanatory. Remember to make sure that every recorded signal does what it's supposed to.
2022-11-28 19:49:51 +00:00
If everything checks out, append these signals **to the end** of the [TV universal remote file ](/assets/resources/infrared/assets/tv.ir ).
2023-01-06 18:18:43 +00:00
## Audio players
Adding your audio player to the universal remote is done in the same manner as described above. Up to 8 signals can be recorded: `Power` , `Play` , `Pause` , `Vol_up` , `Vol_dn` , `Next` , `Prev` , and `Mute` . Any of them can be omitted if not supported by the player.
2022-10-28 16:43:54 +00:00
2023-01-06 18:18:43 +00:00
The signal names are self-explanatory.
On many remotes, the `Play` button doubles as `Pause` . In this case, record it as `Play` omitting the `Pause` .
2022-10-28 16:43:54 +00:00
Make sure that every signal does what it's supposed to.
2023-01-06 18:18:43 +00:00
If everything checks out, append these signals **to the end** of the [audio player universal remote file ](/assets/resources/infrared/assets/audio.ir ).
## Air conditioners
2022-10-28 16:43:54 +00:00
2022-09-20 05:09:37 +00:00
Air conditioners differ from most other infrared-controlled devices because their state is tracked by the remote.
2023-01-06 18:18:43 +00:00
The majority of A/C remotes have a small display that shows the current mode, temperature, and other settings.
2022-09-20 05:09:37 +00:00
When the user presses a button, a whole set of parameters is transmitted to the device, which must be recorded and used as a whole.
2023-01-06 18:18:43 +00:00
In order to add a particular air conditioner to the universal remote, 6 signals must be recorded: `Off` , `Dh` , `Cool_hi` , `Cool_lo` , `Heat_hi` , and `Heat_lo` .
2022-09-20 05:09:37 +00:00
Each signal (except `Off` ) is recorded using the following algorithm:
1. Get the remote and press the **Power Button** so that the display shows that A/C is ON.
2023-01-06 18:18:43 +00:00
2. Set the A/C to the corresponding mode (see table below), leaving other parameters such as fan speed or vane on **AUTO** (if applicable).
2022-09-20 05:09:37 +00:00
3. Press the **POWER** button to switch the A/C off.
4. Start learning a new remote on Flipper if it's the first button or press `+` to add a new button otherwise.
5. Point the remote to Flipper's IR receiver as directed and press **POWER** button once again.
6. Save the resulting signal under the specified name.
2023-01-06 18:18:43 +00:00
7. Repeat steps 2-6 for each signal from the table below.
2022-09-20 05:09:37 +00:00
2023-01-06 18:18:43 +00:00
| Signal | Mode | Temperature | Note |
2022-09-20 05:09:37 +00:00
| :-----: | :--------: | :---------: | ----------------------------------- |
2023-01-06 18:18:43 +00:00
| Dh | Dehumidify | N/A | |
| Cool_hi | Cooling | See note | Lowest temperature in cooling mode |
| Cool_lo | Cooling | 23°C | |
| Heat_hi | Heating | See note | Highest temperature in heating mode |
| Heat_lo | Heating | 23°C | |
2022-09-20 05:09:37 +00:00
Finally, record the `Off` signal:
2023-01-06 18:18:43 +00:00
1. Make sure the display shows that the A/C is ON.
2022-09-20 05:09:37 +00:00
2. Start learning a new signal on Flipper and point the remote towards the IR receiver.
3. Press the **POWER** button so that the remote shows the OFF state.
4. Save the resulting signal under the name `Off` .
2023-01-06 18:18:43 +00:00
The resulting remote file should now contain 6 signals. You can omit any of them, but you then won't be able to use their functionality.
2022-10-28 16:43:54 +00:00
Test the file against the actual device. Make sure that every signal does what it's supposed to.
2022-09-26 13:49:18 +00:00
2022-09-27 17:11:28 +00:00
If everything checks out, append these signals **to the end** of the [A/C universal remote file ](/assets/resources/infrared/assets/ac.ir ).
2022-11-28 19:49:51 +00:00
## Final steps
2023-01-06 18:18:43 +00:00
The order of signals is not important, but they should be preceded by the following comment: `# Model: <Your model name>` in order to keep the library organized.
2022-09-27 17:11:28 +00:00
2022-09-26 13:49:18 +00:00
When done, open a pull request containing the changed file.