When I finished pluggin in all the cables for a first time I encountered weird issue – some zones are quiet (fox example 3,4,5) and some zones are more laud (for example 1,2,3) – judging based on phoenix connector. When I plug what was quiet to loud connector it suddenly becomes loud and vice versa. At this point I didn’t change any zone settings yet. Also is there a way to override max volume? so that the 100% is like 200% when compared to the original settings?
Hey CtrlAltMusic, welcome to our discourse!
At first glance that sounds like a potential hardware issue, but there’s a few steps to check before we can say that for sure.
Part of AmpliPi’s design is that there’s one source that has a different DAC than the other three, so it’s possible that you’re running into that if you’re playing different things and testing that way. I’d suggest connecting all zones to one single stream and set them to the same volume and see if the issue persists.
A second thing to check is if all of the zones have the same decibel settings. This can be checked by going to Settings → Zones and clicking on each zone to verify that they’re set to the same numbers
If this discrepancy persists after all those steps, I’d suggest reaching out to us at support@micro-nova.com
I wrote this before I realized assigned zones are exclusive to streams (which results in mediocre UX) but given this limitation now my system operates as expected.
What I mean I cannot have assigned more than one stream to a zone – I would expect I can and IF both streams starts playing whoever was first wins)
For instance I want to have a stream called “Inside-the-house” and “Downstairs” and “Upstairs”. And I want “Downstairs” to have overlap with “Inside-the-house” when it comes to zones assigned. And if I’m playing musing to stream called “Downstairs” and than someone starts playing musing into “Inside-the-house” only available speakers would play.
My point is I want to have those streams setup for convenience up front not have to fiddle with the AmpliPi app point being some folks don’t know about AmpliPi app and cannot be expected to know about it.
This is an interesting usecase, and if you have a home assistant setup with our plugin it would be fairly easy to build yourself. If you have a home assistant setup, you can use an automation roughly like the one below to do what you want. Basically just have an automation/a few automations that watch for track changes in the given Spotify stream(s), check that the competing Spotify streams media_track attribute is set to None or their default as a method of seeing that they aren’t currently playing anything before connecting the relevant zone(s) and/or group(s) to the related stream
There are some rough points on this, such as race conditions when you start streaming to multiple things around the same time as well as the fact that it’s somewhat laborious to build for the first time (something I’d like to solve with a blueprint, but can’t provide a time estimate on when that’d be available), but in 95% of cases this type of thing will do what you want and you should only need to set it up once:
alias: Autospot
description: “”
triggers:
- trigger: state
entity_id:- media_player.amplipi_stream_1001
- media_player.amplipi_stream_1002
attribute: media_track
conditions: [ ]
actions:
- if:
- condition: and
conditions:- condition: template
value_template: >-
{{ state_attr(‘media_player.amplipi_stream_1001’, ‘media_track’)
not in [None, ‘Connect to Spotify 1 on Spotify Connect’, ‘Connect
to Spotify 2 on Spotify Connect’, ‘Connect to Spotify 3 on Spotify
Connect’, ‘Connect to Spotify 4 on Spotify Connect’] }} - condition: template
value_template: >-
{{ state_attr(‘media_player.amplipi_stream_1002’, ‘media_track’)
in [None, ‘Connect to Spotify 1 on Spotify Connect’, ‘Connect to
Spotify 2 on Spotify Connect’, ‘Connect to Spotify 3 on Spotify
Connect’, ‘Connect to Spotify 4 on Spotify Connect’] }}
then:
- condition: template
- action: media_player.select_source
metadata: {}
data:
source: Spotify 1
target:
entity_id: media_player.amplipi_group_104
else: - if:
- condition: and
conditions:- condition: template
value_template: >-
{{ state_attr(‘media_player.amplipi_stream_1001’,
‘media_track’) in [None, ‘Connect to Spotify 1 on Spotify
Connect’, ‘Connect to Spotify 2 on Spotify Connect’, ‘Connect
to Spotify 3 on Spotify Connect’, ‘Connect to Spotify 4 on
Spotify Connect’] }} - condition: template
value_template: >-
{{ state_attr(‘media_player.amplipi_stream_1002’,
‘media_track’) not in [None, ‘Connect to Spotify 1 on Spotify
Connect’, ‘Connect to Spotify 2 on Spotify Connect’, ‘Connect
to Spotify 3 on Spotify Connect’, ‘Connect to Spotify 4 on
Spotify Connect’] }}
then:
- condition: template
- action: media_player.select_source
metadata: {}
data:
source: Spotify 2
target:
entity_id: media_player.amplipi_group_104 - action: media_player.volume_mute
metadata: {}
data:
is_volume_muted: false
target:
entity_id: media_player.amplipi_group_104
mode: single
- condition: and
- condition: and
Relatedly to your other thread, if you were to get a home assistant setup you could build physical buttons/dials/switches in any given room that would allow you to change the volume of your stream without touching our app or home assistant (beyond the initial setup). While that isn’t what you’d like re: matching spotify’s volume control setting, it is a step closer to the interest of never touching our app (also, if relevant, any guests or other people who don’t want to use our app can go to amplipi.local while connected to your network and reach the controls with no added installations)
I see, thank you for your elaborate reply, unfortunately I don’t run any home automation.. but possibly I can point people into the Amplify app, let’s see how it goes