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 (edited)
1 hour ago, Rover said:

Please login or register to see this spoiler.

Why does not trigger the showed line at all?

Not if pushed the button 1x, not if pushed the button for longer time (Hold/Release).

Edited by Rover
Posted (edited)

I receive message of high response time on HCL (and that expected), have set 

slaveApiTime=1200
now it works and no warning displayed, but I would like to keep lower limit for HC2 in case of problems.
Any option to define slaveApiTime for each slave?
 
Edited by AR27690
  • Topic Author
  • Posted
    13 minutes ago, AR27690 said:

    I receive message of high response time on HCL (and that expected), have set 

    slaveApiTime=1200
    now it works and no warning displayed, but I would like to keep lower limit for HC2 in case of problems.
    Any option to define slaveApiTime for each slave?
     

    I have noticed about that yesterday... work in progress...

    Posted
    25 minutes ago, cag014 said:

     

    So maximum 2 seconds to activate... unless HC2 has some delay inside...or HC3

    Few tests:

    When icons changes on HC3, how fast turnOn action appears on HC3 debug window?

    What happens when you turn the light from GUI of HC2?

    Could you post jM line of that action

    What happens when you turn the light from GUI of HC2? : No delay

    Please login or register to see this spoiler.

    When icons changes on HC3, how fast turnOn action appears on HC3 debug window?: About 2 seconds.

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

    What happens when you turn the light from GUI of HC2? : No delay

    Please login or register to see this spoiler.

    Based  on your line it actually should take over 5 seconds... as you have one second to execute REST API

    first action to turn Schilderijspot (1 sec.)... then TestLicht (+1sec), then to evaluate value of &Huisstatus (+1sec) now to turn on SpotsTrapOverLoop (+1 sec)  and again TestLicht?  (Why again?)

    Overall I don't understand why API execution takes almost 1 second?

    Another interesting test that you can do to verify this response time

    Set SlaveSwitch emulator for one of the lights on HC2. Now turn it on/off, how long it takes? (the API in SlaveSwitch is exactly the same as in AOQ)

     

    Edited by cag014
  • Topic Author
  • Posted
    39 minutes ago, AR27690 said:

    I receive message of high response time on HCL (and that expected), have set 

    slaveApiTime=1200
    now it works and no warning displayed, but I would like to keep lower limit for HC2 in case of problems.
    Any option to define slaveApiTime for each slave?
     

    Here how you can define different response time limits

    in jSlave {} table define slaveApiTime specific for that slave

    Slave={

            hcl={user="xxx",passwd="xxx",ip="xxxx",slaveApiTime=1200},

            hc2={user="xxx",passwd="xxx,ip="xxxx"}  

            } 

    When no time defined in jSlave the slaveApiTime  in AOQ parameters will be used.  In this case hc2 will be set to that.

    If no slaveApiTime defined at all (not in jSlave table and not in AOQ parameters ) 600 milliseconds  as default will set for all.

     

     

    Please login or register to see this attachment.

    Posted (edited)
    5 hours ago, cag014 said:

    Based  on your line it actually should take over 5 seconds... as you have one second to execute REST API

    first action to turn Schilderijspot (1 sec.)... then TestLicht (+1sec), then to evaluate value of &Huisstatus (+1sec) now to turn on SpotsTrapOverLoop (+1 sec)  and again TestLicht?  (Why again?)

    Overall I don't understand why API execution takes almost 1 second?

    Another interesting test that you can do to verify this response time

    Set SlaveSwitch emulator for one of the lights on HC2. Now turn it on/off, how long it takes? (the API in SlaveSwitch is exactly the same as in AOQ)

     

    Indeed second turnOnn TestLicht is not needed, deleted.

    Schilderijspot changed to SlaveSwitch.

    The SlaveSensor lost its icon again and it is not possible to get an icon in this QA again, so I have to count from the moment when I move in front of the sensor.

    Measurements: TestLicht-Schilderijspot-SpotsTrapOverLoop

    17-17-23, 9-9-17, 6-6-17, 16-16-20, 6-6-17.

    So HC3 light and SlaveSwitch light have the same delay, while <device>'hc2 light has a lot more delay.

    And the delays are quite unstable.

    PostTime=0.489

     

     

    6 hours ago, Rover said:

    Why does not trigger the showed line at all?

    Not if pushed the button 1x, not if pushed the button for longer time (Hold/Release).

    When I have a look in webEye, it do not looks well...

    ???

    Edited by Rover
    Posted

    New measurements after installing new SlaveSensor to be able to see an icon, counting from seeing icon On:

    TestLicht-Schilderijspot-SpotsTrapOverLoop :

    On 1-2-15 Off 1-2-?

    On 1-2-22 Off 1-10-10

    On 1-2-14 Off 1-2-42

    Posted

    Cag, you have written that it is dangerous to reboot the HC3 with this AOQ version, or did I misunderstood this?

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

    Cag, you have written that it is dangerous to reboot the HC3 with this AOQ version, or did I misunderstood this?

    Dangerous to reboot ? What do you mean?

    AOQ just a QuickApp in HC3 like any others.. nor risk to reboot

    3 hours ago, Rover said:

    New measurements after installing new SlaveSensor to be able to see an icon, counting from seeing icon On:

    TestLicht-Schilderijspot-SpotsTrapOverLoop :

    On 1-2-15 Off 1-2-?

    On 1-2-22 Off 1-10-10

    On 1-2-14 Off 1-2-42

    What about activate the lights from SlaveSwitch?

     

    I think the best option to see what is wrong, is to have just on line in jM. If slavesensor breached turn on the light - that's all

    Edited by cag014
    Posted
    25 minutes ago, cag014 said:

    AOQ just a QuickApp in HC3 like any others.. nor risk to reboot

    I thought, maybe rebooting HC3 might help, or is that a wrong idea?

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

    I thought, maybe rebooting HC3 might help, or is that a wrong idea?

    Yes, it's a good idea... let's see.

    By the way this morning HC3 sopped to send email from QA devices (works fine from Lua/block scenes), did reboot and now it works fine.

    HC3 is not stable yet...

    Posted (edited)
    1 hour ago, cag014 said:

    Yes, it's a good idea... let's see.

    By the way this morning HC3 sopped to send email from QA devices (works fine from Lua/block scenes), did reboot and now it works fine.

    HC3 is not stable yet...

     

    Please login or register to see this spoiler.

    Hi cag, please assist in the solution.

    Edited by Rover
  • Topic Author
  • Posted
    22 hours ago, Rover said:

    Why does not trigger the showed line at all?

    Not if pushed the button 1x, not if pushed the button for longer time (Hold/Release).

    Why double brackets?

    {0,"`OverloopSwitch`",{lineState={" if { {`OverloopSwitch`:sceneActivation=`But2Single`} or {`OverloopSwitch`:sceneActivation=`But2Release` and `OverloopSwitch`:sceneActivation<>`But2Hold`}}"}, 

    should be

    {0,"`OverloopSwitch`",{lineState={" if {`OverloopSwitch`:sceneActivation=`But2Single`} or {`OverloopSwitch`:sceneActivation=`But2Release` and `OverloopSwitch`:sceneActivation<>`But2Hold`}"}, 

    Posted
    17 minutes ago, cag014 said:

    Why double brackets?

    {0,"`OverloopSwitch`",{lineState={" if { {`OverloopSwitch`:sceneActivation=`But2Single`} or {`OverloopSwitch`:sceneActivation=`But2Release` and `OverloopSwitch`:sceneActivation<>`But2Hold`}}"}, 

    should be

    {0,"`OverloopSwitch`",{lineState={" if {`OverloopSwitch`:sceneActivation=`But2Single`} or {`OverloopSwitch`:sceneActivation=`But2Release` and `OverloopSwitch`:sceneActivation<>`But2Hold`}"}, 

    Please login or register to see this spoiler.

    does not looking good in hcWebEye.

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

    Please login or register to see this spoiler.

    This is not the same line, right?

    What are definitions for all these parameters, I mean line with But1Single, But1Release, But1Hold looke good,

    but line with But3Single, But3Release, But3Hold does not?

    Posted (edited)
    32 minutes ago, cag014 said:

    This is not the same line, right?

    What are definitions for all these parameters, I mean line with But1Single, But1Release, But1Hold looke good,

    but line with But3Single, But3Release, But3Hold does not?

    No, it is another line, but with the same like content. 

    The message is that the AND and OR construction fail and the other one is OK, if you have a look at hcWebEye.

    Edited by Rover
  • Topic Author
  • Posted
    4 minutes ago, Rover said:

    No, it is another line, but with the same like content. 

    The message is that the AND and OR construction fail and the other one is OK, if you have a look at hcWebEye.

    As usual... your code is the best debugger...

    Have set an option for and/or in actions, totally forgot about lineState.

    Thanks for reminding me... meanwhile please use previous format in lineState  (use "|" as "and"), "or" works fine.

    Will fix it...

    Posted (edited)
    9 minutes ago, cag014 said:

    As usual... your code is the best debugger...

    Have set an option for and/or in actions, totally forgot about lineState.

    Thanks for reminding me... meanwhile please use previous format in lineState  (use "|" as "and"), "or" works fine.

    Will fix it...

    OK, already did it ?

    Edited by Rover
    Posted

    Using webEye it is uneasy that Toggle do not refresh, so that de details cannot be seen. Just editing AOQ code will refresh the webEye.

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