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

Scene to unlock lockwood doorlock - iPhone widget error


Question

Posted (edited)

Hi

 

I am trying to create a scene whereby after activating the scene I would like the lockwood lock to unlock via the iPhone widget.

 

I am able to run the scene fine through the app, however when I try to use it as a widget on my iphone I get a "Communication error" message. Any ideas why this is? LUA code as per below.

 

 

local startSource = fibaro:getSourceTrigger();
if (
 ( tonumber(fibaro:getValue(31, "value")) == 255 )
or
startSource["type"] == "other"
)
then
fibaro:call(31, "unsecure");
end
 

Please login or register to see this attachment.

Edited by serrzy

2 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted

    Any ideas anyone?

    • 0
    Posted

    You can check this and see if it helps with programming.

    Please login or register to see this attachment.

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