NEWS
Test Adapter Bluesound v1.3.x
-
Aktuelle Version: 1.3.0
Veröffentlichungsdatum: 03.12.2025
Github Link: https://github.com/Uwe1958/ioBroker.bluesound
npm Package: iobroker.bluesound@1.3.0Adapter to control Bluesound devices
Bluesound devices like Pulseflex or Node can be controlled by this adapter. Config parameters are the IP of the device and the PollingTime in sec. The status of the player is polled in the interval set by pollingtime. Newer NAD devices use the same functionality.
Functions included
The adapter uses API calls in the format: http://--playerIP--:11000/xxx
At startup the presets defined in the player are read from the device and added as objects to the 'presets' channel. The information stored for each preset are: ID, Url to logo and preset name. The player model and name are also read on start-up and stored in the 'info' channel.
When player is playing the submitted titles are shown in the 'info' channel. The player status is polled in the interval set by '.config.pollingtime' and the result is stored in '.control.state' as well as in '.info.*'.
All these objects can be used in a vis project to display info from the player and control the player.
The following functions are implemented:
- Player Stop (triggered by setting 'control.stop' to true)
- Player Start (triggered by setting 'control.start' to true)
- Player Pause (triggered by setting 'control.pause' to true, toggle mode)
- PresetX Start (triggered by setting 'presets.presetX.start' to true)
- Change Volume (triggered by changing 'control.volume')
- Shuffle Playlist (triggered by setting 'control.shuffle' to true, toggle mode)
- Playlist forward (triggered by setting 'control.forward' to true)
- Playlist backward (triggered by setting 'control.backward' to true)
- Switch to control the addition or replacement of new entries in the playlist (triggered by setting 'control.playlist', toggle mode)
Library browsing for LocalMusic is added. A dynamic menu list is available in 'info.list'. This object should be set as the 'Object ID' for a json-table to visualize the current menu. The object 'control.command' is used to pass the next command to the player. It is updated by defining it as the 'Selected ID' of that table. The table header itself is updated by using 'info.listheader' via object binding for the first headers' name. For better visualization only the first header should be shown and its width should be set to 100%.
All contents is drilled down up to the album level (with the exception of the Songs menu, in which songs are directly listed). When an album is selected its content is immediately played, replacing the contents of the current playlist or added to the current playlist. This behaviour is dependent on the value of info.playliststate. If the value is true the playlist is replaced, in the other case the new content is added. This object can be changed by control.playlist (Button with Toggle mode). Each time this button is pressed, the value of info.playliststate is inverted.
Library search is added. If a search string is entered in 'control.search' (via an input filed in the browser) the result of the search is shown in 'info.list' and can be further drilled down like in library browsing.
The contents of the current playlist is available in the object info.playlist (JSON) and can be visualized this way. It is also available as an html- table in info.playlisthtml and can be directly visualized in a html widget. The format of the resulting table can be modified using CSS
I developed and tested the adapter on a PulseFlex and Node device. It may need to be adapted for other types.
Please test the adapter. Any comments or requirements can be put into the issues of the Github repo.
-
Aktuelle Version: 1.3.0
Veröffentlichungsdatum: 03.12.2025
Github Link: https://github.com/Uwe1958/ioBroker.bluesound
npm Package: iobroker.bluesound@1.3.0Adapter to control Bluesound devices
Bluesound devices like Pulseflex or Node can be controlled by this adapter. Config parameters are the IP of the device and the PollingTime in sec. The status of the player is polled in the interval set by pollingtime. Newer NAD devices use the same functionality.
Functions included
The adapter uses API calls in the format: http://--playerIP--:11000/xxx
At startup the presets defined in the player are read from the device and added as objects to the 'presets' channel. The information stored for each preset are: ID, Url to logo and preset name. The player model and name are also read on start-up and stored in the 'info' channel.
When player is playing the submitted titles are shown in the 'info' channel. The player status is polled in the interval set by '.config.pollingtime' and the result is stored in '.control.state' as well as in '.info.*'.
All these objects can be used in a vis project to display info from the player and control the player.
The following functions are implemented:
- Player Stop (triggered by setting 'control.stop' to true)
- Player Start (triggered by setting 'control.start' to true)
- Player Pause (triggered by setting 'control.pause' to true, toggle mode)
- PresetX Start (triggered by setting 'presets.presetX.start' to true)
- Change Volume (triggered by changing 'control.volume')
- Shuffle Playlist (triggered by setting 'control.shuffle' to true, toggle mode)
- Playlist forward (triggered by setting 'control.forward' to true)
- Playlist backward (triggered by setting 'control.backward' to true)
- Switch to control the addition or replacement of new entries in the playlist (triggered by setting 'control.playlist', toggle mode)
Library browsing for LocalMusic is added. A dynamic menu list is available in 'info.list'. This object should be set as the 'Object ID' for a json-table to visualize the current menu. The object 'control.command' is used to pass the next command to the player. It is updated by defining it as the 'Selected ID' of that table. The table header itself is updated by using 'info.listheader' via object binding for the first headers' name. For better visualization only the first header should be shown and its width should be set to 100%.
All contents is drilled down up to the album level (with the exception of the Songs menu, in which songs are directly listed). When an album is selected its content is immediately played, replacing the contents of the current playlist or added to the current playlist. This behaviour is dependent on the value of info.playliststate. If the value is true the playlist is replaced, in the other case the new content is added. This object can be changed by control.playlist (Button with Toggle mode). Each time this button is pressed, the value of info.playliststate is inverted.
Library search is added. If a search string is entered in 'control.search' (via an input filed in the browser) the result of the search is shown in 'info.list' and can be further drilled down like in library browsing.
The contents of the current playlist is available in the object info.playlist (JSON) and can be visualized this way. It is also available as an html- table in info.playlisthtml and can be directly visualized in a html widget. The format of the resulting table can be modified using CSS
I developed and tested the adapter on a PulseFlex and Node device. It may need to be adapted for other types.
Please test the adapter. Any comments or requirements can be put into the issues of the Github repo.