Repository navigation
volume control with 2.0.0 #84
Replies: 4 comments
|
Hey @juniormajor — good question, and your mental model is mostly right. Let me lay out exactly how the two entities relate in 2.0.0. What each entity controls
So yes: ESPHome entity = the device's voice/announcement control, MA player = the music control. Why the MA player gets quieter after a restart The two volumes are separate, but both audio paths end up at the same hardware output. If "audio": {
"volume_sync": true
}That's why you only see it after a restart: the Sendspin output plays through that same OS sink, and MA's slider is a client-side gain on top of it. Lower the ESPHome volume, reboot, and the sink comes up at that lower level — MA's own slider didn't move, but everything got audibly quieter. Your options
Can you check your config, try One more intentional interaction to be aware of: while music plays, voice activity ducks it ( |
|
Understood, and confirmed. But then i don't understand why the WakeUp audio isn't reduced along the ESPHome integration entity. |
|
Hey @juniormajor — Thanks for pointing that difference out. It was a deliberate "hard coded" override of the wake volume to address an issue posted upstream in OHF-Voice/linux-voice-assistant (OHF-Voice#290) Why it was fixed: the wake chime is treated as a confirmation cue — "I heard you" — so it deliberately played at 100% regardless of the media player volume. The idea was that even if you run the satellite quiet, you still get an audible acknowledgment when the wake word triggers. Every other sound (TTS, thinking chime, timer alarm, mute sounds) follows the media player volume; the wake chime was the only outlier. But when you pointed it out, I thought "why not make it a configurable entity". After all, that is the point of this fork, let's make it work for us. What's new: as of today, main has a Wake Volume Override number entity on the device page:
The value persists to {
"app": {
"wake_volume": 40
}
}Update your device using |
|
works like a charm! thx! |
Uh oh!
There was an error while loading. Please reload this page.
with the 2.0.0 upgrade and sendspin rework, i'm not sure, if i understand the function/logic correctly.
right now i have 1x ESPhome device with "media control incl volume" and 1x MusicAssistant sendspin player device with "media control incl volume". am i right that ESPHome is the announcment,... control, and the sendspin player is the real media player control? If so, i don't understand why the ESPhome volume reduces also the overall mediaplayer volume after a restart. guessing that preferences.yaml comes into play?
BR
All reactions