npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.bluesound

v1.1.0

Published

Adapter to control Bluesound devices

Downloads

86

Readme

Logo

ioBroker.bluesound

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

bluesound adapter for ioBroker

Adapter to control Bluesound devices

Functions included

The adapter uses API calls in the format: http://--playerAPI--:11000/xxx

A timeout parameter is set by optional parameter 'config.TimeOut' as timeout for the API call. Default value is 2 secs.

At startup the presets are read and added to the 'presets' channel. Player model and name are stored in the 'info' channel. When player is playing the titles are set 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.*'.

PollingTime values up to 120 secs are reasonable. The adapter cannot be startet with values larger than 300 secs. Default value is 30 secs.

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) Play Presetxxx (triggered by setting '.presets.preset(x).start' to true) Change Volume (triggered by changing 'control.volume')

Changelog

1.1.0 (2024-10-19)

  • (Uwe Nagel) Potentially invalid characters are replaced before creating an object
  • (Uwe Nagel) setTimeout used instead of setInterval, clearTimeout added
  • (Uwe Nagel) Check values for PollingTime and TimeOut
  • (Uwe Nagel) Missing sizes added
  • (Uwe Nagel) State roles reevaluated
  • (Uwe Nagel) subscribeState calls eliminated
  • (Uwe Nagel) Instance prefixes in ObjectIds are omitted when calling setState()
  • (Uwe Nagel) State change now honors ack flag
  • (Uwe Nagel) PollingTime and TimeOUT changed to type number
  • (Uwe Nagel) onReady() stopped when no IP is set
  • (Uwe Nagel) Testing extended to node 22.x
  • (Uwe Nagel) Example code removed

1.0.3 (2024-09-26)

  • (Uwe Nagel) Parsing of /State corrected

1.0.2 (2024-09-19)

  • (Uwe Nagel) Modified due to adapter checks

1.0.1 (2024-05-24)

  • (Uwe Nagel) Added config descriptions
  • (Uwe Nagel) Added translations for object descriptions
  • (Uwe Nagel) Added role definition for all objects
  • (Uwe Nagel) Added Timeout config Parameter

1.0.0 (2024-05-17)

  • (Uwe Nagel) initial release

License

MIT License

Copyright (c) 2024 Uwe Nagel [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.