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


HC3: All-in-One QA: How to do it better


cag014
 Share

Recommended Posts

Alarm Control

HC3 new alarm concept could be used very efficiently by AOQ:

For example:

Assuming we have defined "nightSleep" which includes 1 doors and 2 window sensors. The zone is activated during the night (23:00~06:30).

Please login or register to see this spoiler.

 

Edited by cag014
Link to comment
Share on other sites

  • Topic Author
  • HTTP request Integration

     

    Link to comment
    Share on other sites

    • 3 weeks later...

    Hi cag!

     

    I integrated the Satel Integra alarm system in to HC3 and I would like to get a notifications if it's armed or disarmed or breached.

    The arm and disarmAlarm functions work, but if I give the following sentence then it says error.

     

    {0,"$Night_Armed",{"trueAct"={"Satel Integra:","sendPush","A riasztó élesítve."},"state"="value=armed"}}

    (21) Wrong action/criteria state found for Keyword |$Night_Armed|
    Accpted actions/criteria:
    timeSlot vacation trigAct timeoutAct timeLoopAct initAct errAct

     

    This is my sentence.

     

    {0, "$Night_Armed",{state="value=armed",trueAct={"Satel Integra:","sendPush","A riasztó élesítve."}}},

     

    Can You help me?

    Link to comment
    Share on other sites

  • Topic Author
  • 7 hours ago, SmartLifeSystems said:

    Hi cag!

     

    I integrated the Satel Integra alarm system in to HC3 and I would like to get a notifications if it's armed or disarmed or breached.

    The arm and disarmAlarm functions work, but if I give the following sentence then it says error.

     

    {0,"$Night_Armed",{"trueAct"={"Satel Integra:","sendPush","A riasztó élesítve."},"state"="value=armed"}}

    (21) Wrong action/criteria state found for Keyword |$Night_Armed|
    Accpted actions/criteria:
    timeSlot vacation trigAct timeoutAct timeLoopAct initAct errAct

     

    This is my sentence.

     

    {0, "$Night_Armed",{state="value=armed",trueAct={"Satel Integra:","sendPush","A riasztó élesítve."}}},

     

    Can You help me?

    Oppssss........ my mistake....bug

    Please don't use underscore "_" in the name... sorry.

    The bug fixed...

    Let me know if you must to have underscore, and I will send you what to change in code.

     

    Edited by cag014
    Link to comment
    Share on other sites

    2 hours ago, cag014 said:

    Oppssss........ my mistake....bug

    Please don't use underscore "_" in the name... sorry.

    The bug fixed...

    Let me know if you must to have underscore, and I will send you what to change in code.

     

     

    Hi,

     

    Here is the Satel Partitions, what I use.

     

     

    Please login or register to see this attachment.

     

    I have tried without underscore and I got the following error message.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • I mean change the "Night Armed" to "NightArmed" (no space) in alarm panel and then you can use it in AOQ as $NightArmed.

     

     

    Edited by cag014
    Link to comment
    Share on other sites

    OK, thank you, I will try it.

     

    If I want just to monitor it, it works with undescore.

    That's the code:

    {0, "$Night_Armed"},

     

    And it works.

    ?$Night_Armed disarmed (value) 00:00:22 Activity
    Link to comment
    Share on other sites

  • Topic Author
  • Yes, for monitoring that should work... the bug that the code assumes this is a scene !!!

    Link to comment
    Share on other sites

    Hi cag!

     

    I have tried what you sad. Now there is no error message, but it doesn't sense the change of stae of the alarm system, it continuously senses if it was disarmed.

     

    This is my code:

    {0, "$DayArmed",{state="value=armed",trueAct={"Satel Integra:","sendPush","Riasztás!"}}},

     

     

    $DayArmed disarmed value=armed 00:00:33 Activity   sendPush
    Edited by SmartLifeSystems
    Link to comment
    Share on other sites

  • Topic Author
  • May I ask you if you have any sensors defined in $DayArmed zone?

    Looks like no sensors defined...

    Have fixed the issue for next release. Alarm Zone state will be changed even if no devices defined in the zone.

    Edited by cag014
    Link to comment
    Share on other sites

    12 hours ago, cag014 said:

    May I ask you if you have any sensors defined in $DayArmed zone?

    Looks like no sensors defined...

    Have fixed the issue for next release. Alarm Zone state will be changed even if no devices defined in the zone.

     

    What I see always, the Zones disarmed. I don't understand what is the problem...

    Link to comment
    Share on other sites

  • Topic Author
  • But you do have device/sensors defined  in that zone?

    Did you try to arm this zone manually?

    Link to comment
    Share on other sites

    This is a Satel Alarm system. I did in the Alarm system some partitions (DayArmed, NightArmed, etc.). In the alarm panel these are the zones. Working fine everything. I can armed, disarmed with your codes, and manualy too, but the qa can't see the zones's state.

    Now I use variables that I can see the alarm systems's state.

     

    Edited by SmartLifeSystems
    Link to comment
    Share on other sites

  • Topic Author
  • Please define any device in that zone... and it will work.

    You can define QuickApp as a sensor and use it inside the zone as dummy sensor.

    Like that

    Please login or register to see this spoiler.

    As I mentioned this behavior fixed in next release.

    Edited by cag014
    Link to comment
    Share on other sites

    7 minutes ago, cag014 said:

    Please define any device in that zone... and it will work.

    You can define QuickApp as a sensor and use it inside the zone as dummy sensor.

    Like that

    Please login or register to see this spoiler.

     

    Wow! Really. That's working fine! Thank's your help!

    Link to comment
    Share on other sites

    Hi cag,

     

    Can you help me?

    I would like to start a scene with the code below, but the scene doesn't start, but the AOQ is restarted instead of the scene after 20 sec.

     

    {0, "425",{state="centralSceneSupport=1.Pressed",timeSlot="m=9~12;1~5",trueAct={"_202","startScene","20"}}},
    Link to comment
    Share on other sites

  • Topic Author
  • Some changes at new Fibaro release...

    please find line

    fibaro.scene("execute",{realId(sId)},sArg)

    changed to

    fibaro.scene("execute",{tonumber(realId(sId))},sArg)

     

    String not accepted anymore....

    Edited by cag014
    Link to comment
    Share on other sites

    18 minutes ago, cag014 said:

    Some changes at new Fibaro release...

    please find line

    fibaro.scene("execute",{realId(sId)},sArg)

    changed to

    fibaro.scene("execute",{tonumber(realId(sId))},sArg)

     

    String not accepted anymore....

     

    How wouldyou write the line written by me?

    Link to comment
    Share on other sites

  • Topic Author
  • 32 minutes ago, SmartLifeSystems said:

     

    How wouldyou write the line written by me?

    Your line is obsolete correct.

    The problem that fibaro.scene supports now array of numbers.

    Link to comment
    Share on other sites

    Hi cag,

     

    I would like to set global variable, after 5 min, when I arrived Home with the code below.

    This is correct?

     

    {0, "&Attila",{state="value=Home",trueAct={"&AttilaHome","setGlobal","5","={$24clock:value=?$24clock+300?}"}}},
    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.

     Share

    ×
    ×
    • Create New...