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


Question

Posted

Dear Users,

 

I'm running version 4.140 and I've just installed a new Danalock v3.

Seems like the Danalock v3 is working just fine, but I cannot select it while I'm making a block scene.

 

Steps to reproduce:

  1. Make sure you have properly working Danalock v3.
  2. Add a new scene using blocks
  3. start your scene with an 'Days in week' at Anytime  (I think it doesn't matter how you start your scene anyway).
  4. Add your device -  Danalock v3
  5. result: The Fibaro user interface scrolls or refreshes to the top of your browser and the device (danalock v3) is not added.

 

Other devices seem to work fine...

 

Hoping there is an explanation to this.

 


With kind regards,

Peter

 

 

Seems to work in a LUA scene..

11 answers to this question

Recommended Posts

  • 0
Posted

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

  • 0
Posted

Hello,

 

Thank you for reporting. Do you add the lock as a trigger?

  • 0
  • Inquirer
  • Posted (edited)
    19 hours ago, T.Konopka said:

    Hello,

     

    Thank you for reporting. Do you add the lock as a trigger?

     

    Dear T.Konopka, 

     

    I've just tried to add the lock as a trigger but it seems not to be working.

    Whichever action or way I try to add the danalock to a block scene it does not get added to the scene after selecting it.

     

    My workaround:

    1. make 2 simple LUA codes:

    - A: Secure door lock

    - B: Unsecure door lock

    2. Add the scene's in the regular block scene where you would normally say; DanalockV3.Secure or unsecue

     

    This works fine! :).

     

    Edited by petervanderpol
    • 0
    Posted

    I got the same problem, cant add the lock in Block scens but it works nice in Lua.

    • Thanks 1
    • 0
  • Inquirer
  • Posted

    This is still not working with me in HC 4.150.

     

    Anyone else experiencing this>?

    • 0
    Posted

    does anyone know the simple code (LUA) for the danalock to lock and unlock? 

    • 0
    Posted
    11 hours ago, Hugger said:

    does anyone know the simple code (LUA) for the danalock to lock and unlock? 

    fibaro:call(DanalockID,"secure") -- this is for lock

    fibaro:call(DanalockID,"unsecure") -- this is for unlock

    • Thanks 1
    • 0
    Posted (edited)

    I have exact the same issue. I can not add danalock actions using the 'graphic blocks' with my HCL. so LUA is no escape for me.

    It is working with magic scenes though...

    however it makes it quite complex (to create extra scenes, which I have to use in other scenes).

     

    Version HCL: 

    4.170

    Anyone a solution? 

    Edited by roelnic
    • 0
    Posted (edited)

    As stated above, copy  fibaro:call(DanalockID,"secure")  and paste it in a LUA scene and change DanalockID into the ID of your Danalock (you can get it from the info of the paired Danalock) eg. 452. The total scene will show as:

    --[[
    %% properties
    %% events
    %% globals
    --]]

    fibaro:call(452,"secure")

     

    Give the scene a name and save it. If you want your scene to lock Danalock you can us the saved scene to do so.

     

    Do the same for unscure (eg. unlocking Danalock)

    Edited by JohanE
    • Like 1
    • 0
    Posted

    Thank you guys. Had the same issue and this worked perfect.

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