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


Zipato Keypad - how to arm/disarm regardless of the keypad status


jayrock

Recommended Posts

Hi,

 

I don't think it is mentioned here in the forum - during the last weeks I found some guidance how get  the "Away" command once more if Zipato Keypad is already in "Away" state on HC2. Same for "Home" of course. Kudos to the unknown user who provided a blog post on this. Sorry mate, I cannot locate your original source anymore. However it seems there is a post about this in the Polish forum, I can't really tell because I don't speak Polish.

 

In essence there are three steps to achieve this:

 

1. Get the scene triggered by the Keypad's AccessControlEvent. The keypad ID in my case is 200.

Please login or register to see this code.

2. Read the event data to get the status of the event

Please login or register to see this code.

3. Act upon the value of operatingStatus

Please login or register to see this code.

... where arm() and disarm() are the function you want to call on either event.

 

For reference here is the full scene in my setup. I'm using HomeTable, you get the idea.

Please login or register to see this code.

Hope this is useful.

Cheers,

jayrock

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

[DEBUG] 01:38:22: Triggered
[DEBUG] 01:38:22: 2019-03-15 01:38:22.435300 [ fatal] Unknown exception: /opt/fibaro/scenes/19.lua:37: attempt to index field 'event' (a nil value)

 

Seems like "operatingUser", "operatingMedium"", "operatingStatus" and "operatingKeyPad" are responding a nil value

 

KeyPad ID is correct and KeyPad is working fine with other scenes

 

Any advices?

 

Cheers

 

Andi

Link to comment
Share on other sites

  • Topic Author
  • Please print out trigger by adding adding a single line to the get event data part:

    Please login or register to see this code.

     

    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
    Reply to this topic...

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