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

LUA Command to calibrate the roller shutters from scenes


Herni

Question

                 Hi Everybody,

 

                 I´m tried to do a scene in LUA to calibrated each one week the rollers shutter. Do you know some command in LUA that send a calibration to the rollers shutter in the same zwave network (perhaps fibaro:call(ID, "configure")? I´m working with HC2 and HC3 gateway. Thanks in advance.

 

                                                             Hernán

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hi @Herni, this will get you started. You need to change the device parameters which is easy to do in LUA. the online manual says:

 

Calibration using parameter

  1. Make sure:
    • the device is supplied,
    • the device added to the Z-Wave network,
    • parameter 151 is set to 1 or 2.
  2. Set the parameter 150 value to 2
  3. The device will perform the calibration process, completing full cycle – up, down and up again
  4. The parameter 150 value will be set to 1 after calibration finishes.
  5. Test whether the positioning works correctly.
Link to comment
Share on other sites

  • 0
hub.call(461, "setConfiguration", 150, 1, 2)
 
661=DeviceID
150=Parameter
1=Byte
2=Value(Force calibration)
Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hi guys,

    Thank you so much for help me. :) . I know the parameter 150, but i didn´t know the LUA command to change it. Thank you very much again. 

     

                                 Hernán

    Link to comment
    Share on other sites

    • 0

    I tried this command: hub.call(461, "setConfiguration", 150, 1, 2), but it didn't work. Any idea? 

     

    I have roller shutter 2 and HC3 from FIBARO.

    Link to comment
    Share on other sites

    • 0
    On 2/7/2024 at 1:08 PM, Herni said:

    I´m tried to do a scene in LUA to calibrated each one week the rollers shutter. Do you know some command in LUA that send a calibration to the rollers shutter in the same zwave network (perhaps fibaro:call(ID, "configure")? I´m working with HC2 and HC3 gateway. Thanks in advance.


    Why are you calibrating them weekly btw.?
    The movement time is in general consistent, those auto-align themselves every time limit switch (upper or lower) is hit. 

     

    • Like 1
    Link to comment
    Share on other sites

    • 0
    10 hours ago, m.roszak said:


    Why are you calibrating them weekly btw.?
    The movement time is in general consistent, those auto-align themselves every time limit switch (upper or lower) is hit. 

     

    Hello.

    This is interesting to find out.

    Is that so?

    I have experience that the roller runs are different based on weather conditions. In the winter period blinds are generally slower.

    That would be known if I watch the time up/down that they will change continuously?

    For example: I can rely on a set position of 16%, that it will always be 16%, but in the summer will arrive in 20sec and in winter for 22sec?

    I understand it right?

     

     

    However, it happened to me after a salute out that the blind stopped responding to the instruction of the scene. (She drove up from Acena and the button, driving down only with the button. This has been corrected and forced calibration.

     

    eM.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • On 7/9/2024 at 7:55 AM, m.roszak said:


    Why are you calibrating them weekly btw.?
    The movement time is in general consistent, those auto-align themselves every time limit switch (upper or lower) is hit. 

     

     

    Hi @m.roszak, Thanks for the response. Yes, you are right. I know that the roller shutter actuator that learn the time between limit upper and lower. But is the learning always that the blind open and close totally or only when i do autocalibration? I´m not sure. Thanks.

    Edited by Herni
    Link to comment
    Share on other sites

    • 0

    It does not change the times automatically by itself, just align the state on limit switches :)

    If for someone difference in position by 2-5% between summer and winter is too much - calibration must be done once in a while. 

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