-1

how to read the room number of the settings of the TV / TVs via the network. I can save number room in TV by remote control -> professional settings -> Room id

I needs to show something at the appropriate TV.

Update

function Room(){ 
    var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc(); 
    JAPITObjForWIXPSvc.Cookie = 1040;   
    JAPITObjForWIXPSvc.CmdType = "Change"; 
    JAPITObjForWIXPSvc.Fun = "ProfessionalSettingsControl"; 
    JAPITObjForWIXPSvc.CommandDetails = { 
        "ProfessionalSettingsParameters" : [ "RoomID" ]  lert(RoomID);
    }; 
    sendWIxPCommand(JAPITObjForWIXPSvc); 
    delete JAPITObjForWIXPSvc; 
}

I do not know whether a good trail goes, he needs to pull the number of TVs hotel I am definitely sure about the javascript help mi

beerwin
  • 9,813
  • 6
  • 42
  • 57
marban
  • 1
  • Can you show what you have tried so far? --- (This can be done using JS? Are you sure?) – evolutionxbox Aug 08 '16 at 08:40
  • function Room(){ var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc(); JAPITObjForWIXPSvc.Cookie = 1040; JAPITObjForWIXPSvc.CmdType = "Change"; JAPITObjForWIXPSvc.Fun = "ProfessionalSettingsControl"; JAPITObjForWIXPSvc.CommandDetails = { "ProfessionalSettingsParameters" : [ "RoomID" ] lert(RoomID); }; sendWIxPCommand(JAPITObjForWIXPSvc); delete JAPITObjForWIXPSvc; I do not know whether a good trail goes , he needs to pull the number of TVs hotel I am definitely sure about the javascript help mi – marban Aug 09 '16 at 11:53

2 Answers2

0

function RoomId()
 {
    var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc();
    JAPITObjForWIXPSvc.Cookie         = 1040;
    JAPITObjForWIXPSvc.CmdType        = "Request";
    JAPITObjForWIXPSvc.Fun            = "RoomID";
    sendWIxPCommand(JAPITObjForWIXPSvc);
    delete JAPITObjForWIXPSvc;
 };
marban
  • 1
0

function SetRoomRoom()
   {
    var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc();
    JAPITObjForWIXPSvc.Cookie         = 1040;
    JAPITObjForWIXPSvc.CmdType        = "Change";
    JAPITObjForWIXPSvc.Fun            = "ProfessionalSettingsControl";
    JAPITObjForWIXPSvc.CommandDetails = 
    {
    "ProfessionalSettingsParameters" :
    [
    "SwitchOnSource",
    "TVModel",
    "SerialNumber",
    "RoomID" : 0222,
    "NetworkSettings",
    "NetworkStatus",
    "PrimaryAudioLanguage",
    "PrimarySubtitleLanguage",
    "VolumeLimits",
    "SystemUIURL"]
  
   sendWIxPCommand(JAPITObjForWIXPSvc);
   delete JAPITObjForWIXPSvc;
   );
marban
  • 1