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


Recommended Posts

Posted
8 minutes ago, cag014 said:

OK, I think may be this is the problem:

Is your sensor included in other alarm zones as well?

If so till all of them are not disarmed it stays breached as it should be. You want to know in every zone wich sensor has breached.

As I said when you disarm alarm zoe it's beeter to verify the alarm zone state and not one of sensors.

Let me know if this is the situation

Yes, the two sensors are included in one other alarm zone, just as HC2Proxy sensors (changed now to sensorSlave devices).

Is a sensor just allowed to be member of one alarm zone?

Please login or register to see this spoiler.

As you see I verify the zone and not one sensor.

 

It is still peculiar that in the armed and breaching state HC3 Alarm page and HC3 lights no alarm status has been shown.

  • Topic Author
  • Posted (edited)
    1 hour ago, Rover said:

    Yes, the two sensors are included in one other alarm zone, just as HC2Proxy sensors (changed now to sensorSlave devices).

    Is a sensor just allowed to be member of one alarm zone?

    Please login or register to see this spoiler.

    No, every sensor could be included in every alarm zone.

    Finally have figured out the change in new HC3 version... it executes AlarmPartitionBreachedEvent along with AlarmPartitionArmedEvent  if alarm has breached...

    Any how, here fixed AOQ

     

     

    Please login or register to see this attachment.

    Edited by cag014
    Posted (edited)
    22 hours ago, cag014 said:

     

    Please login or register to see this spoiler.

    Wow you're great

    Your quick app

    what fibaro couldn't try

    You did it

    thanks

    Edited by minsad79
    Posted
    8 hours ago, cag014 said:

    No, every sensor could be included in every alarm zone.

    Finally have figured out the change in new HC3 version... it executes AlarmPartitionBreachedEvent along with AlarmPartitionArmedEvent  if alarm has breached...

    Any how, here fixed AOQ

     

     

    Please login or register to see this attachment.

    TNX for the repair, cag,

    Arming and disarming an alarm zone works also when breached. HC3 Alarm page and HC3 lights show arming status also. ?

    Posted

    Hi cag!

     

    Do you think the google calendar can we integrated into the AOQ? For example because of holidays and other events.

  • Topic Author
  • Posted
    35 minutes ago, SmartLifeSystems said:

    Hi cag!

     

    Do you think the google calendar can we integrated into the AOQ? For example because of holidays and other events.

    Any specific example ?

    Posted (edited)
    13 minutes ago, cag014 said:

    Any specific example ?

     

    For example at christmas the christmas lights turn on automatically, or a national holiday we don't work so the workday scenes should not start.

    Or if there is an event in the calendar, a scene should start.

    Edited by SmartLifeSystems
    Posted

    what is wrong in:

    Please login or register to see this spoiler.

     

  • Topic Author
  • Posted (edited)
    9 hours ago, Rover said:

    what is wrong in:

    Please login or register to see this spoiler.

    In condition the devices list must be separated by comma ","  and not by "|". The "|" sign used as "and" statement in condition.

    { 220'hc2,237'hc2,216'hc2,102'hc2,241'hc2,186'hc2,313'hc2,227'hc2,229'hc2,283'hc2,206'hc2,329'hc2:value=false}

    May I suggest after jS2n table to create a new alias like:

    jS2n={........................}

    LichtenAanState = LichtenAan:gsub("|", ",")

     

    jM={...}

    Now you have a new allias LichtenAanState  which includes same devices for condition statement.

    The advantage is that any change in LichtenAan will reflected on line in LichtenAanState.

     

    But in this case if each sensor already has a line in jM, I do suggest to use variable by adding in trueAct and falseAct tables global counter. More efficient and faster instead of reading values of so many sensor.

    Define global in (on init must be 0)

    global4local= {......,varArray={msCnt="init:0",.....}}

    {0,"220'hc2",{state="value=true", trueAct={"&msCnt","setGlobal","?&msCnt+1?"}, falseAct={"&msCnt","setGlobal","?max((&msCnt-1),0)?"}}}},

    same for every sensor...

    Now in condition

    " if {&msCnt:value>0}"

    If you don't have all sensors as a main device in jM line, ignore that suggestion.

     

     

     

     

    Edited by cag014
    Posted (edited)
    6 hours ago, cag014 said:

    In condition the devices list must be separated by comma ","  and not by "|". The "|" sign used as "and" statement in condition.

    { 220'hc2,237'hc2,216'hc2,102'hc2,241'hc2,186'hc2,313'hc2,227'hc2,229'hc2,283'hc2,206'hc2,329'hc2:value=false}

    May I suggest after jS2n table to create a new alias like:

    jS2n={........................}

    LichtenAanState = LichtenAan:gsub("|", ",")

     

    jM={...}

    Now you have a new allias LichtenAanState  which includes same devices for condition statement.

    The advantage is that any change in LichtenAan will reflected on line in LichtenAanState.

     

    But in this case if each sensor already has a line in jM, I do suggest to use variable by adding in trueAct and falseAct tables global counter. More efficient and faster instead of reading values of so many sensor.

    Define global in (on init must be 0)

    global4local= {......,varArray={msCnt="init:0",.....}}

    {0,"220'hc2",{state="value=true", trueAct={"&msCnt","setGlobal","?&msCnt+1?"}, falseAct={"&msCnt","setGlobal","?max((&msCnt-1),0)?"}}}},

    same for every sensor...

    Now in condition

    " if {&msCnt:value>0}"

    If you don't have all sensors as a main device in jM line, ignore that suggestion.

     

     

     

     

    Good trick, but:

    LichtenAanState = LichtenAan:gsub("|", ",")

    in the USER SHORTCUTS delivers:

    Please login or register to see this spoiler.

    I do not have all sensors as a main device in jM line if you mean as main device: {0,"<maindevice>",...

    BTW: the devices in LichtenAan are no sensors, but actuators (lights).

    Edited by Rover
    Posted
    On 10/9/2020 at 6:53 PM, Rover said:

    Interesting:

    Please login or register to see this spoiler.

     

  • Topic Author
  • Posted (edited)
    3 hours ago, Rover said:

    Good trick, but:

    LichtenAanState = LichtenAan:gsub("|", ",")

    in the USER SHORTCUTS delivers:

    Please login or register to see this spoiler.

    oops... my bad... they're part of jS2n table.

    Use

    jS2n.LichtenAanState = jS2n.LichtenAan:gsub("|", ",")

     

    Edited by cag014
    Posted
    1 hour ago, cag014 said:

    oops... my bad... they're part of jS2n table.

    Use

    jS2n.LichtenAanState = jS2n.LichtenAan:gsub("|", ",")

     

    Please login or register to see this spoiler.

     

    Posted

    Why does not work:

    Please login or register to see this spoiler.

     

  • Topic Author
  • Posted (edited)
    15 hours ago, Rover said:

    Why does not work:

    Please login or register to see this spoiler.

    What is it?

    This is the format

    {"`Schilderijspot`|`SpotsTrapOverloop`","turnOn"},

    and supported in conditions only...

    Edited by cag014
    Posted
    18 hours ago, Rover said:

    Please login or register to see this spoiler.

    I saw the error: `LichtenAan` is a nested set and the jS2n.LichtenAanState = jS2n.LichtenAan:gsub("|", ",") works only at the highest level of the nest.

    Works now.

  • Topic Author
  • Posted
    18 hours ago, Rover said:

    Please login or register to see this spoiler.

    OK, no it's understandable...

    Posted

    Please login or register to see this spoiler.

    This email has not been received by Outlook. The last email received from AOQ was on 13-10-2020 on 10:20. All AOQ emails after this time have not been received. Email and Outlook is working fine for other senders.

    ???

    Posted

    Hi cag014

    I did as you said and tracing remote device for "networkError" it does work, but AOQ crashes and restarted all the time (till connection is good again).

    Any chance to make it work without need to change jM lines?

    Thanks

    3 minutes ago, Rover said:

    Please login or register to see this spoiler.

    Same for HC2 and HCL, no emails, probably Fibaro's server issue.

  • Topic Author
  • Posted
    7 minutes ago, Rover said:

    Please login or register to see this spoiler.

    Yes, looks like fibaro issue.

    I have 4.600 on HC2 and it was fine till few hours ago....

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