@@ -4,45 +4,27 @@ This binding integrates the open-source Music Player [Volumio](https://www.volum
4
4
5
5
## Supported Things
6
6
7
-
8
7
All available Volumio (playback) modes are supported by this binding.
9
8
10
9
## Discovery
11
10
12
11
The Volumio devices are discovered through mDNS in the local network and all devices are put in the Inbox.
13
12
14
-
15
- ## Binding Configuration
16
-
17
- The binding has the following configuration options, which can be set:
18
-
19
- | Parameter | Name | Description | Required |
20
- | ----------- | ---------------- | -------------------------------------------------------------------------- | -------- |
21
- | hostname | Hostname | The hostname of the Volumio player. | yes |
22
- | port | Port | The port of your volumio2 device (default is 3000) | yes |
23
- | protocol | Protocol | The protocol of your volumio2 device (default is http) | yes |
24
- | timeout | Timeout | Connection-Timeout in ms | no |
25
-
26
-
27
13
## Thing Configuration
28
14
29
- The Volumio Thing requires the hostname, port and protocol as a configuration value in order for the binding to know how to access it.
30
- Additionally, a connection timeout (in ms) can be configured.
31
- In the thing file, this looks e.g. like
15
+ | Parameter name | Type | Description | Default | Required | Advanced |
16
+ | -----------------| ---------| ---------------------------------------| ---------| ----------| ----------|
17
+ | hostname | text | The hostname of your Volumio device. | N/A | yes | no |
18
+ | port | integer | The port of your Volumio device. | 3000 | no | no |
19
+ | protocol | text | The protocol of your Volumio device. | http | no | no |
20
+ | timeout | integer | Connection timeout in milliseconds. | 5000 | no | yes |
21
+
22
+ ### ` sample ` Thing Configuration
32
23
33
24
``` java
34
25
Thing volumio: player: VolumioLivingRoom " Volumio" @ " Living Room" [hostname= " volumio.local" , protocol= " http" ]
35
26
```
36
27
37
- ### ` sample ` Thing Configuration
38
-
39
- | Name | Type | Description | Default | Required | Advanced |
40
- | -----------------| ---------| ---------------------------------------| ---------| ----------| ----------|
41
- | hostname | text | The hostname of the Volumio player. | N/A | yes | no |
42
- | port | text | The port of your Volumio device. | 3000 | yes | no |
43
- | protocol | text | The protocol of your Volumio device. | http | yes | no |
44
- | timeout | integer | Connection-Timeout in ms. | 5000 | no | yes |
45
-
46
28
## Channels
47
29
48
30
The devices support the following channels:
@@ -54,18 +36,18 @@ The devices support the following channels:
54
36
| artist | String | R | Name of the artist currently playing. |
55
37
| album | String | R | Name of the album currently playing. |
56
38
| volume | Dimmer | RW | Set or get the master volume. |
57
- | player | Player | RW | The State channel contains state of the Volumio Player. |
39
+ | player | Player | RW | Control the state of the Volumio Player. |
58
40
| albumArt | Image | R | Cover Art for the currently played track. |
59
- | track-type | String | R | Tracktype of the currently played track. |
41
+ | track-type | String | R | Track type of the currently played track. |
60
42
| play-radiostream | String | RW | Play the given radio stream. |
61
- | play-playlist | String | RW | Playback a playlist identified by its name. |
43
+ | play-playlist | String | RW | Play a playlist identified by its name. |
62
44
| clear-queue | Switch | RW | Clear the current queue. |
63
- | play-uri | Switch | RW | Play the stream at given uri. |
64
- | play-file | Switch | RW | Play a file, located on your Volumio device at the given absolute path, e.g."mnt/INTERNAL/song.mp3" |
45
+ | play-uri | String | RW | Play the stream at given uri. |
46
+ | play-file | String | RW | Play a file, located on your Volumio device at the given absolute path, e.g."mnt/INTERNAL/song.mp3" |
65
47
| random | Switch | RW | Activate random mode. |
66
48
| repeat | Switch | RW | Activate repeat mode. |
67
- | system-command | Switch | RW | Sends a system command to Volumio. This allows to shutdown/ reboot Volumio. Use "Shutdown"/"Reboot " as String command.|
68
- | stop-command | Switch | RW | Sends a Stop Command to Volumio. This allows to stop the player. Use "stop" as string command. |
49
+ | system-command | String | RW | Sends a system command to shutdown or reboot the Volumio device . Use "shutdown" or "reboot " as string command. |
50
+ | stop-command | String | RW | Sends a Stop command to stop the player. Use "stop" as string command. |
69
51
70
52
71
53
## Full Example
0 commit comments