Es funktioniert. Eigentlich ganz einfach wenn man weiss wie. Für das Einschalten muß der Yamaha aber auf Netzwerk Standby konfiguriert werden. Nachfolgend die Zeilen welche in der Webabfrage eingetragen werden müssen:
POST /YamahaRemoteControl/ctrl HTTP/1.1
Host: 172.27.1.74
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Content-Type: text/xml; charset=UTF-8
Referer: http://172.27.1.74/
Content-Length: 103
Pragma: no-cache
Cache-Control: no-cache
<YAMAHA_AV cmd="PUT"><System><Power_Control><Power>Standby</Power></Power_Control></System></YAMAHA_AV>
__________________________________________________ __________-
Ich habe noch keine Ahnung, welche Zeilen weggelassen werden können.
POST /YamahaRemoteControl/ctrl HTTP/1.1
Host: 172.27.1.74
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Content-Type: text/xml; charset=UTF-8
Referer: http://172.27.1.74/
Content-Length: 103
Pragma: no-cache
Cache-Control: no-cache
<YAMAHA_AV cmd="PUT"><System><Power_Control><Power>Standby</Power></Power_Control></System></YAMAHA_AV>
__________________________________________________ __________-
Ich habe noch keine Ahnung, welche Zeilen weggelassen werden können.
Kommentar