How to check current volume in a condition?

Is there a way to check the current volume of a sonos player in an RM rule. I haven't spotted how if its possible.

I wanted to conditionally set the volume in a few places based on what the current volume is. This is because someone manually setting the volume lower than the defaults I have set would be an indication not to set the volumes higher in an automated routine.

One example is I have sonos speakers in the bathroom and sensors in the bathroom and shower so when you enter the bathroom the speaker volume defaults to 50%, and when you enter the shower it bumps it up to 100%. But if someone had manually lowered the volume below the 50% then I want to add a conditional to check the volume level and if its < 50 then bump it to 100 else leave it where its at.

Never mind, I figured out how to set a variable to the volume setting then compare on the variable.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.