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

I think @gggizmo are right about the CPU' load.

And i finded another bug in the 5.7 and 5.8 too. If I open the edit window and I click the files window and I click the user_data or main window, the AOQ restart. Maybe the problem is mine, because this windows i don't see default (since I set up the AOQ4.1.fqa). I need do this steps, if I want editing something.

Posted
6 hours ago, cag014 said:

All,

This is the version that I'll release tomorrow in forum

No debug information anymore

In addition attached Slave Remote Controller for centralScene

 

Please login or register to see this attachment.

 

Please login or register to see this attachment.

How to change icon in SlaveRemote?

Posted
16 hours ago, cag014 said:

Indeed, but it's better to have jM line for each sensor rather then running conditions... as I said it creates more HTML data... and this is a huge long line in table (50 commands).

As I see few sensors already has a jM line!?

By the way these sensors are direct devices on HC2... not emulated... and should not have alarm property...

F.i. in {"`Pushover`", '+Send_Pushover,json[["&PushoverTitle","&Prio","&PushoverSound","Rook Overloop"]]',"if {`RookOverloop`:alarm=breached}"},

is `RookOverloop` a direct HC2 device (so this should not be). Why does AOQ accept the "if {`RookOverloop`:alarm=breached}"}, ?

Posted
19 hours ago, cag014 said:

Indeed, but it's better to have jM line for each sensor rather then running conditions... as I said it creates more HTML data... and this is a huge long line in table (50 commands).

As I see few sensors already has a jM line!?

By the way these sensors are direct devices on HC2... not emulated... and should not have alarm property...

So: 

  {0,"`Voordeur`",{initOnStartup=false,state="alarm=breached",lineState={"if {&Alarmstatus:value<>Uit}"},

        trueAct={ {"`Pushover`", '+Send_Pushover,json[["&PushoverTitle","&Prio","&PushoverSound","Voordeur"]]'} }}},

is for AOQ simpler than:

{"`Pushover`", '+Send_Pushover,json[["&PushoverTitle","&Prio","&PushoverSound","Voordeur"]]' ,"if {`Voordeur`:alarm=breached}"},

