[quote=“The-Source, post:89, topic:167791”]Search for Command3808 on google for a codebase which is also used in this plugin. The L_DenonReceiver1.lua is basicly the source of command3808 transformed into a “vera file”
If you need some documentation search for AVR-3808CISerialProtocol and you should and up with a pdf which has also a version number on the end of it like “AVR-3808CISerialProtocol_Ver5.2.0a” In this document are all the telnet commands and responses…[/quote]
Interestingly, while the vera plugin works but just doesn’t have the right inputs/etc to match a different model than 3808 (ie 2112 or 1912 etc) the Command3808 program won’t communicate with my 2112ci at all. However, snooping around the 2112ci Webui I was able to dig up the javascript that it uses to configure the UI for each specific model. See attachment txt
below is where it sets up the input list based on which model its trying to configure the UI for:
// Sourceアイコンの追加
if( selectSource == "NET/USB" ) {
selectSource = data.getValue("NetFuncSelect");
if( selectSource == "IPOD DIRECT" || selectSource == "USB DIRECT" ) {
selectSource = "USB/IPOD";
}
}
if((parseInt( data.getValue( "ModelId" ) ) == 1) || // 19XX
(parseInt( data.getValue( "ModelId" ) ) == 2)) { // 21XX
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "DOCK"], selectSource, false);
appendSource($("#funcVideo .RFuncIcon"), del, source, rename, ["SAT/CBL" , "TV" , "GAME" , "GAME2" , "V.AUX"], selectSource, false);
}else if(parseInt( data.getValue( "ModelId" ) ) == 3){ // 23XX
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "DOCK"], selectSource, false);
appendSource($("#funcVideo .RFuncIcon"), del, source, rename, ["SAT/CBL" , "TV" , "GAME", "GAME2" , "DVR" , "V.AUX"], selectSource, false);
}else if(parseInt( data.getValue( "ModelId" ) ) == 4){ // 33XX
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "PHONO" , "DOCK"], selectSource, false);
appendSource($("#funcVideo .RFuncIcon"), del, source, rename, ["SAT/CBL" , "TV" , "GAME", "GAME2" , "DVR" , "V.AUX"], selectSource, false);
}else if(parseInt( data.getValue( "ModelId" ) ) == 5){ // NR160X
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "M-XPORT"], selectSource, false);
appendSource($("#funcVideo .RFuncIcon"), del, source, rename, ["SAT" , "TV" , "GAME"], selectSource, false);
}else if(parseInt( data.getValue( "ModelId" ) ) == 6){ // SR500X
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "M-XPORT" ], selectSource, false);
// appendSource($(“#funcVideo .RFuncIcon”), del, source, rename, [“SAT” , “TV” , “VCR” , “GAME” , “AUX”], selectSource, false);
appendSource($(“#funcVideo .RFuncIcon”), del, source, rename, [“SAT” , “TV” , “VCR” , “GAME” , “AUX1”], selectSource, false);
}else if(parseInt( data.getValue( "ModelId" ) ) == 7){ // SR600X
appendSource($("#funcPlayer .RFuncIcon"), del, source, rename, ["BD" , "DVD" , "CD" , "PHONO", "M-XPORT" ], selectSource, false);
// appendSource($(“#funcVideo .RFuncIcon”), del, source, rename, [“SAT” , “TV” , “VCR” , “GAME” , “AUX”, “AUX2”], selectSource, false);
appendSource($(“#funcVideo .RFuncIcon”), del, source, rename, [“SAT” , “TV” , “VCR” , “GAME” , “AUX1”, “AUX2”], selectSource, false);
}
var list;
if (data.getValue("SalesArea") == "0") { // USA
list = ["NET/USB", "Favorites", "Internet Radio" , "Media Server", "USB/iPod" , "Flickr" , "Pandora" , "Napster" , "Rhapsody" ];
}else if(data.getValue("SalesArea") == "1") { // EUR
if(data.getValue("LastfmDisplay") == "TRUE") { // Last FM Display
list = ["NET/USB", "Favorites", "Internet Radio" , "Media Server", "USB/iPod" , "Flickr" , "Last. fm" , "Napster" ];
}else{
list = ["NET/USB", "Favorites", "Internet Radio" , "Media Server", "USB/iPod" , "Flickr" , "Napster" ];
}
} else {
list = ["NET/USB", "Favorites", "Internet Radio" , "Media Server", "USB/iPod" , "Flickr" ];
}