Open NovaGL opened 7 years ago
Sorry, currently I do not own a MusicCast capable device. Will try my best as soon as I get my hands on one. But can't tell when...
just got my hands on a WX-010 for xmas...would be great to control it over node-red. any chance on this?
@krauskopf, newer models use udp broadcasting for their events and they have a new json api. I think your code is almost compatible though... Take a look at my github repo how i use events on Musiccast devices. https://github.com/samvdb/php-musiccast-api
Would you mind setting up a branch to get me started? Your code setup is pretty clean and i dont want to mess with it. Also, this github repo seems to have all the functions we need to get musiccast supported. https://github.com/foxthefox/yamaha-yxc-nodejs
Let me know what you think
Hi @samvdb,
thanks for your message and your willingness to contribute :-). I really appreciate your support and will try to do my best to support you. Although, I still have no MusicCast cappable device, yet.
I created a new branch and added you as a contributor to the repository. So, happy coding!
Regarding integration of the new API:
Let me know how I can help you.
Best Regards, Sebastian
I will try to make some time in the coming weeks.
I'm guessing for BC reasons it might be best to create 3 new nodes ( GET PUT and Events). We might call it Yamaha AVR Extended or something (thats what Yamaha calls it).
For the UDP events it's pretty straight forward. Everything is documented quite well in the api specs. All you need to do is a GET request to a certain url to subscribe yourself. This needs to be done every 10 min. An UDP Unicast packet will be sent to the IP that requested the subscription. Headers are important for this part. I have not experimented with it a lot, but if the header information is not correct you will not receive events.
Hi
Any luck with this ? I have Node-RED working with my AVR but Musiccast speaker is no go. Can't help in coding, sorry :)
Regards
Hi!
I'm trying to use these nodes with a YSP2700 soundbar (Musiccast). They don' work with PUT GET on port 80 (right?) Any news about Musiccast support?
Thanks
Musiccast integration would be great.
Sadly i don't have the skills to help.
Hello! Any news on this? I have a Musiccast 20 which we could use for testing. There is some documentation here: http://habitech.s3.amazonaws.com/PDFs/YAM/MusicCast/Yamaha%20MusicCast%20HTTP%20simplified%20API%20for%20ControlSystems.pdf
Would this be hellfull: https://github.com/foxthefox/yamaha-yxc-nodejs
How can I help?
Regards
Sorry, no update from my side. As I still have no device with MusicCast support I am not able to implement the protocol. And programming the new features without being able to test is no valid option.
Sorry and regards, Sebastian
Hi all, I created a new package which uses the REST API for the Yamaha MusicCast devices here. It provides the nodejs API as provided by yamaha-yxc-nodejs. Maybe you want to give it a try.
Best Regards Daniel
Hi Daniel, i have a Yamaha RX V4A and two Musiccast20, but i cant get your Node-red Module to work. Im not very experienced but im eager to learn, could you please post a working Flow so i can compare it and find the (probably obvious) mistakes i made.
Regards Sascha
Hi @Assertor90 I added an example here: https://github.com/danie1kr/node-red-contrib-yamaha-yxc For more questions, please continue there. Hope this helps!
Any chance of you getting this to work with MusicCast players that would be great.
It uses a JSON API instead of XML on the older devices.