Iv create scene for voice notification when kettle ready, i use fibaro wall plug, but scene dont work
what`s wrong?
local servicesonos = "urn:micasaverde-com:serviceId:Sonos1"
local idsonos = 12
local Energy = luup.variable_get("urn:micasaverde-com:serviceId:EnergyMetering1","Watts", 14)
Energy = tonumber (Energy)
if Energy < 1300
then
luup.call_action(servicesonos, "Say", {Text = "Tea Time", Language="en", Volume=60}, idsonos)
Are you using the Google TTS API?
I think that the Google TTS API has been discontinued and moved into the cloud computing platform or whatever its called.
I found another TTS API that’s still open and free to use.
The call is slightly different than Google’s so it doesn’t work with the Vera Sonos App right now.