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 bought a fibaro universal binary sensor v1.2 to activate several scenes using input 1 and 2. There for i have set parameter 3 and 4 to 2 and parameter 14 to 1.

I have also configured a scene ( has ID 24) .

When i double click input 2 the scene with id won't activate. (tried double click input 1 also)

The controller i use is the HC2 with software version 1.45

How can i trigger a scene using double click or triple click input 1 or 2 of the universal binary sensor. Do i have to specify something extra in the scene?

Some early scene IDs are removed. How is it possible to create a new scene using the ID mentioned in the universal binary sensor v1.2 manual.

Guest Kuuno
Posted

im trying to figure out the same thing for door/window sensor that uses same logics, so if someone could assist would be nice

thanks!

Posted

Hi,

This functionality is only available in beta interface and only in LUA scripts. It is not available in 1.xxx version. We will release full technical documentation about this functionality soon (with examples) and you will be able to check it then. In a words you can create scene in LUA that will be triggered from different module states.

  • Topic Author
  • Posted
    Hi,

    This functionality is only available in beta interface and only in LUA scripts. It is not available in 1.xxx version. We will release full technical documentation about this functionality soon (with examples) and you will be able to check it then. In a words you can create scene in LUA that will be triggered from different module states.

    Hello Krystian,

    Is it possible to give an example of this LUA code on forehand? So that i can start using the universal sensor?

    Thanks

    Posted

    Please login or register to see this code.

    45 - id device

    10 - value of scen activation from instruction

  • Topic Author
  • Posted

    Im using the this code to turn on a lamp id 38 using a dubbelclick on in2. The id of universal sensor in 2 is 44.

    Please login or register to see this code.

    The scene won't trigger. Is there something wrong with the code above?

    Posted

    rolinck, try this

    Please login or register to see this code.

  • Topic Author
  • Posted

    It works now.

    I had to use the id of the binary sensor instead of input 2

    Thanks!

    Posted

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20">
    Posted

    I am using this fibaro device in a vera3 setup from micasa verde, Can anyone tell me what LUUP code I have to use for a scene activation?

    Posted

    Cor,

    you must ask that on micasaverde forum, I don't know how/if they support scenactivation in vera3

    Posted

    @A.Socha : The Problem is that is that there is nothing written about the scene activation of the fibarosensor, the documentation which came with the device it just basic settings.

    I expected when I bought it , there was scroll down menu , where you can select what the device needs to do when activated , like remote controllers.

    Anyway, the Micasa verde Vera3 accept LUA/LUUP codes , but unfortunately I have no idea how to programm-write them.

    But since there is no documentation about this available, can you please give me as much as settings/code for this LUA stuff , so I can post this in the micasaverde forum and hopefully someone can put the settings/code in the right order

    Please login or register to see this image.

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

    Many thanks,

    Cor

    Posted

    in USB You must set only parameter 14 to 1, rest is on the controller side. That way the solution you must find on Micasa forum, look how they use SceneActivation in others device like Z-Wave.Me key and do that same

    • 1 month later...
    Posted

    A.Socha,

    What am I doing wrong that it doesn't work properly. It only works when I press the button on the monostable switch and at the same time RUN the scene. Scene is set as active ...

    I understand that it should always work when I just press the switch.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Posted

    you got bug in code,

    here you got correct

    Please login or register to see this code.

    Posted

    OK

    Forgot about definition of variable:

    30 sceneActivation

    Thanks, A.Socha,

    • 1 month later...
    Guest Kuuno
    Posted

    im trying to do a double click scene activation w d/w sensor

    code is:

    --[[

    %% properties

    371 sceneActivation

    %% globals

    --]]

    if ( tonumber(fibaro:getValue(371, "sceneActivation")) == 12)

    then

    fibaro:call(5, "turnOn");

    fibaro:debug("ok")

    else

    fibaro:debug("bug")

    end

    after doubleclick i get 4 times "bug" meaning it does not get the scene id 12 for doubleclick.

    any ideas?

    thanks!

    Posted

    Are you sure about id 371 ???

    Posted

    Double click as far as I remember is code=14

    Posted

    richo is what I thought, but if you check on picture on first page is 12 for UBS

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