unfoldedcircle / feature-and-bug-tracker

Feature and bug tracker repository for Unfolded Circle products
25 stars 0 forks source link

[feature request] Improved remotes with multiple (re-usable) customizable IR data sets (devices), activities, macros & entities #112

Open F4Ck0R opened 12 months ago

F4Ck0R commented 12 months ago

Is there an existing issue for this?

Description

Based on my request: https://github.com/unfoldedcircle/feature-and-bug-tracker/issues/110 It would also be great to be able to create device IR Code sets. For example I'd create a Device like my Denon X4500H with all IR Codes that the AVR supports and create a Device for my LG 77C2 with all the IR Codes that my TV supports. Afterwards I create a Remote (entity to be selected to show on remote UI) and select the different buttons I want to use in this remote from the devices I just created.

Maybe I need another remote with only my Denon X4500H for controlling music with only Spotify Connect without TV being involved but other Buttons / Components on the remote.

By creating devices first, I don't need to setup everything individually again. I could just re-use whats already there. If I remember correctly this is also how Logitech Harmony is setup. Select all the devices you want to control and afterwards use them in remotes, activities, etc.

Additionally, I might also want control an entity such as turning on/off a light or execute a macro or activity from a selected remote. Without going back and forth.

You could do so by letting users:

I hope my description was understandable.

Kind regards

Additional context

No response

F4Ck0R commented 12 months ago

BTW: This is going into a similar direction: https://github.com/unfoldedcircle/feature-and-bug-tracker/issues/4 Didn't found it in first place since it is tagged as a bug. On this page but also afterwards selection of multiple IR data sets (devices) should be possible.

r00li commented 11 months ago

Yep, I also really want this. I created an IR remote for my blu-ray player, but I want to control the volume via my AV receiver. However I don't want to create a new activity with these two devices and configure the remote layout again. I just want to add the volume up/down commands from my other remote to this one.

zehnm commented 11 months ago

I created an IR remote for my blu-ray player, but I want to control the volume via my AV receiver.

That's where activities come into play:

In the activity you can mix-and-match commands from all included entities. Control the player and map volume buttons to the AVR. A remote-entity is just to control one IR device.

As a workaround you can also define custom buttons in a manufacturer IR dataset of an IR remote, or assign other IR codes to existing buttons. Example: if you just want a remote entity with AVR volume control but without creating an activity:

  1. Create a new remote for the Blue-ray player. Either a manufacturer or custom device.
  2. Edit the IR dataset and copy / paste the PRONTO code of your AVR functions (or learn the codes).
image

If the common IR button names are used, the auto-mapping to physical keys & UI components should work.

A support article will follow, how IR buttons should be named, to get the auto-mapping features and future enhancements based on well-known button names. These are the most important ones:

BACK
CURSOR_DOWN
CURSOR_LEFT
CURSOR_RIGHT
CURSOR_UP
CURSOR_ENTER
DIGIT_0
DIGIT_1
DIGIT_2
DIGIT_3
DIGIT_4
DIGIT_5
DIGIT_6
DIGIT_7
DIGIT_8
DIGIT_9
HOME
MENU
MUTE_TOGGLE
POWER_OFF
POWER_ON
POWER_TOGGLE
VOLUME_DOWN
VOLUME_UP
r00li commented 11 months ago

The workaround of learning the AV receiver codes again and adding them to my blu-ray player is what I did in the end. But it is not ideal. I would go with activity, but I already had everything set up and then I would need to prepare the whole layout again just for two buttons. So it would be great if we could at least start creating the activity by using the layout from an existing remote as a starting point.