while much more checking is needed for each line???

  • Topic Author
  • Posted
    4 hours ago, SmartLifeSystems said:

    I think @gggizmo are right about the CPU' load.

    And i finded another bug in the 5.7 and 5.8 too. If I open the edit window and I click the files window and I click the user_data or main window, the AOQ restart. Maybe the problem is mine, because this windows i don't see default (since I set up the AOQ4.1.fqa). I need do this steps, if I want editing something.

    Yes, this is a normal behavior of QA... by opening or saving code it's restarts

  • Topic Author
  • Posted
    8 hours ago, gggizmo said:

    Sorry cag014, but in my hc3 v5.8 has a huge impact on cpu load.It looks like 20% higher cpu load in idle. 

     

    v 5.8

    Please login or register to see this attachment.

     

     

     

    v 5.7

     

    Please login or register to see this attachment.

    That's interesting... I have removed printout of debug info only from 5.8. No other changes...

    Could you please check for a little bit longer the CPU load

    Posted
    1 minute ago, cag014 said:

    That's interesting... I have removed printout of debug info only from 5.8. No other changes...

    Could you please check for a little bit longer the CPU load

    already done. I sent you the previous screenshot just to make clear my situation.

    I tried new 5.8 from 4.00 am to 6 am when i posted my comment. And in two hours cpu load was always over 25-30%.  

    Posted (edited)

     {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=false}"}

     

    If DimmerLeeslamp is a dimmer, then only turnOff.

    If DimmerLeeslamp is a HC3 wallplug switch, then toggling the wallplug switch, like it should be.

    The trigger is a SlaveRemote_centralScene-v2 (Remotec Scenemaster).

    Between pushing a button on the Scenemaster and a change in the wallplug takes 18 seconds ?!? (CPU load HC3 about 20%)

    (The Scenemaster has 8 buttons, so I have added two buttons in the QA).

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

     {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=false}"}

     

    If DimmerLeeslamp is a dimmer, then only turnOff.

    If DimmerLeeslamp is a HC3 wallplug switch, then toggling the wallplug switch, like it should be.

    The trigger is a SlaveRemote_centralScene-v2 (Remotec Scenemaster).

    Between pushing a button on the Scenemaster and a change in the wallplug takes 18 seconds ?!? (CPU load HC3 about 20%)

    (The Scenemaster has 8 buttons, so I have added two buttons in the QA).

    The dimmer value is not false or true, is value between 0-99

    please try

    {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=0}"}

    1 hour ago, gggizmo said:

    already done. I sent you the previous screenshot just to make clear my situation.

    I tried new 5.8 from 4.00 am to 6 am when i posted my comment. And in two hours cpu load was always over 25-30%.  

    Thanks... have found the problem..

    Let me know CPU load of attached version

    Please login or register to see this attachment.

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

     {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=false}"}

     

    If DimmerLeeslamp is a dimmer, then only turnOff.

    If DimmerLeeslamp is a HC3 wallplug switch, then toggling the wallplug switch, like it should be.

    The trigger is a SlaveRemote_centralScene-v2 (Remotec Scenemaster).

    Between pushing a button on the Scenemaster and a change in the wallplug takes 18 seconds ?!? (CPU load HC3 about 20%)

    (The Scenemaster has 8 buttons, so I have added two buttons in the QA).

    thanks for tip... attached Slave centralScene remote has buttons auto-configuration according to the slave device.

     

    Please login or register to see this attachment.

    Posted (edited)
    23 minutes ago, cag014 said:

    The dimmer value is not false or true, is value between 0-99

    please try

    {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=0}"}

    Thanks... have found the problem..

    Let me know CPU load of attached version

    Please login or register to see this attachment.

    cpu load looks normal now. I'll send you a feedback in a couple of hours 

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

    So: 

      {0,"`Voordeur`",{initOnStartup=false,state="alarm=breached",lineState={"if {&Alarmstatus:value<>Uit}"},

            trueAct={ {"`Pushover`", '+Send_Pushover,json[["&PushoverTitle","&Prio","&PushoverSound","Voordeur"]]'} }}},

    is for AOQ simpler than:

    {"`Pushover`", '+Send_Pushover,json[["&PushoverTitle","&Prio","&PushoverSound","Voordeur"]]' ,"if {`Voordeur`:alarm=breached}"},

    while much more checking is needed for each line???

    It depends how many times Voordeur is the main device in jM line.

    In general any condition scanned one by one, while main device scanned once (per loop) and other instances of this device in jM are not (using first scanned value)

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

     {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=false}"}

     

    If DimmerLeeslamp is a dimmer, then only turnOff.

    If DimmerLeeslamp is a HC3 wallplug switch, then toggling the wallplug switch, like it should be.

    The trigger is a SlaveRemote_centralScene-v2 (Remotec Scenemaster).

    Between pushing a button on the Scenemaster and a change in the wallplug takes 18 seconds ?!? (CPU load HC3 about 20%)

    (The Scenemaster has 8 buttons, so I have added two buttons in the QA).

    To remind you and to all users, while AOQ updates the table all activities are suspended (update time depends on jM size).

    By default the table updated every 3 minutes (minimum update time is 2 minutes).

    If from some reason you have measured the time response of this action (18 seconds) during table update, it makes sense.

    In attached version I have added an option to disable auto-refresh at all, by setting tblRefresh to zero (in AOQ Parameters section)

    I suggest to disable auto-refresh. (It already disabled in my release for the forum)

    In hcWebEye table could be updated by pressing "Toggle" button (if to your table takes more than 10 seconds to update, please press "Reload" button till table shown)

    Please login or register to see this spoiler.

     

    please refer to scan time number as an expected maximum delay...

     

    Please login or register to see this attachment.

    Edited by cag014
  • Topic Author
  • Posted (edited)

    @Rover

    Regarding your AOQ implementation, I think it could be simplified by using userKeyWord functions or by adding algorithms in QA (like pushover, SONOS)

    I know SONOS QA released by other user, but what what about Pushover, who is the owner?

     

    Let me know what do you think?

     

    Edited by cag014
    Posted
    14 minutes ago, cag014 said:

    @Rover

    Regarding your AOQ implementation, I think it could be simplified by using userKeyWord functions or by adding algorithms in QA (like pushover, SONOS)

    I know SONOS QA released by other user, but what what about Pushover, who is the owner?

     

    Let me know what do you think?

     

    I cannot comprehence what you mean by using userKeyWord functions or by adding algorithms in QA (like pushover, SONOS).

    I am using now 10der's Sonos Hub for only Sonos sounds like doorbell. For extended Sonos control I am implementing now Krikroff's newest QA.

    F.Berges made the Pushover QA. What could be changed in that QA (known by you) that improves something for me?

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

    I cannot comprehence what you mean by using userKeyWord functions or by adding algorithms in QA (like pushover, SONOS).

    I am using now 10der's Sonos Hub for only Sonos sounds like doorbell. For extended Sonos control I am implementing now Krikroff's newest QA.

    F.Berges made the Pushover QA. What could be changed in that QA (known by you) that improves something for me?

    I mean to make the sensors breached selection for the message could be done either in Pushover or user function.

    Since Pushover could be updated by F.Berges, it is better to use user fuction

    Posted (edited)

    {"PortSwitch","sendEmail,2","1 1x"}, {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=0}"} }}},

    "works", but:

    • time between push button and reaction dimmer with SlaveRemote_centralScene-v2.fqa first edition: 9, 19, 8, 41 seconds.
    • very strange that toggling dimmer is not assured: 

      Please login or register to see this spoiler.

      So in fact going back to the old good LUA, using the HC2 code? 

       

      Edited by Rover
  • Topic Author
  • Posted (edited)
    58 minutes ago, Rover said:

    {"PortSwitch","sendEmail,2","1 1x"}, {"`DimmerLeeslamp`","turnOn;else;turnOff","if {`DimmerLeeslamp`:value=0}"} }}},

    "works", but:

    • time between push button and reaction dimmer with SlaveRemote_centralScene-v2.fqa first edition: 9, 19, 8, 41 seconds.
    • very strange that toggling dimmer is not assured: 

      Please login or register to see this spoiler.

    turnOn after turnOn means the dimmer value is still zero?

    Not HC2 code, user function in AOQ..

    Or to restructure the jM lines...

    If you're using AOQ v6.0, could you post the ScanTime and Scan Max values?

    Did the same on my system, less than 1second response.. using slave remote.

     {0,"160",{state="centralSceneSupport=3.Pressed",trueAct={"792'hc2","turnOn;else;turnOff","{792'hc2:value=0}"}}},

    Edited by cag014
  • Topic Author
  • Posted (edited)
    1 hour ago, cag014 said:

    turnOn after turnOn means the dimmer value is still zero?

    Not HC2 code, user function in AOQ..

    Or to restructure the jM lines...

    If you're using AOQ v6.0, could you post the ScanTime and Scan Max values?

    Did the same on my system, less than 1second response.. using slave remote.

     {0,"160",{state="centralSceneSupport=3.Pressed",trueAct={"792'hc2","turnOn;else;turnOff","{792'hc2:value=0}"}}},

    @Rover

    On second thought I saw few API GET warnings on your posts about 1 second response for api.get() !? Usually it takes 90 mSec.

    Since you have over 120 conditions and ~100 jM lines it could take a lot of time.

    It might indicates that some network issue on your LAN ? May be your LAN is overloaded by home users, like high demand for streaming (Netflix, TV streamers, Zooms..)

    Edited by cag014
    Posted
    15 minutes ago, cag014 said:

    turnOn after turnOn means the dimmer value is still zero?

    Not HC2 code, user function in AOQ..

    Or to restructure the jM lines...

    If you're using AOQ v6.0, could you post the ScanTime and Scan Max values?

     

    3 hours ago, cag014 said:

    In addition I have added scanning time (latest and maximum) of the devices in "CPU & Scan elapsed time " popup menu.

    Where can I find "CPU & Scan elapsed time " popup menu?

    Just now, Rover said:

    Not HC2 code, user function in AOQ..

    How does user function looks like?

    32 minutes ago, cag014 said:

    It might indicates that some network issue on your LAN ? May be your LAN is overloaded by home users, like high demand for streaming (Netflix, TV streamers, Zooms..)

    No, my network has no issues. I am the only moderate user of the LAN, no Netflix, etc.

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