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


Sagittarius

Verisure HC3 Quick App

Recommended Posts

Posted (edited)
You need to set this:
self.userid = "######@###.com" -- Username
self.password = "###########" -- Password
self.keycode = "####" -- Keycode
 
Make a global variable called: Alarm
line: 221  fibaro.setGlobalVariable("Alarm", state)
 
I call my quick app (device) from a loop scene every 1 min. to get state
fibaro.call(deviceid,"uibutton1OnReleased")
DO NOT call more than every 30 sec. or I think you will be bloked by Verisure
 
DECLARATIONS (Conditions/Triggers)
{
    type = "date",
    property = "cron",
    operator = "matchInterval",
    value = {
        date = { "*""*""*""*""*""*" },
        interval = 60
    },
    isTrigger = true
}
 
ACTIONS
fibaro.call(deviceid,"uibutton1OnReleased")
 
-----------------------------------
 
You can get devices variable from a scene by
api.get("/devices/DeviceID").properties.quickAppVariables[1].value
api.get("/devices/DeviceID").properties.quickAppVariables[2].value
api.get("/devices/DeviceID").properties.quickAppVariables[3].value
etc...
 
------------------------------------
 
line: 3   local debugging = false (show all) in debug window
line: 4   local debuggingtrace = true (show alarm state/users/devices) in debug window
 
------------------------------------
 
I dont know yet how to show icon "red" Armed-away
 

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Edited by Sagittarius

Share this post


Link to post
Share on other sites
  • Topic Author
  • you mean what output you get? I guees all...

     

    I try to make a file without all my password and stuff

    Share this post


    Link to post
    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...