Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added bass and treble control #226

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

seb2010
Copy link
Contributor

@seb2010 seb2010 commented Feb 28, 2024

Two modifications were done:

  1. added the "bass" and "treble" states to the channel (r/w, -10 / +10 range)
  2. added statechange reaction for calling the setBass and setTreble function accordingly

As the node-sonos-discovery library does not seem to emit any events when the bass and/or treble value is changes externally, there is no point to listen for these changes. So you will ONLY be able to set new bass and trebles values but you cannot use the states to read the current bass and treble setting, as it will not get updated properly on external changes

@Apollon77 Apollon77 merged commit 890a417 into ioBroker:master Apr 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants