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
    4 hours ago, minsad79 said:
    --========================== USER CONFIGURABLE PARAMETERS ===============================
    jSlave={ 
        hc3={user="minsad99",passwd="12345678!",ip="12.10.79.127"},
        } 
     jS2n={sensor1="336'hc3"},{lightSw="229'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,"`sensor1`", {state ="value = true", trueAct = {"`lightSw`","turnOn",""}, falseAct = {"`lightSw`","turnOff""180"}}},
        } 
     
     
     
     
     

    After setting as above

    Error

    Isn't hc3PROXY supported?

     

    [09.09.2020] [15:58:03] [ERROR] [QUICKAPP112]: QuickApp crashed[09.09.2020] [15:58:03] [ERROR] [QUICKAPP112]: Unknown error occurred: attempt to index a nil value[09.09.2020] [15:59:02] [ERROR] [QUICKAPP112]: QuickApp crashed[09.09.2020] [15:59:02] [ERROR] [QUICKAPP112]: Unknown error occurred: attempt to index a nil value

    Working on that... the problem that I didn't consider slave Quick Applications.

     

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

    At the moment testing HC2 globals does not work anymore.

    Please login or register to see this spoiler.

    Works fine for me...?

    It shows error on your global variable and not HC2 variable. Currently if HC2 global not found, the QA crashes...  no error yet..

    please try fibaro.getGlobalValue ("Huisstatus") in you local scene and see if it works.

    Posted
    17 minutes ago, cag014 said:

    Works fine for me...?

    It shows error on your global variable and not HC2 variable. Currently if HC2 global not found, the QA crashes...  no error yet..

    please try fibaro.getGlobalValue ("Huisstatus") in you local scene and see if it works.

    It looks like the combination of turnOn and condition with HC2 global does not work:

    Please login or register to see this spoiler.

    Works!!

    Posted
    8 hours ago, gggizmo said:

    have you introduced some kind of timeout to reduce cpu load?

    Every action starts with 1 or 2 sec delay...

    And i noticed also that cpu load go to 100% during esecution of some lines. Ex. motion sensor trig a light and after 30sec safe turn off light. till lights off cpu load stay high near to 100%.

    I don't think it's aoq related , but i just asking for suggestion on further investigation:-(

     

    I have got more than 250 lines, and at my HC3 overage 3-6 sec is the delay.

    For example. If the mostion sensor are breached, the light are turned on after 3-10 sec. 

     

    What may be the problem?

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

    have you introduced some kind of timeout to reduce cpu load?

    Every action starts with 1 or 2 sec delay...

    And i noticed also that cpu load go to 100% during esecution of some lines. Ex. motion sensor trig a light and after 30sec safe turn off light. till lights off cpu load stay high near to 100%.

    I don't think it's aoq related , but i just asking for suggestion on further investigation:-(

    1. Yes and No.

    The current problem is, if you don't have a much activity on HC3 the refresh state could be stuck up to 30 seconds (in mine HC3). Now if you have slave defined you can miss a lot of actions in slave system and not to react.

    I'm trying to find out what is the suitable delay for slave in this case? To my opinion 2-3 seconds is OK? What do you think?

    I did a mistake and this delay affects HC3 as well... already fixed.

    Today I will post a new version to download for you, please let me know if you have any idea about the delay?

    By the way if your HC3 is very active (I mean a lot of changes occurs in the system, like Z-wave, global, QA value updates and etc) then no problem for slave as well.

     

    2. I think HC3 spikes are Z-wave related. Just wrote a simple scene to turn on / off lights in a loop and CPU goes crazy.

     

     

    Posted
    5 minutes ago, SmartLifeSystems said:

     

    I have got more than 250 lines, and at my HC3 overage 3-6 sec is the delay.

    For example. If the mostion sensor are breached, the light are turned on after 3-10 sec. 

     

    What may be the problem?

    just to know, have you checked your cpu load?

    Posted
    9 minutes ago, gggizmo said:

    just to know, have you checked your cpu load?

     I will take a picture, but my RAM is on 72%. This is problem? The RAM in my HC2 was on overage 24-30%.

    Posted
    4 minutes ago, cag014 said:

    1. Yes and No.

    The current problem is, if you don't have a much activity on HC3 the refresh state could be stuck up to 30 seconds (in mine HC3). Now if you have slave defined you can miss a lot of actions in slave system and not to react.

    I'm trying to find out what is the suitable delay for slave in this case? To my opinion 2-3 seconds is OK? What do you think?

    I did a mistake and this delay affects HC3 as well... already fixed.

    Today I will post a new version to download for you, please let me know if you have any idea about the delay?

    By the way if your HC3 is very active (I mean a lot of changes occurs in the system, like Z-wave, global, QA value updates and etc) then no problem for slave as well.

     

    2. I think HC3 spikes are Z-wave related. Just wrote a simple scene to turn on / off lights in a loop and CPU goes crazy.

     

     

    Regarding slaves:

    in my case slave object are less important, i have just the irrigation system...and it's not a problem if i hve a 30sec delay, or 10 sec delay in action and feedback. But i know that a significant delay in other configuration is unacceptable. For example: if you have lights at home under slave gateway triggerd by motion sensor you have to wait a 2-3 sec delay before the activation...maybe useless, and if you have path to walk with lights triggered by motion sensors your risk is that you have to wait 2-3 seconds for every room. If you have to activate a slave device via remote connected to primary hc3 (i don't know AC cooling) 10-20-30sec it's the same. Imho it's not so easy to find optimal delay value for everyone/everyconfiguration, so for me it's better to have the most reliable, fast and cpu saver configuration on master hc3.

    By the way am i the only brave who decided to migrate a stable production hc2 to hc3? Wrong choice?

     

    7 minutes ago, SmartLifeSystems said:

     I will take a picture, but my RAM is on 72%. This is problem? The RAM in my HC2 was on overage 24-30%.

    i don't think so. My ram occupation is under 60% with 70 zwave devices and hc3 is sluggish

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

     I will take a picture, but my RAM is on 72%. This is problem? The RAM in my HC2 was on overage 24-30%.

    No, I run two AOQs and my RAM 50-55% steady for days.

    24 minutes ago, gggizmo said:

    just to know, have you checked your cpu load?

    May I ask you if your motion sensor connected to HC2?

     

  • Topic Author
  • Posted
    On 9/8/2020 at 4:18 PM, gggizmo said:

    just an example,. Every lines where a condition is present to check if light is on or off by value 

    Is the latest release fixed that problem?

    Posted
    10 minutes ago, cag014 said:

    Is the latest release fixed that problem?

    I think so, but i had no time to do any real test. For now i'm driving the lights with old fashion wall switches, and i just do some switch on-off with remote and no issue. I'll do a stress test in the evening.

    Posted (edited)
    40 minutes ago, cag014 said:

    No, I run two AOQs and my RAM 50-55% steady for days.

    May I ask you if your motion sensor connected to HC2?

     

     

    It hink so with the latest release the CPU is working correctly.

     

    I don't use now the HC2, I migrated every device in the HC3.

     

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Edited by SmartLifeSystems
    Posted

    that's mine, but usually cpu load is higher.

     

    Please login or register to see this attachment.

    Posted

    with the goal to reduce useless traffic:

    {0,"`mbagno`",{state="value=true",trueAct={"`lbagno`","turnOn","","{`luxbagno`:value<15}"},falseAct={"`lbagno`","turnOff","60","{`mbagno`:value=false|`pbagno`:value=true}"}}},
    {0,"`mbagnetto`",{state="value=true",trueAct={"`lbagnetto`","turnOn","","{`luxbagnetto`:value<15}"},falseAct={"`lbagnetto`","turnOff","60","{`mbagnetto`:value=false}"}}},
     
    Lines like these send turnoff action everytime sensor is safe, and lux value >15 so light is not turned on.
    How to avoid the turnoff command if light is not turned on?
  • Topic Author
  • Posted
    On 9/8/2020 at 7:42 AM, gggizmo said:

    hi cag, maybe i found another bug

     

    lines like these don't work anymore

    {0,"`isoggiorno`",{state="centralSceneSupport=2.Pressed",trueAct={{"`piantanaalta`","+changeBrightness,255",""},{"`piantanaalta`","turnOff;else;turnOn","","{`piantanaalta`:on=true}"}}}},
    {0,"`rcamera`",{state="centralSceneSupport=dummy",trigAct={"`lcamera`","turnOff;else;setValue,100","","{`lcamera`:value>0}"}}},
     
    every button press act like this. if light is on it switch off and then switch on again. If it's off it switch off and on again.
    No issue in previous version of aoq

    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)

     

    Posted
    9 minutes 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)

     

    Zwave.me wall controller.

     

    I'have a mixed hue-nothue lamp system. So these wall controllers can drive everything. I don't like zeegbee remote controller: no way to define complex action, I cas use a single wall remote to drive 4 different lights

    Posted
    4 hours ago, Rover said:

    It looks like the combination of turnOn and condition with HC2 global does not work:

    Please login or register to see this spoiler.

     

    Posted

    This does not work either because the HC3 global is not getting updated with the value of the HC2 global (why not?)

    Please login or register to see this spoiler.

     

  • Topic Author
  • Posted

    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.

    Posted
    41 minutes 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.

    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:-(

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