I have the TTS working but there is one issue I am seeing. I am not able to set the Volume level. It will play my TTS(Via the ALTSonos plugin) but only at the current value the sonos devices is set at. I have tried via LUUP code and the Action optin in Scene creator in ALTUI.
local ALTUI_DEVICE_NO = 850
local ALTUI_DEVICE_SID = “urn:upnp-org:serviceId:altui1”
local GROUP_ID_KITCHEN = “RINCON_######################”
local EVENT_VOLUME = “75”
EVENT_MESSAGE = “Garage Freezer door has been left open for more then five minutes, please close to prevent food from going bad.”
return luup.call_action(ALTUI_DEVICE_SID, “SayTTS”, {newMessage = EVENT_MESSAGE, newVolume = EVENT_VOLUME, newGroupDevices = GROUP_ID_KITCHEN}, ALTUI_DEVICE_NO)
I have my Sonos volume at 5 and when this runs, it should put volume to 75 but it does not. Any Ideas?
Volume