This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
increase volume of Sonos through Voice command (logic question)
MarcelKleine
Member
Hi all,
New Homey user here. :-)
I'm trying to figure out how to increase volume of a playing Sonos system with perhaps 10%increments after speaking a phrase to Homey. I see the Sonos has a volume tag and I'm thinking if I can read the current volume I should be able to pass some logic to homey to increase current value +10% or something like that.
Anyone who can point me in the right direction would be much appreciated.
Many thanks,
Marcel.
New Homey user here. :-)
I'm trying to figure out how to increase volume of a playing Sonos system with perhaps 10%increments after speaking a phrase to Homey. I see the Sonos has a volume tag and I'm thinking if I can read the current volume I should be able to pass some logic to homey to increase current value +10% or something like that.
Anyone who can point me in the right direction would be much appreciated.
Many thanks,
Marcel.
Comments
I know for sure this question has been asked and answered a number of times (this week) before....
for example... or
https://forum.athom.com/discussion/comment/51451/#Comment_51451
but Don't know if volume is a gettable tag for sonos, don't have it...
- If I drag the new (BetterLogic) tag onto the Sonos Volume-actioncard, will the original Sonos #volume-tag also change to the new value (since the volume on the Sonos will change)?
- Can I put the value of the BetterLogic Volume tag into the original Sonos #volume-tag and then drag the Sonos #volume-tag onto the Sonos Volume-actioncard?
Can u explain why u wanna do this?
Ty for your answer. The 2nd idea was as a way out, in case the answer on the first question would be no.
My issue is that when i set the volume on the Sonos with my BetterLogic value, somehow the sonos #volumetag doesn't change. I will try again when i have more time and put a copy of my screen here.
It all doesn't really work for me because of the long number issue, so i was looking for other logic.
Update: I figured out my issue, which was that i had not placed $ around the variable name in the mathjs.