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
[04.10.2020] [12:01:15] [ERROR] [QUICKAPP1354]: QuickApp crashed[04.10.2020] [12:01:15] [ERROR] [QUICKAPP1354]: mainCode.lua:1290: attempt to index a nil value (local 'tmpTbl')
 
 
?
  • Topic Author
  • Posted

    What version you're using????

    Already fixed... means no communication to slave controller?

    Any how please use attached

     

     

    Please login or register to see this attachment.

    Posted (edited)
    10 minutes ago, cag014 said:

    What version you're using????

    Already fixed... means no communication to slave controller?

    Any how please use attached

     

     

    Please login or register to see this attachment.

    i was the first to download and install version 3.5 according to forum counter:-)

     

    may be a slave device deactivated?

     

    Is it a 3.5.1 version?

    Edited by gggizmo
  • Topic Author
  • Posted (edited)
    7 hours ago, SmartLifeSystems said:

     

    Yes, every combination.

    Weird...

    Last test, can you create a Lua scene with one code line and run it.

    fibaro.alert('push', {3370}, 'Test')
     
    Please try few combinations of the ID numbers.
    4 minutes ago, gggizmo said:

    i was the first to download and install version 3.5 according to forum counter:-)

     

    may be a slave device deactivated?

     

    Is it a 3.5.1 version?

    Yes

    Edited by cag014
    Posted
    42 minutes ago, gggizmo said:

    i was the first to download and install version 3.5 according to forum counter:-)

     

    may be a slave device deactivated?

     

    Is it a 3.5.1 version?

    aoq keeps restarting 

    [05.10.2020] [17:12:35] [ERROR] [QUICKAPP1354]: QuickApp crashed[05.10.2020] [17:12:35] [ERROR] [QUICKAPP1354]: mainCode.lua:1294: attempt to index a nil value (local 'tmpTbl')[05.10.2020] [17:13:03] [ERROR] [QUICKAPP1354]: QuickApp crashed[05.10.2020] [17:13:03] [ERROR] [QUICKAPP1354]: mainCode.lua:318: attempt to call a nil value (method 'stop')

     

     

    now i rebooted hcl, but all looks related to slaveswitch qa. I created 9 slaveswitch and i think that refresh state push high cpu load on hcl.

    Posted

    yep issue is related to slave switch

     

    aoq and 9 slaveswitches active ( polling time 1000)

     

    Please login or register to see this image.

    /monthly_2020_10/Screenshot_5.png.fa16eed408a6118fd64fbb92ca6566fe.png" />

     

    no aoq nor slaveswitches

     

    Screenshot_6.png.37806458b2e4b8144b0645b4d5a50851.png

     

     

    Only aoq and no slave switches

     

     

    Screenshot_7.png.87590bb4ff33942b7aa6c8ffde5802b3.png

  • Topic Author
  • Posted

    You can increase the sampleRate to 2 sec. Sounds strange that API request overload CPU!?

    Please download attached - just to get rid of this error.

     

     

    Please login or register to see this attachment.

    Posted
    3 minutes ago, cag014 said:

    You can increase the sampleRate to 2 sec. Sounds strange that API request overload CPU!?

    Please download attached - just to get rid of this error.

     

     

    Please login or register to see this attachment.

    tnx but i think it's normal for hcl...in the past i moved every scene to hc2 cause with 3 or 4 scene active in hcl i had to reboot overy day. I use it just like a zwave repeater...

    Posted
    23 minutes ago, cag014 said:

    You can increase the sampleRate to 2 sec. Sounds strange that API request overload CPU!?

    Please download attached - just to get rid of this error.

     

     

    Please login or register to see this attachment.

    to have a significant cpu load reduction 5secs it's the minimum...but it has no impatc on function, only state it's refreshed witha small late

     

    ps. just to be clear 5 secs =5000 ?

  • Topic Author
  • Posted
    Just now, gggizmo said:

    to have a significant cpu load reduction 5secs it's the minimum...but it has no impatc on function, only state it's refreshed witha small late

     

    ps. just to be clear 5 secs =5000 ?

    Yes, the value in milliseconds

    Posted

     

    1 hour ago, cag014 said:

    You can increase the sampleRate to 2 sec. Sounds strange that API request overload CPU!?

    Please download attached - just to get rid of this error.

     

     

    Please login or register to see this attachment.

    may be not related with aoq...but it's possible that the latest release has a 10% higher cpu impact?

  • Topic Author
  • Posted (edited)

    No, vise versa it should be lower CPU load than previous version

    Edited by cag014
    Posted
    9 minutes ago, cag014 said:

    No, vise versa it should be lower CPU load than previous version

    ok, i'llinvestgate. May be an unusual family activity triggering a lot o f devices...i'm thinking to made stricly rules about:

    1) max walking speed 

    2) max number of alexa commands/minute

    3) max number of complaints about home automation mulfunctions

     

    :-)

     

    just joking, it's the only thing we can do to survive these dark days...again in italy 3k covid positives/day

  • Topic Author
  • Posted (edited)
    10 minutes ago, gggizmo said:

    ok, i'llinvestgate. May be an unusual family activity triggering a lot o f devices...i'm thinking to made stricly rules about:

    1) max walking speed 

    2) max number of alexa commands/minute

    3) max number of complaints about home automation mulfunctions

     

    :-)

     

    just joking, it's the only thing we can do to survive these dark days...again in italy 3k covid positives/day

    ?

    It will pass, I mean covid stuff.

    Family complains won't

     

    Edited by cag014
    Posted

    Good morning cag,

    The reporting (and debugging) page tracing all events is really very informative with all its information in text and colors ?

    Posted
    16 hours ago, cag014 said:

    Weird...

    Last test, can you create a Lua scene with one code line and run it.

    fibaro.alert('push', {3370}, 'Test')
     
    Please try few combinations of the ID numbers.

    Yes

     

    I tried the code, but don't do nothing.

    Posted (edited)

    Please login or register to see this spoiler.

    either.

    How to poll if light value of sensor is low between 15:00 and 22:00 and set global parameter is true?

    In fact instead of polling the better scenario is: when between 15:00 and 22:00 light value of sensor is low, then set global parameter is true. But how to write this in AOQ line?

    Edited by Rover
    Posted

    Latest version:

    are the commends repeated 2 times? or do i misanderstanding degbug?

     

     

    Please login or register to see this image.

    /monthly_2020_10/image.png.19888192c75b352a5934c04caf7faef6.png" />

  • Topic Author
  • Posted (edited)
    45 minutes ago, gggizmo said:

    Latest version:

    are the commends repeated 2 times? or do i misanderstanding degbug?

     

    No... 

    That's strange...

    BTW the new version 4.0 is available at download center (including main code as a text file)

    Please note, two new parameters have been added

    maxScanTime = 555 -- max. time rate to scan devices in milliseconds when system is idle, range (100-900)
    slaveApiTime= 600 -- max. slave response time (milliseconds), warning shown if greater detected.
    Download Tips and Trick pdf. for more information
     
    AOQ will run with default values, but please add these lines to the table of AOQ variables.
    Since I already did some changes to debug @Smartsystem push problem, please download latest version from forum's download center.
     
    Edited by cag014
    Posted (edited)
    7 minutes ago, cag014 said:

     

    Please note, two new parameters have been added

    maxScanTime = 555 -- max. time rate to scan devices in milliseconds when system is idle, range (100-900)
    slaveApiTime= 600 -- max. slave response time (milliseconds), warning shown if greater detected.
    Download Tips and Trick pdf. for more information
     
     
     

    please clarify where and which values i have to add please

    and remote.fqa, slaveswitch, slavesensor need to be updated?

    Edited by gggizmo

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