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

Roller Shutter and Universal Binary


linuxgo
 Share

Question

Hi 

I have installer roller shutter with your switch.

 

Now i would install (to another part oh my home where is not presente the wiring) another switch and universal binary.

How i can map the new universal binary with roller shutter (command up, down, stop up, stop down)?

 

Thank you

Link to comment
Share on other sites

  • Answers 42
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

Recommended Posts

  • 0

Not sure what you're trying to accomplish with universal binary?

The roller shutter could receive all necessary commands directly from controller.

 

Could you provide more details what you need?

Link to comment
Share on other sites

  • 0

If we're talking about Fibaro universal binary sensor, there is no outputs for control... just two inputs 

What roller shutter do you have?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • On Fibaro Universal Binary i connect the switch up and down.

     

    No wiring between fibaro  roller shutter and  fibaro universal binary.

     

    Now i would comand the fibaro roller shutter via universal binary (up,down, stop up, stop down)

    Link to comment
    Share on other sites

    • 0

    Fibaro roller shutter could be controlled directly from HC2 and by universal binary as well.

    As I understand you want to use UBS (universal binary switch) as a switch for roller shutter (via two inputs). In this case you'll need to defined UBS association groups and set few parameters.

     

    Another option is to control the roller shutter directly by connecting switches to S1 and S2. see attached file.

     

    Please login or register to see this attachment.

    Edited by cag014
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • I just control fibaro roller shutter directly with another switch.

     

    Repeat i need install another control point with universal binary where is not wiring.

     

    Which association or pameters i must define? 

    This is my problem

    Link to comment
    Share on other sites

    • 0

    As far as I know UBS has two options:

    1. To send Open command to roller shutter (to predefined level). There is no Close command.

    2. To set UBS to scenes activation mode. In this case you need to create new scene, but you can implement full roller shutter functionality. Set UBS parameter 14 to 1

     

    Here an example of scene to receive UBS IDs (in this example roller shutter ID = 157,  please set to your real ID)

    Please login or register to see this code.

    Scene above works with UBS default values of parameter 3 and 4. If you prefer to use momentary inputs, set parameters 3 and 4 to value 2. Now you will have following IDs (change in code above the ButtonPressed values accordingly to the IDs list below)

    Input IN1: 
    - hold ID 12
    - release ID 13
    - double-click ID 14
    - triple click ID 15 

    IN2: 
    - hold ID 22
    - release ID 23
    - double-click ID 24
    - triple-click ID 25

     

    Please try it and let me know if you need more details.

     

    Note: 

    You need to connect switches to UBS  Input1 and 2 

    Edited by cag014
    Link to comment
    Share on other sites

    • 0

    Just change parameter 14 to 1.

    Link to comment
    Share on other sites

    • 0

    Yes, just change 157 to your real UBS ID (at all places, including in property header).

    Now toggle the input line of UBS  and the scene should work

    Please login or register to see this attachment.

    Edited by cag014
    Link to comment
    Share on other sites

    • 0

    Change 157 to UBS ID at header only 

    Other 157 (which in use in fibaro:call() function)  should be changed to roller shutter ID. Sorry about the confusion...... my bad.

    Link to comment
    Share on other sites

    • 0

    Looks like you have ran it manually (by clicking start button of the scene), right?

     

    Please save it at Automatic mode and activate the UBS inputs.

    Another question how come line 111.

     

    Could you post your code?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • line 111 don't exit

     

    my script is

     

    --[[ 
    %% properties 
    207 sceneActivation 
    %% globals 
    --]]
    local startSource = fibaro:getSourceTrigger();
    local devID = tonumber(startSource["deviceID"])
    local ButtonPressed = fibaro:getValue(devID, "sceneActivation") 
     
     if     ( tonumber(ButtonPressed) == 10) then -- IN1 changed from OFF to ON
           fibaro:call(138,"open")
              
     elseif ( tonumber(ButtonPressed) == 11) then -- IN1 changed from ON to OFF
          fibaro:call(138,"stop")
     
    elseif  ( tonumber(ButtonPressed) == 20) then -- IN2 changed from OFF to ON
           fibaro:call(138,"close")
     
    elseif ( tonumber(ButtonPressed) == 21) then -- IN2 changed from ON to OFF
          fibaro:call(138,"stop")
     
    end
    Link to comment
    Share on other sites

    • 0

     

    [DEBUG] 15:46:39: line 111: attempt to concatenate local 'deviceId' (a nil value)

     
     
    Don't work

     

    According to your debug line the error is on line 111 !?

     

    Any how - what happens when you activate one of the UBS inputs ?

    Is the scene runs?

    Link to comment
    Share on other sites

    • 0

    Please check if the run scene mode is Automatic (see attached file)

     

    Please login or register to see this attachment.

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