Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Search the Community
Showing results for tags 'sonos'.
-
i thought i would share a little VD i made coz i am a bit lazy when it comes to my Sonos. i created some playlists and saved them as .m3u files and each one is about an hour long. i then created a VD to select my speaker and then i sent the playlist path to it, set the initial volume and it just plays it all and turns off. No other input is required. you can pause/unpause and stop if required and adjust volume if needed. This VD requires the krikroff VD and sonos remote to work properly. to make it easier here is a short video : https://youtu.be/s8FPiVFa-gU and the VD is attached. Playlist_Selector.vfib
-
Hi, Strange one for you ... I have 14 sonos zones or varying types and when I add the 12th the VD doesn't work or display anything. I think its a number related issue as I removed a few and added a few different ones and always couldn't seem to add more than 11 I tried the usual, adding/removing VD many times, fixed IP's on the zones, all SW up to date, power cycled impacted zones, removed any 'funny' characters in the room or device names running 4.080 and it's the 1.0.1b beta sonos remote Does anybody have more that 11 zones with VD and all running okay ? Thanks -Frank
-
Hi, I'm using the 1.0.1b beta of the Sonos remote with the voicers API. I have a basic test scene to develop voice usage in my system From when I start the it takes between 8-9 seconds before I hear the sentence. The sonos mutes from when I start the scene The code is a simple function --[[ %% properties %% events %% globals --]] local ZoneID = 1308 local Message = "Seting away mode now, Alarm will arm in 30 seconds" local VolLevel = 30 local TTSEngineID = 356 if (fibaro:countScenes()>1) then fibaro:abort() end function tempFunc() fibaro:setGlobal("TTSZoneID", ZoneID) fibaro:setGlobal("TTSMessage", Message) fibaro:setGlobal("TTSVolLevel", VolLevel) fibaro:startScene(TTSEngineID) end tempFunc() The actual code to "speak" is separate as this allows me to call it with the required sentence and not repeat all the code The TTSEngineID code is from the forum here --[[ %% properties %% events %% globals --]] -- Configuration - Scene Info sceneName = "TTS Engine" sceneVersion = "1.0.1" -- Configuration - Device IDs local bid = 28 -- ID of the VD buttom (do not change) local sid = fibaro:getGlobalValue("TTSZoneID") -- Validate Number of Scene Instance if (fibaro:countScenes()>1) then fibaro:abort() end -- Main Scene Execution Code function tempFunc() local params = { message = fibaro:getGlobalValue("TTSMessage"), duration = 'auto', -- Duration: "auto", xx seconds language = "en-gb", -- Language: see http://www.voicerss.org/api/documentation.aspx to get your language code volume = fibaro:getGlobalValue("TTSVolLevel"), } local _f = fibaro local _x ={root="x_sonos_object",load=function(b)local c=_f:getGlobalValue(b.root)if string.len(c)>0 then local d=json.decode(c)if d and type(d)=="table"then return d else fibaro:debug("Unable to process data, check variable")end else fibaro:debug("No data found!")end end,set=function(b,e,d)local f=b:load()if f[e]then for g,h in pairs(d)do f[e][g]=h end else f[e]=d end;_f:setGlobal(b.root,json.encode(f))end,get=function(b,e)local f=b:load()if f and type(f)=="table"then for g,h in pairs(f)do if tostring(g)==tostring(e or"")then return h end end end;return nil end} -- Make a request to the remote to process params object instantly _x:set(tostring(sid), { tts = params }) _f:call(sid, "pressButton", bid) end -- Trigger Management local currentDate = os.date("*t") local startSource = fibaro:getSourceTrigger() --Start of Scene Execution if (startSource["type"] == 'property') then fibaro:debug("Started through property") tempFunc() -- this is calling the the function if something happens. elseif (startSource["type"] == 'global') then fibaro:debug("Started through variable") tempFunc() -- this is calling the the function if something happens. elseif (startSource["type"] == "autostart") then fibaro:debug("Started through autostart") tempFunc() -- this is calling the the function if something happens. elseif (startSource["type"] == "other") then fibaro:debug("Started through other ") tempFunc() -- this is calling the the function if something happens. else fibaro:debug("Scene not started, this can only be started through other, property, global or autostart!"); end -- End of Scene Execution fibaro:debug("Scene, " .. sceneName .. " v" .. sceneVersion .. " completed.") Is there anybody else experiencing this type of delay (or perhaps its normal ??) Is I used MP3's on my local NAS would it be faster? Thanks -F
-
Hi all, I want to include some virtual devices, such as Onkyo, Samsung TV and Sonos. When i enter the correct IP-adress and port the message: "Unfortunately there are no results for device search" appears. I am sure i have the correct IP-address and port. Does any know what i'm doing wrong? Regards, Laurens
-
- virtual device
- onkyo
-
(and 2 more)
Tagged with:
-
Hi, I have come across what I think is a limit to the number of words that the TTS engine can speak. The following scene lua will work --[[ %% properties %% events %% globals --]] -- Configuration - Device IDs local bid = 28 local sid = 1203 local params = { message = "the big furry cat sat on the mat", duration = 'auto', -- Duration: "auto", xx seconds language = "en-gb", -- Language: see http://www.voicerss.org/api/documentation.aspx to get your language code volume = 45, } local _f = fibaro local _x ={root="x_sonos_object",load=function(b)local c=_f:getGlobalValue(b.root)if string.len(c)>0 then local d=json.decode(c)if d and type(d)=="table"then return d else fibaro:debug("Unable to process data, check variable")end else fibaro:debug("No data found!")end end,set=function(b,e,d)local f=b:load()if f[e]then for g,h in pairs(d)do f[e][g]=h end else f[e]=d end;_f:setGlobal(b.root,json.encode(f))end,get=function(b,e)local f=b:load()if f and type(f)=="table"then for g,h in pairs(f)do if tostring(g)==tostring(e or"")then return h end end end;return nil end} -- Make a request to the remote to process params object instantly _x:set(tostring(sid), { tts = params }) _f:call(sid, "pressButton", bid) but if I replace the message line with a longer message it doesn't work. (no error is given) message = "the big furry cat sat on the mat and the dog sat on the floor", I think the limit seems to be around 46 characters (or perhaps its a time limit, ~2 seconds of speaking??) 'Guest' in the following post indicated that they had announcements that were much longer that 50 chars that were working fine with the 1.0.0 beta http://forum.fibaro.com/index.php?/topic/20662-sonos-remote-v100-beta/page-3 Is this a known issue or is there a fix out there... Thanks -F
-
hello! I have tryed to use sonos TTS with kirschoffs VD but I cant get it to work. How have you guys solved it? Im using the latest sonos firmware, 6.1.1 regards K
-
I'm trying to find a clue on how to group two or more sonos speakers into a combined zone. (eg: kitchen and living room playing the same tracks). Searching the forum doesn't help me so far. Does anyone have any lua-code or code for a button in a virtual device to combine two players to 1 zone? or perhaps a link to en example?
-
Dear colleagues, We have problems importing virtual device confiuration file for Sonos into HCL. We use supported version we found here: http://www.fibarouk.co.uk/support/virtual-device-database/ and when we try to create new virtual device by importing vfib file into HCL (version 3.594) we receive an error 500 or 405 in local mode and 404 using remote configuration. Considering the nature of those error codes we ask you for an advice if you've experienced that? Thanks in advance! Regards,
-
I am considering the purchase of a full configuration of Fibaro for a very large house: Home Center 2, Motion Sensors, Wall Plugs and Flood Sensors. I need however to ensure further compatibility with: - Philips Hue lights - Sonos Audio System - Somfy RTS automated Blinds equipped with a Tahoma box and ideally: - honeywell Evohome connected to the Internet (Total connect Comfort Box) - Risco alarm system (connected through Riscocloud and mobile interface, apparently X10 compatible as well but not used so far) What level of compatibility could I expect from the Fibaro Home Center 2? I have read about some plugins (Sonos, Hue) but did not see anything about Somfy/RTS/Tahoma. Also apparently the plugins cannot be easily integrated in scenes... Additionally, is there an interface with IFTTT? Thanks
-
Is there a way to use MP3 files in scenes as voice confirmation instead of TTS? Now i use Sonos TTS from kirkof virtual device for voice confirmations / alarms / clock etc. from HC2, but i dont know why, sometimes it does not work. When it does work, there is long delay (around 30-60sec). Probably it's because of internet connection lag. So i made mp3 files with voice confirmations and i've put them on usb pendrive in router within shared folder. I can call them from any web browser so they can be used from home ethernet as well as over internet. I can call it even from fibaro sonos plugin, but you canot use fibaro sonos plugin in block scenes. Anybody has any ideas how to make LUA scene which can play mp3 files from ethernet on fibaro sonos plugin?