Jump to content

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


  • 0

Syncing RGBW controllers


harrytasker
 Share

Question

8 answers to this question

Recommended Posts

  • 0
11 hours ago, harrytasker said:

How do i sync 2 or more RGBW controllers to the same color?

Try device grouping.

Pick one RGB (or any device) as master then at the beginning of its advanced tab scroll down to  'grouping', click on the RGB icons that you want to group together and  they will highlight. 

You will find whilst highlighted the other devices will mimic their 'master' device.

They will also disappear from the rest of the system unless unselected.

Edited by Jamie mccrostie
  • Like 1
Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thanks. But somehow it doesnt show the grouping option. I have the option on other devices but not on the RGBW module? Strange, running latest beta 4.161 for the fibaro lite... Maybe beta issue?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • On 2/27/2018 at 8:22 AM, Jamie mccrostie said:

    Try device grouping.

    Pick one RGB (or any device) as master then at the beginning of its advanced tab scroll down to  'grouping', click on the RGB icons that you want to group together and  they will highlight. 

    You will find whilst highlighted the other devices will mimic their 'master' device.

    They will also disappear from the rest of the system unless unselected.

    Hi,

     

    Once again thanks but i can't seem to find the option anywhere in the advanced tab for grouping! You got a picture? Thanks

    Link to comment
    Share on other sites

    • 0
    6 hours ago, harrytasker said:

    Hi,

     

    Once again thanks but i can't seem to find the option anywhere in the advanced tab for grouping! You got a picture? Thanks

    Please login or register to see this attachment.

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 16 hours ago, Jamie mccrostie said:

    Please login or register to see this attachment.

     

     

    As you can see i dont have any of those options....

    Looks like the same problem as in this topic: 

     

    That one was running 4.160 final and i do remember it was working then, even though with some delay syncing RGBW controllers.

    I am at 4.161 beta now and the problem is back again...

     

    Please login or register to see this attachment.

    Edited by harrytasker
    Link to comment
    Share on other sites

    • 0

    I just updated my HC2 to 4.170 and tried to group the RGBW devices but found that it switches the second light on but when I change the colour, it does not sync. I instead have been using a scene to do this for couple of years now. As you can see, I have the Master device as 36 and slave as 43. The scene code is not originally mine, but it is on Vesternet's site.

     

    --[[
    %% properties
    36 color
    %% globals
    --]]

    local id_master = 36; -- ID of Master (also change ID above)
    local id_slaves = {43}; -- ID of Slaves, seperated by comma eq {1}, {1,2,3}
    local rgbwType = "fibaro"; -- fibaro or zipato
    local debug = true; -- Debug true or false

    if (fibaro:countScenes()>1) then
      fibaro:debug('Kill second scene!');
      fibaro:abort();
    end

    -- Don't change ---

    if debug then fibaro:debug("Syncing RGB"); end

    function split(s, pattern, maxsplit)
      local pattern = pattern or ' '
      local maxsplit = maxsplit or -1
      local s = s
      local t = {}
      local patsz = #pattern
      while maxsplit ~= 0 do
        local curpos = 1
        local found = string.find(s, pattern)
        if found ~= nil then
          table.insert(t, string.sub(s, curpos, found - 1))
          curpos = found + patsz
          s = string.sub(s, curpos)
        else
          table.insert(t, string.sub(s, curpos))
          break
        end
        maxsplit = maxsplit - 1
        if maxsplit == 0 then
          table.insert(t, string.sub(s, curpos - patsz - 1))
        end
      end
      return t
    end

    local result = split(fibaro:getValue(id_master, "color"), ',')

    if debug then fibaro:debug(result[1]..","..result[2]..","..result[3]..","..result[4]); end

    for i = 1, #id_slaves do
      fibaro:debug(fibaro:getValue(id_master, "value"))
      if rgbwType == "fibaro" then
        if (result[1] == "0" and result[2] == "0" and result[3] == "0" and result[4] == "0" and (tonumber(fibaro:getValue(id_master, "currentProgramID")) > 0)) then
          if debug then fibaro:debug(fibaro:getValue(id_master, "currentProgramID")); end
          fibaro:call(id_slaves, "startProgram", fibaro:getValue(id_master, "currentProgramID"));
        else
          fibaro:call(id_slaves, "setColor", result[1], result[2], result[3], result[4])
        end
      elseif rgbwType == "zipato" then
        fibaro:call(id_slaves, "setColor", result[1], result[2], result[3], result[4])
      end
    end

     

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...