Like to share my solution to control my Yamaha receiver. 

SBNetIO running a bash sh script on my raspberry pi.

Yamaha Switches on on play (going to Scene 4), and shut off on stop.

Settings of SBNetIO

23558

Added files to my raspberry PI:

/home/pi/netio/on.sh

Code:
--------------------
    #!/bin/sh
  curl -s -X POST -d '<YAMAHA_AV cmd="PUT"><Main_Zone><Scene><Scene_Load>Scene 
4</Scene_Load></Scene></Main_Zone></YAMAHA_AV>'  
http://192.168.1.15/YamahaRemoteControl/ctrl > /dev/null
--------------------


/home/pi/netio/off.sh

Code:
--------------------
    #!/bin/sh
  curl -s -X POST -d '<YAMAHA_AV 
cmd="PUT"><System><Power_Control><Power>Standby</Power></Power_Control></System></YAMAHA_AV>'
 http://192.168.1.15/YamahaRemoteControl/ctrl > /dev/null
  
--------------------


+-------------------------------------------------------------------+
|Filename: sbnetio_plugin.png                                       |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23558|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
realbase's Profile: http://forums.slimdevices.com/member.php?userid=67214
View this thread: http://forums.slimdevices.com/showthread.php?t=100514

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to