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

Is it possible to create a scene like this


Question

Posted

I have a RGBW-controller that is connected to four outputs from my alarm.

I want to start different scenes depending on which output that goes on. No problem getting the HC2 to react on the four outputs, the problem starts when i want it to do different things if only output 1 is on than when output 1 & 2 are on.

I think the RGBW controller sends the signal for the different channel with some delay.

I think i want it to react on the status of the output/channel, not just when it goes from off to on.

Is it possible to create a scene that works something like this:

If Output 1, 2, 3 or 4 turns on then wait three seconds

After this control status ov Output 1,2,3 & 4

If Output 1 & 4 are on and Outpt 2 & 3 are on then turn on lights

4 answers to this question

Recommended Posts

  • 0
Posted

Please take a look at my LUA scene with RGBW controller here:

Please login or register to see this link.

In the code I react on the changes from RGBW-input and control 2 RGBW-outputs connected to lights.

Hope this will help!

  • 0
  • Inquirer
  • Posted
    Please take a look at my LUA scene with RGBW controller here:

    Please login or register to see this link.

    In the code I react on the changes from RGBW-input and control 2 RGBW-outputs connected to lights.

    Hope this will help!

    Thanks!! I'll look into this and try it!!

    • 0
    Posted

    The thing you need to know is: any signal change on input dims the load on corrresponding output channel. So it is better to use different channels for inputs and outputs. That is how RGBW controller is designed.

    Nevertheless I used switch and load on the same channel. I used a LUA scene with a flag in variable telling if I want to use input or output on the channel. If input- the light turns on, but then I reset the state of output (light) directly after a switch press. Sounds complicated but I managed to use in and out on same channel anyway. Tell if you need the details about this as well.

    • 0
  • Inquirer
  • Posted
    The thing you need to know is: any signal change on input dims the load on corrresponding output channel. So it is better to use different channels for inputs and outputs. That is how RGBW controller is designed.

    Nevertheless I used switch and load on the same channel. I used a LUA scene with a flag in variable telling if I want to use input or output on the channel. If input- the light turns on, but then I reset the state of output (light) directly after a switch press. Sounds complicated but I managed to use in and out on same channel anyway. Tell if you need the details about this as well.

    Well, i don't even use the outputs on the RGBW controller, the Output i describe is the four output channels from my alarm. I've connected them to the inputs on the RGBW and only use it to send an on/off command to the HC2.

    [ Added: 2014-03-04, 23:02 ]

    I'll try to explain more what i'm after, that way you guys can tell me if it's even possible

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    This is the scene i want to do:

    If the inputs on the RGBW 1, 2, 3 or 4 turns on then wait three seconds

    After this check the status of these inputs 1,2,3 & 4

    If input 1 & 4 are on and input 2 & 3 are off then turn on lights

    I wrote outputs when i was describing the inputs (1-4) on the RGBW before because thats what i've set the RGBW to in the settings (Output, act as dimmer)

    This way i could connect my four relays coming from the alarm to each input 1-4 and use them to flick the switch so to speak. The RGBW now works as it would if it was connected to four lightswitches but only without any load on the outputs (RGBW).

    Basically i want to be able to make a scene for each of the individual states of the relays, this way getting 16 different possibilities instead of just 4.

    Like 1xxx, 12xx, 123x, 1234, x2xx, x23x, x234, xx3x, xx34 and so on ...

    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.

    ×
    ×
    • Create New...