-
Notifications
You must be signed in to change notification settings - Fork 2
/
heos-set-player-volume.json
106 lines (106 loc) · 2.4 KB
/
heos-set-player-volume.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[
{
"id": "895c8ef067027dde",
"type": "tab",
"label": "HEOS - Set Player Volume",
"disabled": false,
"info": "",
"env": []
},
{
"id": "02aee6cbed100e8f",
"type": "inject",
"z": "895c8ef067027dde",
"name": "Level 10",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"playerVolumeLevel\":10}",
"payloadType": "json",
"x": 300,
"y": 160,
"wires": [
[
"8ecd9452ac7d7bce"
]
]
},
{
"id": "db52196ef29a4e12",
"type": "debug",
"z": "895c8ef067027dde",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 790,
"y": 180,
"wires": []
},
{
"id": "fa08147280c2dbdf",
"type": "inject",
"z": "895c8ef067027dde",
"name": "Level 20",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"playerVolumeLevel\":20}",
"payloadType": "json",
"x": 300,
"y": 220,
"wires": [
[
"8ecd9452ac7d7bce"
]
]
},
{
"id": "8ecd9452ac7d7bce",
"type": "heos-player-volume",
"z": "895c8ef067027dde",
"name": "",
"device": "",
"deviceAutodiscover": "autodiscover",
"playerId": "",
"playerVolumeLevel": 0,
"playerIdFromPayload": false,
"playerVolumeLevelFromPayload": true,
"x": 540,
"y": 180,
"wires": [
[
"db52196ef29a4e12"
]
]
},
{
"id": "e38372a0ac3ec963",
"type": "comment",
"z": "895c8ef067027dde",
"name": "Readme",
"info": "This example shows how a player volume level can be set.\n\nThe player ID must be set to a valid player ID.",
"x": 280,
"y": 80,
"wires": []
}
]