Variablen sind schon aktualisiert worden. Der Befehl mit Sat/Cbl geht leider noch nicht, schalte noch mit dem Script.
Variablen sind schon aktualisiert worden. Der Befehl mit Sat/Cbl geht leider noch nicht, schalte noch mit dem Script.
Ja habe ich gemacht ,geht aber wie gesagt nicht.
Ok komme frühestens am Wochenende dazu mir das mal näher anzuschauen.
Der Befehl Sat/Cbl geht, musste den Denon nur mal neu starten.
Wenn Du aber noch die anderen Sachen einbauen könntest (Blu-Ray, Media Player, Dolby Atmos u.s.w.) wäre Super.
Der Volumen Regler bei den neuen Receivern geht auch von 0 bis 100 und hat keine negativen Vorzeichen.
Geändert von karo2000 (29.04.16 um 16:19 Uhr)
Klasse Idee, ein Denon Modul zu erstellen. Vielen Dank dafür bereits jetzt!!!
Leider will das gute Stück parout nicht mit meinem Denon3808 funktionieren.
Als Telnet Instanz eingerichtet, Socket verbunden, werden weder Stati aktualisiert, noch Befehle gesendet.
Die xml Abfrage aus dem Post 4 ergibt auch nur:
Eine Idee was man da machen kann oder welche Infos ich noch bereitstellen kann?PHP-Code:
object(SimpleXMLElement)#1 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#3 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(48) "Form formMainZone_MainZoneXml.xml is not defined"
}
}
object(SimpleXMLElement)#3 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#4 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(48) "Form formMainZone_MainZoneXml.xml is not defined"
}
}
object(SimpleXMLElement)#4 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#5 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(54) "Form formMainZone_MainZoneXmlStatus.xml is not defined"
}
}
object(SimpleXMLElement)#5 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#6 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(54) "Form formMainZone_NetAudioStatusXml.xml is not defined"
}
}
object(SimpleXMLElement)#6 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#7 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(47) "Form formMainZone_Deviceinfo.xml is not defined"
}
}
object(SimpleXMLElement)#7 (2) {
["head"]=>
object(SimpleXMLElement)#2 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#8 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(49) "Form formiPhoneAppDeviceSearch.xml is not defined"
}
}
Liegt es evtl. daran dass mein IPS auf einem Raspi läuft?
Herzlichen Dank an dieser Stelle.
Peter
Lassen sich die XML Files denn öffnen wenn Du die URL in einen Browser eingibst oder existieren diese einfach bei dem Modell nicht? Am Raspberry liegt dies definitiv nicht. Das Problem wird wohl das Auslesen der Inputs sein. Falls es bei den älteren Modellen keine Möglichkeit gibt die Inputs automatisch auszulesen, werde ich noch eine Option einbauen das man als Nutzer die Inputs von Hand setzten kann, dann sollte das auch mit den Modellen funktionieren bei denen keine XML verfügbar ist.
Sorry... hätte ich ja auch selber dsrauf kommen können.
Leider läuft in der Tat jeglicher xml Abruf ins Leere... schade.
Würde mich natürlch sehr freuen irgendwann trotzdem dein Modul benutzen zu können. Aktuell benutze ich - mehr schlecht als recht - das andere Denon Skript welches hier im Umlauf ist.
Sobald du etwas eingearbeitet hast, biete ich mich gern als Tester an.
Viele Grüße
Peter
Hallo,
geile Umsetzung bis jetzt. Könntest du den AVR-X1200W auch einpflegen? Habe das Problem das die Sources nicht richtig ausgelesen werden (Bsp.: Network). Die Zone2 kann ich im Moment auch nicht separat an- bzw. ausschalten.
Da ich sehr viel Online Music höre, stellt sich für mich die Frage ob ein auslesen und auswählen eines Favouriten möglich ist?
Danke im Voraus.
PHP-Code:
object(SimpleXMLElement)#1 (26) {
["FriendlyName"]=>
object(SimpleXMLElement)#2 (1) {
["value"]=>
string(16) "Denon-AVR-X1200W"
}
["Power"]=>
object(SimpleXMLElement)#3 (1) {
["value"]=>
string(2) "ON"
}
["ZonePower"]=>
object(SimpleXMLElement)#4 (1) {
["value"]=>
string(2) "ON"
}
["RenameZone"]=>
object(SimpleXMLElement)#5 (1) {
["value"]=>
string(9) "MAIN ZONE"
}
["TopMenuLink"]=>
object(SimpleXMLElement)#6 (1) {
["value"]=>
string(2) "ON"
}
["VideoSelectDisp"]=>
object(SimpleXMLElement)#7 (1) {
["value"]=>
string(2) "ON"
}
["VideoSelect"]=>
object(SimpleXMLElement)#8 (1) {
["value"]=>
object(SimpleXMLElement)#28 (0) {
}
}
["VideoSelectOnOff"]=>
object(SimpleXMLElement)#9 (1) {
["value"]=>
string(3) "OFF"
}
["VideoSelectLists"]=>
object(SimpleXMLElement)#10 (1) {
["value"]=>
array(2) {
[0]=>
string(3) "Ein"
[1]=>
string(3) "Aus"
}
}
["ECOModeDisp"]=>
object(SimpleXMLElement)#11 (1) {
["value"]=>
string(2) "ON"
}
["ECOMode"]=>
object(SimpleXMLElement)#12 (1) {
["value"]=>
object(SimpleXMLElement)#28 (0) {
}
}
["ECOModeLists"]=>
object(SimpleXMLElement)#13 (1) {
["value"]=>
array(3) {
[0]=>
object(SimpleXMLElement)#28 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(2) "ON"
["table"]=>
string(8) "ECO: EIN"
["param"]=>
string(0) ""
}
}
[1]=>
object(SimpleXMLElement)#29 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(3) "OFF"
["table"]=>
string(8) "ECO: AUS"
["param"]=>
string(0) ""
}
}
[2]=>
object(SimpleXMLElement)#30 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(4) "AUTO"
["table"]=>
string(9) "ECO: AUTO"
["param"]=>
string(0) ""
}
}
}
}
["AddSourceDisplay"]=>
object(SimpleXMLElement)#14 (1) {
["value"]=>
string(5) "FALSE"
}
["ModelId"]=>
object(SimpleXMLElement)#15 (1) {
["value"]=>
string(1) "1"
}
["BrandId"]=>
object(SimpleXMLElement)#16 (1) {
["value"]=>
string(11) "DENON_MODEL"
}
["SalesArea"]=>
object(SimpleXMLElement)#17 (1) {
["value"]=>
string(1) "4"
}
["InputFuncSelect"]=>
object(SimpleXMLElement)#18 (1) {
["value"]=>
string(12) "Online Music"
}
["NetFuncSelect"]=>
object(SimpleXMLElement)#19 (1) {
["value"]=>
string(3) "NET"
}
["selectSurround"]=>
object(SimpleXMLElement)#20 (1) {
["value"]=>
string(31) "Stereo "
}
["VolumeDisplay"]=>
object(SimpleXMLElement)#21 (1) {
["value"]=>
string(8) "Absolute"
}
["MasterVolume"]=>
object(SimpleXMLElement)#22 (1) {
["value"]=>
string(5) "-60.5"
}
["Mute"]=>
object(SimpleXMLElement)#23 (1) {
["value"]=>
string(3) "off"
}
["RemoteMaintenance"]=>
object(SimpleXMLElement)#24 (1) {
["value"]=>
object(SimpleXMLElement)#30 (0) {
}
}
["SubwooferDisplay"]=>
object(SimpleXMLElement)#25 (1) {
["value"]=>
string(5) "FALSE"
}
["Zone2VolDisp"]=>
object(SimpleXMLElement)#26 (1) {
["value"]=>
string(4) "TRUE"
}
["SleepOff"]=>
object(SimpleXMLElement)#27 (1) {
["value"]=>
string(3) "Aus"
}
}
object(SimpleXMLElement)#27 (26) {
["FriendlyName"]=>
object(SimpleXMLElement)#26 (1) {
["value"]=>
string(16) "Denon-AVR-X1200W"
}
["Power"]=>
object(SimpleXMLElement)#25 (1) {
["value"]=>
string(2) "ON"
}
["ZonePower"]=>
object(SimpleXMLElement)#24 (1) {
["value"]=>
string(3) "OFF"
}
["RenameZone"]=>
object(SimpleXMLElement)#23 (1) {
["value"]=>
string(5) "ZONE2"
}
["TopMenuLink"]=>
object(SimpleXMLElement)#22 (1) {
["value"]=>
string(2) "ON"
}
["VideoSelectDisp"]=>
object(SimpleXMLElement)#21 (1) {
["value"]=>
string(2) "ON"
}
["VideoSelect"]=>
object(SimpleXMLElement)#20 (1) {
["value"]=>
object(SimpleXMLElement)#29 (0) {
}
}
["VideoSelectOnOff"]=>
object(SimpleXMLElement)#19 (1) {
["value"]=>
string(3) "OFF"
}
["VideoSelectLists"]=>
object(SimpleXMLElement)#18 (1) {
["value"]=>
array(2) {
[0]=>
string(3) "Ein"
[1]=>
string(3) "Aus"
}
}
["ECOModeDisp"]=>
object(SimpleXMLElement)#17 (1) {
["value"]=>
string(2) "ON"
}
["ECOMode"]=>
object(SimpleXMLElement)#16 (1) {
["value"]=>
object(SimpleXMLElement)#29 (0) {
}
}
["ECOModeLists"]=>
object(SimpleXMLElement)#15 (1) {
["value"]=>
array(3) {
[0]=>
object(SimpleXMLElement)#29 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(2) "ON"
["table"]=>
string(8) "ECO: EIN"
["param"]=>
string(0) ""
}
}
[1]=>
object(SimpleXMLElement)#28 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(3) "OFF"
["table"]=>
string(8) "ECO: AUS"
["param"]=>
string(0) ""
}
}
[2]=>
object(SimpleXMLElement)#31 (1) {
["@attributes"]=>
array(3) {
["index"]=>
string(4) "AUTO"
["table"]=>
string(9) "ECO: AUTO"
["param"]=>
string(0) ""
}
}
}
}
["AddSourceDisplay"]=>
object(SimpleXMLElement)#14 (1) {
["value"]=>
string(5) "FALSE"
}
["ModelId"]=>
object(SimpleXMLElement)#13 (1) {
["value"]=>
string(1) "1"
}
["BrandId"]=>
object(SimpleXMLElement)#12 (1) {
["value"]=>
string(11) "DENON_MODEL"
}
["SalesArea"]=>
object(SimpleXMLElement)#11 (1) {
["value"]=>
string(1) "4"
}
["InputFuncSelect"]=>
object(SimpleXMLElement)#10 (1) {
["value"]=>
string(12) "Online Music"
}
["NetFuncSelect"]=>
object(SimpleXMLElement)#9 (1) {
["value"]=>
string(3) "NET"
}
["selectSurround"]=>
object(SimpleXMLElement)#8 (1) {
["value"]=>
string(31) "Stereo "
}
["VolumeDisplay"]=>
object(SimpleXMLElement)#7 (1) {
["value"]=>
string(8) "Absolute"
}
["MasterVolume"]=>
object(SimpleXMLElement)#6 (1) {
["value"]=>
string(3) "-50"
}
["Mute"]=>
object(SimpleXMLElement)#5 (1) {
["value"]=>
string(3) "off"
}
["RemoteMaintenance"]=>
object(SimpleXMLElement)#4 (1) {
["value"]=>
object(SimpleXMLElement)#31 (0) {
}
}
["SubwooferDisplay"]=>
object(SimpleXMLElement)#3 (1) {
["value"]=>
string(5) "FALSE"
}
["Zone2VolDisp"]=>
object(SimpleXMLElement)#2 (1) {
["value"]=>
string(4) "TRUE"
}
["SleepOff"]=>
object(SimpleXMLElement)#30 (1) {
["value"]=>
string(3) "Aus"
}
}
object(SimpleXMLElement)#30 (12) {
["Zone"]=>
object(SimpleXMLElement)#2 (1) {
["value"]=>
string(11) "MAIN ZONE
"
}
["Power"]=>
object(SimpleXMLElement)#3 (1) {
["value"]=>
string(2) "ON"
}
["InputFuncList"]=>
object(SimpleXMLElement)#4 (1) {
["value"]=>
array(11) {
[0]=>
string(7) "CBL/SAT"
[1]=>
string(3) "DVD"
[2]=>
string(7) "Blu-ray"
[3]=>
string(4) "GAME"
[4]=>
string(3) "AUX"
[5]=>
string(12) "Media Player"
[6]=>
string(8) "iPod/USB"
[7]=>
string(5) "TUNER"
[8]=>
string(7) "NETWORK"
[9]=>
string(8) "TV AUDIO"
[10]=>
string(9) "Bluetooth"
}
}
["RenameSource"]=>
object(SimpleXMLElement)#5 (1) {
["value"]=>
array(11) {
[0]=>
object(SimpleXMLElement)#14 (1) {
["value"]=>
string(12) "CBL/SAT "
}
[1]=>
object(SimpleXMLElement)#15 (1) {
["value"]=>
string(12) "DVD/Blu-ray "
}
[2]=>
object(SimpleXMLElement)#16 (1) {
["value"]=>
string(12) "Blu-ray "
}
[3]=>
object(SimpleXMLElement)#17 (1) {
["value"]=>
string(12) "Game "
}
[4]=>
object(SimpleXMLElement)#18 (1) {
["value"]=>
string(12) "AUX "
}
[5]=>
object(SimpleXMLElement)#19 (1) {
["value"]=>
string(12) "Media Player"
}
[6]=>
object(SimpleXMLElement)#20 (1) {
["value"]=>
string(8) "iPod/USB"
}
[7]=>
object(SimpleXMLElement)#21 (1) {
["value"]=>
string(5) "Tuner"
}
[8]=>
object(SimpleXMLElement)#22 (1) {
["value"]=>
string(12) "Online Music"
}
[9]=>
object(SimpleXMLElement)#23 (1) {
["value"]=>
string(12) "TV Audio "
}
[10]=>
object(SimpleXMLElement)#24 (1) {
["value"]=>
string(9) "Bluetooth"
}
}
}
["SourceDelete"]=>
object(SimpleXMLElement)#6 (1) {
["value"]=>
array(11) {
[0]=>
string(3) "USE"
[1]=>
string(3) "USE"
[2]=>
string(3) "USE"
[3]=>
string(3) "USE"
[4]=>
string(3) "USE"
[5]=>
string(3) "USE"
[6]=>
string(3) "USE"
[7]=>
string(3) "USE"
[8]=>
object(SimpleXMLElement)#24 (0) {
}
[9]=>
string(3) "USE"
[10]=>
string(3) "USE"
}
}
["InputFuncSelect"]=>
object(SimpleXMLElement)#7 (1) {
["value"]=>
string(3) "NET"
}
["VolumeDisplay"]=>
object(SimpleXMLElement)#8 (1) {
["value"]=>
string(8) "Absolute"
}
["RestorerMode"]=>
object(SimpleXMLElement)#9 (1) {
["value"]=>
object(SimpleXMLElement)#24 (0) {
}
}
["SurrMode"]=>
object(SimpleXMLElement)#10 (1) {
["value"]=>
string(31) "Stereo "
}
["MasterVolume"]=>
object(SimpleXMLElement)#11 (1) {
["value"]=>
string(5) "-60.5"
}
["Mute"]=>
object(SimpleXMLElement)#12 (1) {
["value"]=>
string(3) "off"
}
["Model"]=>
object(SimpleXMLElement)#13 (1) {
["value"]=>
object(SimpleXMLElement)#24 (0) {
}
}
}
object(SimpleXMLElement)#13 (2) {
["head"]=>
object(SimpleXMLElement)#12 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#11 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(54) "Form formMainZone_NetAudioStatusXml.xml is not defined"
}
}
object(SimpleXMLElement)#11 (2) {
["head"]=>
object(SimpleXMLElement)#12 (1) {
["title"]=>
string(28) "Document Error: Data follows"
}
["body"]=>
object(SimpleXMLElement)#10 (2) {
["h2"]=>
string(26) "Access Error: Data follows"
["p"]=>
string(47) "Form formMainZone_Deviceinfo.xml is not defined"
}
}
object(SimpleXMLElement)#10 (1) {
["Model"]=>
object(SimpleXMLElement)#12 (1) {
["value"]=>
string(13) "AVR-X1200WEUR"
}
}
Geändert von 7weazel7 (05.05.16 um 10:49 Uhr)
Bin gerade dabei alle neueren Modelle auch noch mit aufzunehmen und um zusätzliche Befehle der neueren Modelle zu ergänzen. Update erfolgt die nächsten Tage, da ist dann auch der AVR-X1200W dabei. Bezüglich Sources ist auch dann ein Bugfix dabei.
Das ist an sich merkwürdig, weil ja nur ein Befehl für Zone 2 gesendet werden sollte. Kannst Du mal die I/O Instanz öffnen und dort das Debug Fenster öffnen und dann bei Senden des Befehls schauen was dort erscheint?
Das muss ich mal schauen ich selber nutzte das nicht da ich Sonos nutzte. Wie wird denn die Musik abgespielt über LastFM oder was unterstützt das AVR Modell?