Advertisement
Guest User

Untitled

a guest
Feb 4th, 2019
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.29 KB | None | 0 0
  1.         {
  2.             "platform": "cmdSwitch2",
  3.             "name": "CMD Switch",
  4.             "switches": [
  5.                 {
  6.                     "name": "PS4",
  7.                     "on_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4",
  8.                     "off_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4 standby",
  9.                     "state_cmd": "sudo /opt/nodejs/bin/ps4-waker -d 192.168.1.112 search | grep -i '200 Ok'",
  10.                     "polling": true,
  11.                     "interval": 5,
  12.                     "timeout": 2000,
  13.                     "manufacturer": "Sony Corporation",
  14.                     "model": "CUH-1001A",
  15.                     "serial": "00000"
  16.                 },
  17.                 {
  18.                     "name": "PS4-kids",
  19.                     "on_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4-kids",
  20.                     "off_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4-kids standby",
  21.                     "state_cmd": "sudo /opt/nodejs/bin/ps4-waker -d 192.168.1.214 search | grep -i '200 Ok'",
  22.                     "polling": true,
  23.                     "interval": 5,
  24.                     "timeout": 2000,
  25.                     "manufacturer": "Sony Corporation",
  26.                     "model": "CUH-1001A",
  27.                     "serial": "000001"
  28.                 }
  29.             ]
  30.         },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement