Yes you can using rules. You have to select the Heos and then select the favourite.
I have this in my sitemap to select the required input:
Selection label="Living Input" item=Heos_Living_Select_Input  mappings=[Stop=Stop,AUX="AUX (TV)",MNM="MNM",MNM_Hits="MNM Hits",StuBru="StuBru",Radio_1="Radio 1",Radio_2="Radio 2",Klara="Klara",Relax_1="Relax 1",Relax_2="Relax 2",Relax_3="Relax 3"]
Corresponding item:
String Heos_Living_Select_Input "Living: Kies input" (G_Heos,G_Heos_Living)
This triggers a rule:
rule “Heos_Living_Select_Input”
when Item Heos_Living_Select_Input received command
then
…
} else if ( Heos_Living_Select_Input.state == ‘MNM_Hits’ ) {
sendCommand(Heos_Living_Volume, 0) // Mute volume before switching
sendCommand(Heos_Living_Select, ON) // Select Heos Living
Thread::sleep(100)
sendCommand(Heos_Favorite_MNM_Hits, ON) // Select Favorite MNM Hits
sendCommand(Heos_Living_Volume, 10) // Set volume
sendCommand(Heos_Living_Select, OFF) // Deselect Heos Living
…
The most important item is ‘Heos_Favorite_MNM_Hits’:
Switch Heos_Favorite_MNM_Hits “Favorite: MNM Hits” {channel=“heos:bridge:14b824d6-361a-1fce-0080-0005cd546840:s69137”}
And you also need an item to select the Heos:
Switch Heos_Living_Select “Select Living” {channel=“heos:bridge:14b824d6-361a-1fce-0080-0005cd546840:P1640960381”}
The channel names can be found in the logs or the inbox. The favourites will be detected when you enter your username/password in openhab.
You also need to only add 1 bridge if you have multiple Heos boxes in your network. Each box can be a bridge, but only one is needed.
I hope this helps.
Stef