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 setProtection HC3 with LUA?


Question

Posted (edited)

I've already asked this under HC3 forum but I think this is a better place.

Also talking to support was no help to me at all, told me to reset my whole house to factory defaults ?‍♂️

 

So after migrating to HC3 I wanted to rebuild my scenes but I have no idea how to set Local Protection in a scene.

 

The only way to set it now is to click it under Settings->Devices->Device->Advanced->Local Protection 

Please login or register to see this attachment.

 

 

Trying in Swagger I had no luck also.  In the example below I'm trying to send arg 0, I know 2 is used to turn it on.

 

Please login or register to see this attachment.

 

So anyone have an idea how to do this?

Edited by Weider

3 answers to this question

Recommended Posts

  • 0
Posted

it might depends on what device should be protected, try to send to first child device (which is hidden), and not to the visible device.

Example, RollerShutter3, the visible device (blue marked in pic) is not what should get the command, i send it to first child (visible id-2, violet marked)

 

Please login or register to see this image.

/monthly_2021_09/image.png.3d0a97fc471deb1fc05a14858d910a7d.png" />

 

 

here both protections on

 

Please login or register to see this code.

 

and both off

 

Please login or register to see this code.

 

Yes, the syntax is like i wrote, first is string and second is number

  • 0
  • Inquirer
  • Posted

    Awesome! Looks like it works.

     

    Finally some good support :D

     

     

    Kriegst ein Bier von mir, wann du in Slowenien kommst! ;) 

    • 0
    Posted

    aber gern :)

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