Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function systemSleep() {
  2.    BeeToo.console.debug('working...', 'systemSleep');
  3.    IR.SetVariable("Server.Tags.FirstFloorTVs", 0);
  4.    IR.SetVariable("Server.Tags.SecondFloorTVs", 0);
  5.    IR.SetVariable("Server.Tags.AllTVs", 0);
  6.    TVs.all.stop();
  7.    audacMTX48Device.Set('Mute 1', 1);
  8.    audacMTX48Device.Set('Mute 2', 1);
  9.    audacMTX48Device.Set('Mute 3', 1);
  10.    audacMTX48Device.Set('Mute 4', 1);
  11.    IR.SetVariable('Server.Channels.Global Cache:Serial 1.Off', 1);
  12.    IR.GetDevice('PanasonicCamera').Set('StandBy', 1);
  13.    projector1.power(0);
  14.    projector2.power(0);
  15.    projector3.power(0);
  16. }
  17.  
  18. function systemWakeUp() {
  19.    BeeToo.console.debug('working...', 'systemWakeUp');
  20.    IR.SetVariable("Server.Tags.FirstFloorTVs", 1);
  21.    TVs.firstFloor.start();
  22.    audacMTX48Device.Set("Mute 1", 0);
  23.    IR.SetVariable("Server.Channels.Global Cache:Serial 1.On", 1);
  24.    IR.GetDevice("Audac MTX48 (TCP)").Set("Select In for Zone 1", 5);
  25.    IR.SetVariable('Server.Channels.Global Cache:Serial 1.3 to 1', 1);
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement