rsc-dev / pyamaha

Python implementation of Yamaha Extended Control API Specification.
MIT License
84 stars 22 forks source link

Link musiccast devices #5

Closed runningman84 closed 7 years ago

runningman84 commented 7 years ago

Please support these methods in order to allow linking of devices:

sendHttpGetRequest("http://192.168.1.YYY/YamahaExtendedControl/v1/main/setPower?power=on")
sendHttpPostRequest("http://192.168.1.XXX/YamahaExtendedControl/v1/dist/setServerInfo", "application/json", '{"group_id":"a89b0f9f2d334b63bab6bcc48a0587f0","type":"add","client_list":["192.168.1.YYY"]}')
sendHttpPostRequest("http://192.168.1.YYY/YamahaExtendedControl/v1/dist/setClientInfo", "application/json", '{"group_id":"a89b0f9f2d334b63bab6bcc48a0587f0","zone":["main"],"server_ip_address":"192.168.1.XXX"}')
sendHttpGetRequest("http://192.168.1.XXX/YamahaExtendedControl/v1/dist/startDistribution?num=0")
sendHttpPostRequest("http://192.168.1.XXX/YamahaExtendedControl/v1/dist/setGroupName", "application/json", '{"name": "Salon+Chambre"}')
end

https://community.openhab.org/t/yamaha-musiccast-binding/15060/40

rsc-dev commented 7 years ago

Great, Will do ASAP.