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

  • Topic Author
  • Posted
    1 hour ago, gggizmo said:

    sorry to diasappoint you cag. In my configuration cpu load is higher near all the time to 100% and delay increased from 2-3 sec to 7-10:-(

    This is very weird... it works always vice versa. Higher CPU less delays.

    Have tested again, no delays.

    Are you sure you running one (latest) AOQ?

    Anyone else has same behavior?

    Posted
    9 minutes ago, cag014 said:

    This is very weird... it works always vice versa. Higher CPU less delays.

    Have tested again, no delays.

    Are you sure you running one (latest) AOQ?

    Anyone else has same behavior?

    Rough estimation:

    Previous version: average 15% spikes 50%

    This version: average 20% spikes 50%

  • Topic Author
  • Posted
    1 minute ago, Rover said:

    Rough estimation:

    Previous version: average 15% spikes 50%

    This version: average 20% spikes 50%

    This is the same what I have as well.

    Previous version has delays, this one no delays with almost same CPU load.

     

    @Rover

    What about delays? in HC3 and HC2?

    @gggizmo

    How look like your CPU load without AOQ?

    Posted
    3 minutes ago, cag014 said:

    @Rover

    What about delays? in HC3 and HC2?

    No delays to complain of.

  • Topic Author
  • Posted (edited)

    @Rover

    By the way what about HC2 global variable in conditions? &Huisstatus'hc2

    Is it works OK now?

    @gggizmo

    Here my CPU load without AOQ.

    I have only three zWave devices which not triggered or activated by any scene or QA, so this is pure system load.

    Please login or register to see this spoiler.

     

     

     

    Edited by cag014
    Posted
    26 minutes ago, cag014 said:

    Rover

    By the way what about HC2 global variable in conditions? &Huisstatus'hc2

    Is it works OK now?

    Yes, it works! ?

    Even the synchronization of &Huisstatus'hc2 to &Huisstatus works! But no need anymore because HC2 global variable in conditions work.

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

    Yes, it works! ?

    Even the synchronization of &Huisstatus'hc2 to &Huisstatus works! But no need anymore because HC2 global variable in conditions work.

    Great.

    Thank you for finding the bug

    Posted
    5 hours ago, cag014 said:

    Here the latest and greates

    1. Fast response, no delays

    2. Keeps CPU Low

    3. @Rover check using global in conditions (I think have found the bug....)

    4. @minsad79 you can use HC3 slave devices, not yet QA globals. You can try to use HC3 slave global values... not sure if it works smoothly yet.

    5. some cosmetic improvements

     

     

    Please login or register to see this attachment.

    --========================== USER CONFIGURABLE PARAMETERS ===============================
     
    jSlave={ 
        hc3={user="minsad99",passwd="123456789!",ip="12.10.79.127"}
        } 
     
    jS2n={sensor="304'hc3",switch="247'hc3"}
    jM={
     {0"$RAM",{state="value>85",trueAct={{"RAM>85%","sendNote","Warning. \nSystem memory is $RAM% ",true},{"|$lineId|","setStateValue","80"}},falseAct={{"|$lineId|","setStateValue","85"},{"RAM<80%","sendNote","System memory is $RAM%"}}}},
     {0"$HC3onLine",{state="value=true",trueAct={"","tts","$dayTime, Home center is on line"},falseAct={"","tts","$dayTime, Home center is off line"}}}, 
     {0"$internet",{state="value=online",trigAct={"","tts","$dayTime, Internet is $internet"}}},
     {0,"304'hc3",{state="value=true",trueAct={"247'hc3","turnOn",""},falseAct={"247'hc3","turnOff","180"}}},
        } 
     
     
     

    Was tested

    But still error

    under

     

     

     

    [10.09.2020] [10:02:48] [ERROR] [QUICKAPP116]: QuickApp crashed[10.09.2020] [10:02:48] [ERROR] [QUICKAPP116]: mainCode.lua:799: attempt to concatenate a boolean value (local 'val')[10.09.2020] [10:03:51] [ERROR] [QUICKAPP116]: QuickApp crashed[10.09.2020] [10:03:51] [ERROR] [QUICKAPP116]: mainCode.lua:799: attempt to concatenate a boolean value (local 'val')

    Posted
    4 hours ago, cag014 said:

    This is very weird... it works always vice versa. Higher CPU less delays.

    Have tested again, no delays.

    Are you sure you running one (latest) AOQ?

    Anyone else has same behavior?

     

    load with aoq

     

    Please login or register to see this attachment.

    .

     

    load without aoq

     

    Please login or register to see this attachment.

     

     

     

    Take a look to attached txt file copied from History detail. One shows delay in turning on lights triggered by a motion sensor, the other one shows lights go on and off after remote button pressed.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Posted
    6 hours ago, cag014 said:

    This is very weird... it works always vice versa. Higher CPU less delays.

    Have tested again, no delays.

    Are you sure you running one (latest) AOQ?

    Anyone else has same behavior?

    Please login or register to see this attachment.

     

     

    cpu load with aoq and slave hcl lines commented

    Posted
    36 minutes ago, gggizmo said:

    Please login or register to see this attachment.

     

     

    cpu load with aoq and slave hcl lines commented

    without slave things work better. less delay and less ( but quite high) cpu load.

    I can't understand why system reacts like there is some sort of timeout...so no delay for the first cicle of operation then 10 sec no reaction then all works again

    Posted
    13 hours ago, cag014 said:

    Have added Fibaro key-fob to simulate the procedure and everything works fine.

    What key-fob you're using? Some key-fobs sends pressed and then released commands, so in this case your second line will do that (turning On/Off)

     

    further test on lights. Noway, not working and looks like the line can't evaluate condition...command tunroff else turnoff are executed sequence after evaluation. If light is on then on and off, and viceversa

    Posted
    1 hour ago, gggizmo said:

    노예가 없으면 일이 더 잘 작동합니다. 지연이 적고 CPU 부하가 적습니다.

    나는 시스템이 일종의 시간 초과가있는 것처럼 반응하는 이유를 이해할 수 없으므로 첫 번째 작동에 대한 지연이없고 10 초 동안 반응이 없으면 모두 다시 작동합니다.

    Please login or register to see this attachment.

     

    80EA Zwave devices

     

    Please login or register to see this attachment.

     

    0ea zwave devices

     

    Your HC3 is weird

    My aoq

    CPU is not high

     

     

     

    Posted
    9 hours ago, Rover said:

    No delays to complain of.

    Looking in event history of HC2 and HC3:

    HC2: delay between breaching motion sensor and lights turned on: 1 second.

    HC3: delay between breaching motion sensor and lights turned on: 1 second.

    Posted

    This works:

    Please login or register to see this spoiler.

    Why?

    Posted
    27 minutes ago, Rover said:

    This works:

    Please login or register to see this spoiler.

    Sorry, my fault: &Huisstatus cannot have value 0.

    Posted

    Still not OK:

    This works:

    Please login or register to see this spoiler.

    Why?

    Posted

    JS2n:

    Please login or register to see this spoiler.

    How to use parameters?

    Posted

    Scenario:

    A light is started at random time and stopped at random time and started at random time and stopped at random time ...

    All this started when a global parameter has been changed and stopped by clocktime or other global parameter.

    How to implement this in AOQ? In particular the repeat action bothers me.

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

    JS2n:

    Please login or register to see this spoiler.

    in event history the minimum resolution is 1 seconds. (used with os.time()) so you will never see less than 1 sec.

    Edited by cag014

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