NOTE: This has been tested on Samsung TVs using the MDC Protocol which require a "magic packet" to turn on. The magic packet is a simple Wake-On-Lan command. A third-party utility [wolcmd] is required in order to send this packet (http://www.depicus.com/wake-on-lan/wake-on-lan-for-apple-mac.aspx - download the command line version located at the bottom of the page). This utility will need to be installed on all the Player Machines you wish to execute this script. 


NOTE: Before continuing you will need the IP Address and Mac Address of your Samsung TV's which can be located by opening the menu and going to Network -->  Network Status. It is recommended to set static IP addresses on your TV's or DHCP reservations for each TV. Please also ensure the RJ45 protocol has been turned on in the System --> Multi Control section of the menu. 


Installing Wolcmd

  1. Extract wolcmd to your Desktop
  2. Open Finder
  3. Select Go --> Go to Folder
  4. Type: /usr/bin and click GO
  5. Move wolcmd to this folder


Setting Up TextEdit for plain text and no smart quotes 

  1. Open Finder and Navigate to Applications
  2. Open TextEdit
  3. Select TextEdit --> Preferences
  4. Select Plain text
  5. Uncheck smart copy/paste, smart quotes, smart dashes, and smart links. 

Creating TV On fies
  1. In TextEdit select File --> New
  2. Copy the following example script into TextEdit:
wolcmd 0C89101A0B8A 10.0.2.226 255.255.255.0 4343 &
wolcmd 0C891018F1DF 10.0.2.227 255.255.255.0 4343 &
wolcmd 78ABBB54C7D9 10.0.2.228 255.255.255.0 4343

 

       3. Replace 10.0.2.226, 10.2.227, 10.0.2.228 with the IP Address of your TV's respectively 

       4. Replace 0C89101A0B8A, 0C891018F1DF, and 78ABBB54C7D9 with the Mac addresses which correspond to the IP Addresses of the TV's 

       4. Remove lines for additional TV's if unused or use the existing structure to add more TV's [add & to the end of a line in ensure parallel execution 

       5. Select File --> Save and save this file to the desktop of the Player machine as tvon.sh

       6. Open Finder and Select Applications --> Utilities --> Terminal 

       7. type: cd desktop and press return

       8. type: sh tvon.sh and press return

       9. This should execute the tvon script 


Creating TV Off file

  1. In TextEdit select File --> New
  2. Copy the following example script into TextEdit:

(printf "\xAA\x11\xFE\x01\x00\x10";sleep .4) | nc -w1 10.0.2.226 1515 &
(printf "\xAA\x11\xFE\x01\x00\x10";sleep .4) | nc -w1 10.0.2.227 1515 &
(printf "\xAA\x11\xFE\x01\x00\x10";sleep .4) | nc -w1 10.0.2.228 1515

 

       3. Replace 10.0.2.226, 10.2.227, 10.0.2.228 with the IP Address of your TV's respectively 

       4. Remove lines for additional TV's if unused or use the existing structure to add more TV's [add & to the end of a line in ensure parallel execution 

       5. Select File --> Save and save this file to the desktop of the Player machine as tvoff.sh

       6. Open Finder and Select Applications --> Utilities --> Terminal 

       7. type: cd desktop and press return

       8. type: sh tvoff.sh and press return

       9. This should execute the tvoff script 


Adding Scrpts to Execute in ~Sedna 

  1. Navigate to the Commands tab in ~sedna
  2. Select + and select Shell Script
  3. Name the script TV ON
  4. In the main command window - type: sh ~/Desktop/tvon.sh
  5. Select + and select Shell Script
  6. Name the script TV OFF
  7. In the main command window type: sh ~/Desktop/tvoff.sh
  8. Use these scrips in a Command Layer within a day template or arrangement to turn the TV ON or OFF 
  9. If at the top of an arrangement - Add the command at 500 milliseconds in to ensure consistent execution if triggered externally.