Closed lucasvdh closed 4 years ago
An example status would be really useful to map all values.
Maybe someone can provide the response from: http://192.168.1.x/YamahaExtendedControl/v1/main/getStatus
Decided that the initial version can be implemented in the Homey app, can always move it to a separate package later.
An example status would be really useful to map all values.
Maybe someone can provide the response from:
http://192.168.1.x/YamahaExtendedControl/v1/main/getStatus
I do get the following response:
{
"response_code": 0,
"power": "on",
"sleep": 0,
"volume": 20,
"mute": false,
"max_volume": 60,
"input": "net_radio",
"input_text": "Net Radio",
"distribution_enable": true,
"sound_program": "bass_booster",
"equalizer": {
"mode": "manual",
"low": 0,
"mid": 0,
"high": 0
},
"link_control": "standard",
"link_audio_delay": "balanced",
"disable_flags": 0
}
And
{
"response_code": 0,
"power": "standby",
"sleep": 0,
"volume": 16,
"mute": false,
"max_volume": 60,
"input": "mc_link",
"distribution_enable": false,
"equalizer": {
"mode": "manual",
"low": 0,
"mid": 0,
"high": 0
},
"link_control": "standard",
"link_audio_delay": "audio_sync_on",
"link_audio_quality": "uncompressed",
"disable_flags": 0
}
@liessum thanks! Much appreciated.
Here's from a WX-030 (looks like the one above):
{
"response_code": 0,
"power": "on",
"sleep": 0,
"volume": 9,
"mute": false,
"max_volume": 60,
"input": "net_radio",
"distribution_enable": true,
"equalizer": {
"mode": "manual",
"low": -2,
"mid": 1,
"high": 5
},
"link_control": "standard",
"link_audio_quality": "compressed",
"disable_flags": 0
}
YSP-5600:
{
"response_code": 0,
"power": "standby",
"volume": 54,
"mute": false,
"max_volume": 100,
"input": "hdmi1",
"distribution_enable": true,
"sound_program": "off",
"surround_3d": true,
"enhancer": false,
"tone_control": {
"mode": "manual",
"bass": 0,
"treble": 0
},
"dialogue_lift": 0,
"clear_voice": false,
"subwoofer_volume": -15,
"link_control": "standard",
"link_audio_delay": "lip_sync",
"link_audio_quality": "uncompressed",
"disable_flags": 3
}
RX-AS710D:
{
"response_code": 0,
"power": "standby",
"sleep": 0,
"volume": 40,
"mute": false,
"max_volume": 161,
"input": "spotify",
"distribution_enable": true,
"sound_program": "straight",
"surr_decoder_type": "dolby_pl2x_movie",
"pure_direct": false,
"enhancer": false,
"tone_control": {
"mode": "manual",
"bass": 0,
"treble": 0
},
"dialogue_level": 0,
"link_control": "standard",
"link_audio_delay": "audio_sync",
"link_audio_quality": "compressed",
"disable_flags": 0,
"actual_volume": {
"mode": "db",
"value": -60.5,
"unit": "dB"
},
"contents_display": true,
"party_enable": false
}
@axelwathne new stable release was published to test today and awaiting approval
@lucasvdh Excellent. I will do some testing, I hope to have some more time in the coming weeks.
Describe the solution you'd like
The MusicCast driver from the old Yamaha app needs to be refactored to a new client which can then be implemented by the new MusicCast device.
Additional context
It might be wise to make a separate npm package for the YamahaExtendedControl client as it would improve overall maintainability.