-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
67 lines (65 loc) · 2.59 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [
{
"accessory": "Applescript",
"name": "Discover Weekly",
"on": "tell application ''Spotify'' \n play track ''spotify:user:spotifydiscover:playlist:3mlIskeiGuARRPULUzCwvp'' \n end tell",
"off": "quit application ''Evocam''"
},
{
"accessory": "Applescript",
"name": "Tunes",
"on": "tell application ''Spotify'' \n play track ''spotify:user:spotifydiscover:playlist:3mlIskeiGuARRPULUzCwvp'' \n end tell",
"off": "tell application ''Spotify'' \n pause \n end tell"
},
{
"accessory": "Applescript",
"name": "Hannah's Discover Weekly",
"on": "tell application ''Spotify'' \n play track ''spotify:user:spotifydiscover:playlist:7G660y2TJolf4SZ1u97bN9'' \n end tell",
"off": "tell application ''Spotify'' \n pause \n end tell"
},
{
"accessory": "Applescript",
"name": "Jazz Legends",
"on": "tell application ''Spotify'' \n play track ''spotify:user:1221726481:playlist:5JJnhRpXWbVWO2zMHjrnFr'' \n end tell",
"off": "quit application ''Evocam''"
},
{
"accessory": "Applescript",
"name": "Track Skipper",
"on": "tell application ''Spotify'' \n next track \n end tell",
"off": "tell application ''Spotify'' \n previous track \n previous track \n end tell"
},
{
"accessory": "Applescript",
"name": "Track Shuffler",
"on": "tell application ''Spotify'' \n set shuffling to true \n end tell",
"off": "tell application ''Spotify'' \n set shuffling to false \n end tell"
},
{
"accessory": "Applescript",
"name": "Lower Volume",
"on": "tell application ''Spotify'' \n set sound volume to (sound volume - 10) \n end tell",
"off": "tell application ''Spotify'' \n set sound volume to (sound volume + 10) \n end tell"
},
{
"accessory": "Applescript",
"name": "Jam Session",
"on": "tell application ''Ableton Live 9 Suite'' to activate",
"off": "tell application ''Spotify'' \n set sound volume to (sound volume + 10) \n end tell"
}
],
"platforms": [
{
"platform": "LifxLan",
"name": "LiFx"
}
]
}