Is it possible to add the Scene selection to the Yamaha MusicCast integration. Right now this is only possible through the default (non-MusicCast) integration.
Seems unecessary to have another integration for just that one feature.
Thank you!
Is it possible to add the Scene selection to the Yamaha MusicCast integration. Right now this is only possible through the default (non-MusicCast) integration.
Seems unecessary to have another integration for just that one feature.
Thank you!
Same here, how to select scene on Yamaha receivers? In my case A2A.
Same here (A6A). Quite a couple of things you only can do on Yamaha scenes, like selecting a speaker setup.
FYI The musiccast API provided by yamaha doesn’t even mention scenes in it, this will likely never happen until yamaha adds it to their api.
No idea how they do it, but the Openhab MusicCast binding (= their ‘integration’) has scenes and they work. Maybe an idea to see how they do it?
I am moving my home theater automation from Openhab to Home Assistant because of the integrations available. The Yamaha MusicCast binding I can’t migrate to an integration because of this reason.
apparently these are undocumented endpoints
and the changes were submitted 3 years ago. However it looks like the guy who wrote the api has disappeared.
Seems like a good idea. Tagging the code owners in case they are interested…
@vigonotion @micha91
please be aware, that the musiccast app and the yamaha avr. both feature scenes.
a) Scenes in the musiccast app can group speakers and set an input etc.
b) Scenes on a receiver however can chenge the whole setup of the AVR.
The underlying Musiccast API is only refering to the later (AVR scenes).
So i would expect that it would be logical to add the AVR scenes to the Integration.
Chapter 4.2. getFeatures:
Check how many scenes are supported on the device. Look for:
{
"response_code": 0,
"system": {
"func_list": [
"wired_lan",
"wireless_lan",
"wireless_direct",
"network_standby",
"network_standby_auto",
"bluetooth_standby",
"bluetooth_tx_setting",
"hdmi_out_1",
"hdmi_out_2",
"airplay",
"disklavier_settings",
"network_reboot",
"party_mode",
"speaker_pattern"
],
"zone_num": 4,
"input_list": [
{
"id": "napster",
"distribution_enable": true,
"rename_enable": false,
"account_enable": true,
"play_info_type": "netusb"
},
{
"id": "spotify",
"distribution_enable": true,
"rename_enable": false,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "juke",
"distribution_enable": true,
"rename_enable": false,
"account_enable": true,
"play_info_type": "netusb"
},
{
"id": "airplay",
"distribution_enable": false,
"rename_enable": false,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "mc_link",
"distribution_enable": false,
"rename_enable": true,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "server",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "net_radio",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "bluetooth",
"distribution_enable": true,
"rename_enable": false,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "usb",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "netusb"
},
{
"id": "tuner",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "tuner"
},
{
"id": "av1",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av2",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av3",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av4",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av5",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av6",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "av7",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "audio1",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "audio2",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "audio3",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "phono",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "v_aux",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
},
{
"id": "main_sync",
"distribution_enable": true,
"rename_enable": true,
"account_enable": false,
"play_info_type": "none"
}
],
"speaker_pattern_num": 2
},
"zone": [
{
"id": "main",
"func_list": [
"power",
"sleep",
"volume",
"mute",
"sound_program",
"pure_direct",
"enhancer",
"tone_control",
"dialogue_level",
"signal_info",
"prepare_input_change",
"link_control",
"link_audio_delay",
"link_audio_quality",
"scene",
"audio_select",
"cursor",
"menu",
"surr_decoder_type",
"contents_display",
"actual_volume"
],
"input_list": [
"napster",
"spotify",
"juke",
"airplay",
"mc_link",
"server",
"net_radio",
"bluetooth",
"usb",
"tuner",
"av1",
"av2",
"av3",
"av4",
"av5",
"av6",
"av7",
"audio1",
"audio2",
"audio3",
"phono",
"v_aux"
],
"sound_program_list": [
"munich",
"vienna",
"amsterdam",
"freiburg",
"royaumont",
"chamber",
"village_vanguard",
"warehouse_loft",
"cellar_club",
"roxy_theatre",
"bottom_line",
"sports",
"action_game",
"roleplaying_game",
"music_video",
"recital_opera",
"standard",
"spectacle",
"sci-fi",
"adventure",
"drama",
"mono_movie",
"2ch_stereo",
"9ch_stereo",
"surr_decoder",
"straight"
],
"surr_decoder_type_list": [
"toggle",
"dolby_pl2x_movie",
"dolby_pl2x_music",
"dolby_pl2x_game",
"dolby_surround",
"dts_neural_x",
"dts_neo6_cinema",
"dts_neo6_music"
],
"tone_control_mode_list": [
"manual"
],
"link_control_list": [
"speed",
"standard",
"stability"
],
"link_audio_delay_list": [
"audio_sync",
"lip_sync"
],
"link_audio_quality_list": [
"compressed",
"uncompressed"
],
"range_step": [
{
"id": "volume",
"min": 0,
"max": 161,
"step": 1
},
{
"id": "tone_control",
"min": -12,
"max": 12,
"step": 1
},
{
"id": "dialogue_level",
"min": 0,
"max": 3,
"step": 1
},
{
"id": "actual_volume_db",
"min": -80.5,
"max": 16.5,
"step": 0.5
}
],
"scene_num": 12,
"cursor_list": [
"up",
"down",
"left",
"right",
"select",
"return"
],
"menu_list": [
"on_screen",
"top_menu",
"menu",
"option",
"display"
],
"actual_volume_mode_list": [
"db"
],
"audio_select_list": [
"auto",
"hdmi",
"coax_opt",
"analog",
"unavailable"
]
},
{
"id": "zone2",
"zone_b": false,
"func_list": [
"power",
"sleep",
"volume",
"mute",
"enhancer",
"tone_control",
"prepare_input_change",
"scene",
"cursor",
"contents_display",
"actual_volume"
],
"input_list": [
"napster",
"spotify",
"juke",
"airplay",
"mc_link",
"server",
"net_radio",
"bluetooth",
"usb",
"tuner",
"av1",
"av2",
"av3",
"av4",
"av5",
"av6",
"av7",
"audio1",
"audio2",
"audio3",
"phono",
"v_aux",
"main_sync"
],
"tone_control_mode_list": [
"manual"
],
"range_step": [
{
"id": "volume",
"min": 0,
"max": 161,
"step": 1
},
{
"id": "tone_control",
"min": -12,
"max": 12,
"step": 1
},
{
"id": "actual_volume_db",
"min": -80.5,
"max": 16.5,
"step": 0.5
}
],
"scene_num": 4,
"cursor_list": [
"up",
"down",
"left",
"right",
"select",
"return"
],
"actual_volume_mode_list": [
"db"
]
},
{
"id": "zone3",
"func_list": [
"power",
"sleep",
"volume",
"mute",
"enhancer",
"tone_control",
"prepare_input_change",
"scene",
"actual_volume"
],
"input_list": [
"napster",
"spotify",
"juke",
"airplay",
"mc_link",
"server",
"net_radio",
"bluetooth",
"usb",
"tuner",
"av1",
"av2",
"av3",
"av4",
"audio1",
"audio2",
"audio3",
"phono",
"v_aux",
"main_sync"
],
"tone_control_mode_list": [
"manual"
],
"range_step": [
{
"id": "volume",
"min": 0,
"max": 161,
"step": 1
},
{
"id": "tone_control",
"min": -12,
"max": 12,
"step": 1
},
{
"id": "actual_volume_db",
"min": -80.5,
"max": 16.5,
"step": 0.5
}
],
"scene_num": 4,
"actual_volume_mode_list": [
"db"
]
},
{
"id": "zone4",
"func_list": [
"power",
"sleep",
"prepare_input_change",
"scene"
],
"input_list": [
"av1",
"av2",
"av3",
"av4",
"av5",
"av6",
"av7",
"v_aux"
],
"scene_num": 4
}
],
"tuner": {
"func_list": [
"am",
"fm",
"rds"
],
"range_step": [
{
"id": "am",
"min": 531,
"max": 1611,
"step": 9
},
{
"id": "fm",
"min": 87500,
"max": 108000,
"step": 50
}
],
"preset": {
"type": "common",
"num": 40
}
},
"netusb": {
"func_list": [
"recent_info",
"play_queue",
"mc_playlist",
"streaming_service_use"
],
"preset": {
"num": 40
},
"recent_info": {
"num": 40
},
"play_queue": {
"size": 200
},
"mc_playlist": {
"size": 200,
"num": 5
},
"net_radio_type": "airable",
"pandora": {
"sort_option_list": [
"date",
"alphabet"
]
},
"siriusxm": {
"api_type": "everest"
}
},
"distribution": {
"version": 2.0,
"compatible_client": [
2
],
"client_max": 9,
"server_zone_list": [
"main"
]
},
"ccs": {
"supported": true
}
}
Chapter 5.23. recallScene:
Use this to recall a scene number.
I solved it via Rest Command and it works fine for selecting scenes.