Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "platform": "cmdSwitch2",
- "name": "CMD Switch",
- "switches": [
- {
- "name": "PS4",
- "on_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4",
- "off_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4 standby",
- "state_cmd": "sudo /opt/nodejs/bin/ps4-waker -d 192.168.1.112 search | grep -i '200 Ok'",
- "polling": true,
- "interval": 5,
- "timeout": 2000,
- "manufacturer": "Sony Corporation",
- "model": "CUH-1001A",
- "serial": "00000"
- },
- {
- "name": "PS4-kids",
- "on_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4-kids",
- "off_cmd": "sudo /opt/nodejs/bin/ps4-waker PS4-kids standby",
- "state_cmd": "sudo /opt/nodejs/bin/ps4-waker -d 192.168.1.214 search | grep -i '200 Ok'",
- "polling": true,
- "interval": 5,
- "timeout": 2000,
- "manufacturer": "Sony Corporation",
- "model": "CUH-1001A",
- "serial": "000001"
- }
- ]
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement