flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
12.73k stars 2.7k forks source link

Program multi-key IR inputs #1171

Open edbrannin opened 2 years ago

edbrannin commented 2 years ago

Is your feature request related to a problem? Please describe.

I'd like to save a sequence of IR signals to replay from the Flipper, like:

Describe the solution you'd like

Today: When recording a new IR payload, as soon as the Flipper recognizes a signal, it stops listening and prompts to [RETRY, SEND, SAVE].

Maybe add an ADD option to make the Flipper capture a second signal to play after the first?

Describe alternatives you've considered

Other options include:

Additional context

u/skotozavr suggested I report this issue from Reddit

skotopes commented 2 years ago

Crafting is possible. For example raw payloads can be gathered together. We'll think about it.

DrEverr commented 2 years ago

I also thought about this feature. It can be useful for saving favourite TV programs, where there is not enough time frame on TV to scroll all buttons on flipper to input desire program. Something like recording Read RAW in Sub-GHz, where you input buttons in specific timeframe.

gelin commented 2 years ago

I have another view of this issue, from the .ir files perspective :)

Currently the tv.ir file from /infrared/assets has multiple definitions of the same button. For example:

Filetype: IR library file
Version: 1
# 
name: POWER
type: parsed
protocol: SIRC
address: 01 00 00 00
command: 15 00 00 00
# 
name: POWER
type: parsed
protocol: SIRC
address: 10 00 00 00
command: 15 00 00 00

However, when I try to do the same for my recorded IR signals, for example:

Filetype: IR signals file
Version: 1
# 
name: Cool 25
type: raw
frequency: 38000
duty_cycle: 0.330000
data: /*skipped*/
# 
name: Cool 25
type: raw
frequency: 38000
duty_cycle: 0.330000
data: /*skipped*/
# 

The Flipper's UI displays two buttons with the same name "Cool 25".

My intent is to craft an "universal" AC control. So, I recorded the signals to set the "cool to 25°" mode from multiple ACs. And now I want to send multiple IR sequences when I press the single button.

So, a simple improvement can be: make the behavior of "IR signals file" similar to "IR library file", if multiple buttons with the same name are defined, display only one button, but send multiple IR signals when the button is pressed.

robertcedwards commented 1 year ago

Same is happening to me, trying to use multiple definitions of one button with the same name, and it's not replaying these like the universal remote. Also tried to delete the universal remote and use my button definitions to playback, but to no avail.

HacktheTime commented 9 months ago

Also problematic when you have something like an Epson EB 725W which wants a reset signal first.