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

Danalock as Trigger


Question

Posted (edited)

Hi to all Danalock User and Lua Cracks,

 

The task seems simple to me. Switch on light (controlled by Walli Switch) for 30 sec when danalock goes to open.

 

But I'm not able to use Danalock as trigger anyway, exept using IFTTT.

with IFTTT (MagicScene) Im able to switch on the light but not able to switch off the light. 

I'm not very common witch IFTTT more over i hate to use it. But why doesn't BlockScenes work at all with danalock?

Creating a LuaScene from scratch gives me 

 

775 AccessControlEvent Manual Unlock

 

where 775 is the device ID. But what should this mean to me? 

 

if AccessControlEvent Manual Unlock = true ? than .......

 

Could some one help me out. I even didn't find any luacode with a danalock involved.

 

Hopefully

Gerhard 

 

 

Edited by ggoetz56

6 answers to this question

Recommended Posts

  • 0
Posted

Hm, it works for me. I have many scenes which start by triggering danalock with either unlock or lock. I only have a problem if batteries are a bit bad and danalock doesn't report state correctly. Other than that, scenes work ok. I didn't use LUA, block scenes seem to do the work. Maybe there's some other problem?

  • 0
Posted
On 10/24/2019 at 1:36 PM, ggoetz56 said:

Hi to all Danalock User and Lua Cracks,

 

The task seems simple to me. Switch on light (controlled by Walli Switch) for 30 sec when danalock goes to open.

 

But I'm not able to use Danalock as trigger anyway, exept using IFTTT.

with IFTTT (MagicScene) Im able to switch on the light but not able to switch off the light. 

I'm not very common witch IFTTT more over i hate to use it. But why doesn't BlockScenes work at all with danalock?

Creating a LuaScene from scratch gives me 

 

775 AccessControlEvent Manual Unlock

 

where 775 is the device ID. But what should this mean to me? 

 

if AccessControlEvent Manual Unlock = true ? than .......

 

Could some one help me out. I even didn't find any luacode with a danalock involved.

 

Hopefully

Gerhard 

 

 

Try to recalibrate it.... 

  • 0
  • Inquirer
  • Posted

    Thanks for your response!

     

    Some more test and calibration. No change. I can choose Danalock in the trigger section of blocksceens. So I'm not the only one with that issue it seems this is not a general issue.

     

    Does someone use luacode with Danalock?

     

     

    • 0
    Posted

    hey, you should try 

     

    775 value

     

    as trigger, in the header of you LUA scene.

    value is "1" or "0"

     

    Best.

    • 0
    Posted (edited)

    To usue it in lua.

    just use this below

    Please login or register to see this code.

     

    Edited by sonnyboy
    • 0
    Posted

    Hi All!

    I have a big problem with Danalock v3 locks at once. I have lua codes, they can open two locks. But z-wave communication is instable. Once HC2 opens only one lock, or opens the two locks but not close them as the source code contains it.

    When Danalock's status changes HC2 does not sense it. Why?

    I put a Wall plug next to them. Nothing have changed.

    I started to run a Z-Wave network discovery, but i has not been better.

    Does anyone know the solution?

    Thanks!

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