barkster Posted October 19, 2013 Posted October 19, 2013 I have an isy-99i and I'm talking my buddy to install isy-994i in his house he is building but he wants to be able to control his stereo equipment, mainly volume, skip etc through automated system. Can the isy do that at all? I haven't seen anything but figured I'd ask. He was looking at control4 which seems to do it but it looks to be zigbee based, yuck!
io_guy Posted October 19, 2013 Posted October 19, 2013 Depends on the stereo. I have a Yamaha that accepts web-based commands so my ISY controls it directly with the network module. I have a Denon that accepts an RS-232 connection so my ISY controls it with the network module through and Ethernet-serial converter. I have another Denon that has nothing so my ISY controls it with the network module sending commands to an iTach IP2IR. All work great.
abuttino Posted October 19, 2013 Posted October 19, 2013 If you have a computer near the stereo, you can use the Media Center remote control receiver and put an "eye" near your iR window. Then just use eventghost to send iR commands to it.. Also, use the eventghost webserver to receive commands from the ISY using the network module. Then write a program such as "if kpl button 8 is pressed" then network resource "eventghost send power on/off to stereo" If you decide to do this, I'll be glad to give you more help. I do it myself and it is perfect every time You can save a lot of money and do this instead of investing in an itach. Sent from my XT926 using Tapatalk 4
barkster Posted October 21, 2013 Author Posted October 21, 2013 can I get the model number off your yamaha? I know there has to be something special written to control it correct? thanks guys! Depends on the stereo.I have a Yamaha that accepts web-based commands so my ISY controls it directly with the network module. I have a Denon that accepts an RS-232 connection so my ISY controls it with the network module through and Ethernet-serial converter. I have another Denon that has nothing so my ISY controls it with the network module sending commands to an iTach IP2IR. All work great.
io_guy Posted October 21, 2013 Posted October 21, 2013 RX-V773 Just simple network commands to control it. No custom software required.
barkster Posted October 21, 2013 Author Posted October 21, 2013 but you can control it from your ISY-99?
io_guy Posted October 22, 2013 Posted October 22, 2013 New Yammys have a web interface. Using ISY's network module yes, you can control it from the ISY. I turn on/off, set inputs, volume and zones via the ISY directly.
barkster Posted October 22, 2013 Author Posted October 22, 2013 Cool I'll have to look into the network module, never heard of it. Thanks
Brian H Posted October 22, 2013 Posted October 22, 2013 The network module is a firmware add on. You can access the list from the Help Tab. Purchase Modules. http://wiki.universal-devices.com/index ... Networking Information for all the modules is part of this page. http://wiki.universal-devices.com/index ... =Main_Page
barkster Posted October 22, 2013 Author Posted October 22, 2013 could you share your code you used to control your stereo?
io_guy Posted October 22, 2013 Posted October 22, 2013 Sure, here's an example to turn the power on: It's an HTTP POST using raw text. <?xml version="1.0" encoding="utf-8"?> On
barkster Posted October 22, 2013 Author Posted October 22, 2013 well I was hoping to see it all. I'm not even sure I'll be purchasing the yamaha receiver but would be helpful to others too I'm sure.
arw01 Posted October 22, 2013 Posted October 22, 2013 I control a denon that is non network with a isy to a raspberry pi and then use lirc, I've had lirc crash once, the rest of the time it has been power drops, reboots, etc etc. Go for the simpliest solution which is a direct connection from the ISY to the stereo via the network module. But there is a way with most non networked stereos.
ferdies Posted October 23, 2013 Posted October 23, 2013 Hi, I have a Yamaha AV Receiver as well. Would be glad to see the actual code too. Thanks in advance.
io_guy Posted October 23, 2013 Posted October 23, 2013 Hi, I have a Yamaha AV Receiver as well. Would be glad to see the actual code too. Thanks in advance. What I pasted was the actual code you would put in the network module. For a list of all the commands, you can go here: http://files.remotecentral.com/library/ ... index.html I only use a few (10) of the 100s available. You can pretty much control every setting of the receiver.
ferdies Posted October 23, 2013 Posted October 23, 2013 Thank you. However, please pardon my ignorance with regard to the Network Module details. Please let me know if I am doing this correctly since I am getting an error message. Thanks in advance.
Michel Kohanim Posted October 23, 2013 Posted October 23, 2013 Hi ferdies, I am not sure if there's an impact but you need to either change the user-agent or completely remove it. What you have there does not make sense. The rest looks good. With kind regards, Michel
ferdies Posted October 23, 2013 Posted October 23, 2013 Thanks for the feedback. I tried removing User-Agent, as per below. Both with and without user-agent, the 1st attachment is the error message I am getting. Thanks.
Michel Kohanim Posted October 24, 2013 Posted October 24, 2013 Hi ferdies, The unit is returning status code 400 = bad request. I think it's time to review their API documentation. With kind regards, Michel
io_guy Posted October 24, 2013 Posted October 24, 2013 Path should be: /YamahaRemoteControl/ctrl User agent should be removed. Content-Type should be: text/xml <?xml version="1.0" encoding="utf-8"?> should be the top line of your body as per my previous post.
ferdies Posted October 25, 2013 Posted October 25, 2013 Thanks io_guy I have revised the codes as per your suggestion. I am getting"ok" response from the av receiver. However, it seemed that it is not responding accordingly. In this example, the AVR did not turn off. Any feedback is appreciated. Thanks.
ferdies Posted October 25, 2013 Posted October 25, 2013 As per Yamaha command list: PWR [PUT Command] @MAIN:PWR=Parameter [GET Command] @MAIN:PWR=? or @SYS:PWR=? Operating & retrieving Power state of Main Zone Initial Auto Feedback is Available [Parameters] Standby PUT: turining its state to Standby / GET: indicating Standby status. On PUT: turining its state to On / GET: indicating On status. On/Standby PUT Only: toggling its status between On/Standby Thus, I have revised the code below but it is still not responding (Either @SYS or @MAIN). Any assistance on where I am doing it incorrectly will help. Thanks.
io_guy Posted October 25, 2013 Posted October 25, 2013 What your trying to use is the YNCA protocol, I'm using YNC (you can do more with the YNC but yours should be fine). To work with YNCA, it's completely different. The command you're trying to use would work by setting the network command as: tcp protocol port 50000 c-escaped The body would be: @SYS:PWR=On\r\n This works fine on my system.
ferdies Posted October 25, 2013 Posted October 25, 2013 Thanks io_guy. TCP commands work like a charm. I have now a way to turn on the my AVR if someone is in the room. I have 1 more question - i hope you dont mind. I would like to check the status of the AVR if it is "on". This program is providing me with the feedback. However, how do I capture it on ISY so that if the AVR is already "on", the ON_AVR_Program will not be executed anymore. Again, thanks.
io_guy Posted October 26, 2013 Posted October 26, 2013 You can't. The network module does not currently support any actions on the return info.
Recommended Posts