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


Question

Posted

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

  • Answers 42
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

Recommended Posts

  • 0
Posted

Error on line 111?

Please post the error

  • 0
Posted

What do you mean you activate the scene? Pressing start button on the scene?

  • 0
Posted

As I mentioned do not run the scene, just activate the UBS input... connect one of the inputs to the ground line

  • 0
  • Inquirer
  • Posted

    The error is:

    Please login or register to see this attachment.

    • 0
    Posted

    Do you run the scene manually?

    • 0
    Posted (edited)

    It will not work manually, there is no source trigger !

    Please connect input1 of UBS to ground and after few seconds disconnect it. That's the only way to run it right.

    In addition you must to set parameter 14 of UBS to 1.

    Edited by cag014
    • 0
  • Inquirer
  • Posted

    I just do it

    but when i press the switch, nothing go on

    • 0
    Posted (edited)

    Please add follow lines in the code after last "elseif",   to see if any ID sent....

     

    elseif ( tonumber(ButtonPressed) == 21) then -- IN2 changed from ON to OFF
          fibaro:call(138,"stop")
     

    else

     fibaro:debug("Unknown ID: " .. ButtonPressed)

     

    end

    Edited by cag014
    • 0
    Posted

    Did you set parameters 3 and 4 to value of 2 ? If so then the ButtonPressed numbers are different from what we have now

    • 0
  • Inquirer
  • Posted

    Nothing. 

     

    My opinion the scene don't start

    • 0
    Posted (edited)

    You know just to get rid of the error please use following code

     

    Make sure Parameter 14 set to 1. see attached file

    Please login or register to see this code.

    Please login or register to see this attachment.

    Edited by cag014
    • 0
  • Inquirer
  • Posted

    Now i run the script manualy i receive:

     

    [DEBUG] 22:17:39: UBS sent ID 0
    [DEBUG] 22:17:39: Unknown ID: 0

     
     
    If i press the switch -> nothing
    • 0
    Posted

    Are you sure UBS parameter 14 set to 1.

     

    Please post snapshot   

    • 0
  • Inquirer
  • Posted

    Set to 1

    Please login or register to see this attachment.

    • 0
    Posted

    Question

     

    UBS has several IDs, so ID 207 belongs to what?

     

    Or just add all UBS IDs at property header to see if it works

    for example

    --[[ 
    %% properties 
    207 sceneActivation 

    208 sceneActivation 

    209 sceneActivation 
    %% globals 
    --]]

    • 0
  • Inquirer
  • Posted

    I have remove and re-add the uBS

     

    Now when i press a switch i receive the error:

     

    [DEBUG] 22:55:19: line 10: attempt to concatenate local 'ButtonPressed' (a nil value)

     

     

    line 10 is:

    fibaro:debug("UBS sent ID " .. ButtonPressed)

    • 0
    Posted

    Please post your code again,I think I know how to fix it

    • 0
  • Inquirer
  • Posted

    Now it seems work.

     

    I contact you tomorrow

    • 0
  • Inquirer
  • Posted

    Good work fine.

    Thank you  cag014

     

    Thank you for your patience

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