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

How to limit a roller shutter 3 based on his position


SirRekt

Question

Hi there,

I got a roller shutter 3 which controls via two contactors a 12VDC motor. I calibrate it by time of UP and DOWN movement but when it gets DOWN and i press again the DOWN button trigger, it makes another cycle down, the same happening when getting it up.

There is any way, maybe by lua script (which i'm not an expert in) to tell the roller shutter 3 that if it's in DOWN position it should go ONLY UP and if it's in UP position it should go ONLY DOWN?

Thank you so much!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can even do this in block scenes if you want. Here's some hints:

1. Create a global variable "RollerStatus". A value of 0 means roller closed, 1 means open.

2. Create a block scene to open the roller, but only if RollerStatus =0. Also then set RollerStatus back to 1.

3. Create a block scene to close the roller, but only if RollerStatus = 1. Also set roller status back to 0.

4. Assign the scenes to your button triggers

 

Then you can add some extra conditions/functionality to deal with edge cases like what to do if either button is clicked before movement completed, etc

 

Have fun ?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • 12 hours ago, Tim__ said:

    You can even do this in block scenes if you want. Here's some hints:

    1. Create a global variable "RollerStatus". A value of 0 means roller closed, 1 means open.

    2. Create a block scene to open the roller, but only if RollerStatus =0. Also then set RollerStatus back to 1.

    3. Create a block scene to close the roller, but only if RollerStatus = 1. Also set roller status back to 0.

    4. Assign the scenes to your button triggers

     

    Then you can add some extra conditions/functionality to deal with edge cases like what to do if either button is clicked before movement completed, etc

     

    Have fun ?

    Hi, 

    Thanks for the reply. 

    Even doing what you said, it doesn't work. I also created two separate scenes, one for (if closing then set rollerstatus to 0) and the other one (if opening then set rollerstatus to 1) but I saw that no matter if I close or open the roller, both scenes are triggered. May that be because it is calibrated by time movement and not by automatic calibration?

    Thank you so much!

    Link to comment
    Share on other sites

    • 0

    You want to avoid a changing of the global variable immediately triggering the other scene. I think you should only need a single scene per direction:

     

    IF

    RollerStatus=0

    THEN

    RollerStatus=1

    AND

    Roller Shutter = open 0s

    Roller Shutter = stop 10s (Ie stop the shutter after a few seconds when it is in the right position)

     

     

    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.

    ×
    ×
    • Create New...