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


Recommended Posts

Posted

I have various 2 gang momentary switches connected to Fibaro RGB modules which are connected to RGB strips. The RGB module is setup as Rainbow mode.

- When I single click on either gang it turns the RGB strip on/off.

- When I hold down Gang 1 it rotates through the colour spectrum.

- When I hold down Gang 2 it kind of rotates through the colour spectrum in the reverse order, but it seems to get the colours right (in reverse) only about 50% of the time.

Can someone please explain if the rotating functionality of Rainbow mode is meant to work this way?

I would have thought that holding down gang 2 would rotate the colours in the exact reverse, so that if you missed a colour you could back up and select it without having to scroll through the entire spectrum again.

Posted

amilanov, Rainbow functionality does not work that way, it will roll through all the colors no matter which button was clicked.

  • Topic Author
  • Posted

    Is there a way to get an RGB module to work the way that I described (rotate one way and then back the other)?

    Either through single clicks to change the colours or click and hold?

    Posted

    Theoretically you can create a scene that will change color of RGBW, but it will be complicated to choose color by holding button. Single click actions are more likely to work, but if you need to control it by wall switch you will need a device with scene activation mode, like D/W sensor or UBS. Also creating table with color codes would be necessary.

    Posted

    Not having played around with the rgb module, I would still think the scene is quite easy to make. You just need a scene which can blend color... It could work something like this:

    - scene starts, first color starts increasing from 0 to max.

    - When color 1 reaches it's maximum intensity, color 2 will start to increase until it reaches maximum

    - when color 2 reaches max, color 1 will start to decrease until 0

    - when 1 is back at 0, color 3 will start to increase til max and then color 2 will decrease slowly to 0

    - finally, color 1 will start to increase once 3 is at max and eventually when 1 is at max, it will start decreasing 3 until 0.

    Now the color cycle is complete and you will have been through the entire light spectrum. When you hit the color you desire you let go the button and the scene halts. If you want to reverse the colors, you simply create a scene which does exactly as described above - just in reverse.

    With a bit of Lua skills (and an HC2 of course) this scene should be pretty simple to create.

  • Topic Author
  • Posted
    Not having played around with the rgb module, I would still think the scene is quite easy to make. You just need a scene which can blend color... It could work something like this:

    - scene starts, first color starts increasing from 0 to max.

    - When color 1 reaches it's maximum intensity, color 2 will start to increase until it reaches maximum

    - when color 2 reaches max, color 1 will start to decrease until 0

    - when 1 is back at 0, color 3 will start to increase til max and then color 2 will decrease slowly to 0

    - finally, color 1 will start to increase once 3 is at max and eventually when 1 is at max, it will start decreasing 3 until 0.

    Now the color cycle is complete and you will have been through the entire light spectrum. When you hit the color you desire you let go the button and the scene halts. If you want to reverse the colors, you simply create a scene which does exactly as described above - just in reverse.

    With a bit of Lua skills (and an HC2 of course) this scene should be pretty simple to create.

    Hey Dalle,

    I have already written the scene you are talking about, but I don't know how to implement it on an RGB module without the scene conflicting with the normal operation of the modules.

    At the moment the scene (which is very easy to write in LUA) is running on a dimmer module that controls the RGB indirectly, but I want the same functionality directly from the RGB module (which is connected to it's own switch).

    I am hoping that there is a very easy way to get it to work, but I haven't had the time to figure it out yet.

    Cheers

    Aleks

    Posted

    How does the rgb present itself? Is it presented as one or three(four?) devices? I would have thought you could control it just like a dimmer and then just control the colors as individual dimmers.

    Posted

    Dalle1985,

    It has 3 independent sliders for R G B (0-255), 1 for brightness (0-100) . On/Off switch, and panel to choose rgb theme.

  • Topic Author
  • Posted

    i am hoping that someone else that has RGBs installed has achieved the same functionality that I am trying to get.

    with the functionality as it is now, if you pass the colour that you want you have to scroll through the list again. maybe i'll try setting the scroll through speed faster and give up on it.

    Posted

    If one of you could upload the json, I'd be happy to give it a go for you, creating a sample code.

  • Topic Author
  • Posted
    If one of you could upload the json, I'd be happy to give it a go for you, creating a sample code.

    What do I need to do to get the JSON? Apologies for my ignorance.

    Posted
    If one of you could upload the json, I'd be happy to give it a go for you, creating a sample code.

    What do I need to do to get the JSON? Apologies for my ignorance.

    Just go to this address:

    Please login or register to see this link.

    Replace "Fibaro_IP" by your ip address of your home center and the * after ID with the id of the rgb device. I.e.:

    Please login or register to see this link.

    This will give you an array of values as text. Just copy that text into a code tag on here, and I'll be able to see what values will affect the colors and brightness.

    Posted

    To make API more readable, install addon called JSON Viewer.

  • Topic Author
  • Posted

    Here it is:

    Please login or register to see this code.

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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.

    ×
    ×
    • Create New...