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


All-in-One Scene: How to do it Better


cag014

Recommended Posts

13 hours ago, cag014 said:

In HC3 the user location data is not updated, but the geoFencing does work.

Did you defined properly locations in General->Location?

Try new app and follow setup procedure

Please login or register to see this link.

 

Yes the location in General>Location is good.

The HC3 location parameters are about the same as in another GPS Location Finder app (iOS).

$geoAction as well as own HC3 scene triggered by GPS-location do not function. Although one time $geoAction as well as own HC3 scene triggered by GPS-location have worked.

The new app 1.10 is not downloadable already for iOS.

Edited by Rover
Link to comment
Share on other sites

13 hours ago, SmartLifeSystems said:

Somebody tried the 5.062 Beta? Working correctly the AOQ?

Paynfull slow to start, stuck a lot in starting services but once started everything works as expected

Link to comment
Share on other sites

  • Topic Author
  • 1 hour ago, gggizmo said:

    Paynfull slow to start, stuck a lot in starting services but once started everything works as expected

    Same for me...  AOQ works fine...

    Since my system doesn't include many devices, please let me know if you have any problems

    Link to comment
    Share on other sites

    20 hours ago, cag014 said:

    Same for me...  AOQ works fine...

    Since my system doesn't include many devices, please let me know if you have any problems

    Any hint about reducing ram consumption?

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, gggizmo said:

    Any hint about reducing ram consumption?

    No changes for me

    Link to comment
    Share on other sites

  • Topic Author
  • 2 hours ago, gggizmo said:

    1 hour after reboot 88%

    Wow...

    48% since yesterday for me...

    Link to comment
    Share on other sites

    20 minutes ago, cag014 said:

    Wow...

    48% since yesterday for me...

    how many devices? in my system i have 70 zwave devices, 4 camera, 10 slave emulated devices...

     

     

    Link to comment
    Share on other sites

    On 2/23/2021 at 3:28 PM, gggizmo said:

    Paynfull slow to start, stuck a lot in starting services but once started everything works as expected

    I am still with 5.050.13, so I am not suicidal.

    What is the advantage for using AOQ in upgrading to 5.062 BETA?

    Link to comment
    Share on other sites

    1 minute ago, Rover said:

    I am still with 5.050.13, so I am not suicidal.

    What is the advantage for using AOQ in upgrading to 5.062 BETA?

    There's no vantage in use a beta release...just masochism. No fun if everything works as expected:-)

    In my case i'm testing gateway connection to slave hc3 and hc3 lite

    Link to comment
    Share on other sites

    Hi!

     

    I've been working on my "jM{" line, and suddenly this happened. 

     

     

    I get this DEBUG message, and dont know what to do:

     

    2021-02-26 11:20:45.228335 [ fatal] Unknown exception: /opt/fibaro/scenes/104.lua:791: bad argument #1 to 'remove' (position out of bounds)

     

    Line 781-794 is :

    function setOrder(k)
      if k[1]:find("[%s+]? and [%s+]?") then k[1]=k[1]:gsub("[%s+]? and [%s+]?","|") end 
      local nK={k[1],k[2],"","na","na"}
      if #k==2 then k[3]="" else 
            for i=3,#k do
                if type(k[i])=="number" then k[i]=tostring(k[i]) end
                if type(k[i])=="boolean" then nK[5]=k[i];if nK[4]=="na" then nK[4]=false end
                elseif k[i]:find("%b{}") and k[i]:find(":") then nK[4]=k[i] 
                else nK[3]=k[i] end
            end
            for i=5,4,-1 do if nK[i]=="na" then table.remove(nK,i) end end
            for i=1,#nK do k[i]=nK[i] end   
        end
     end --===================================== setOrder 

    Link to comment
    Share on other sites

  • Topic Author
  • 7 hours ago, MartinBeck said:

    Hi!

     

    I've been working on my "jM{" line, and suddenly this happened. 

     

     

    I get this DEBUG message, and dont know what to do:

     

    2021-02-26 11:20:45.228335 [ fatal] Unknown exception: /opt/fibaro/scenes/104.lua:791: bad argument #1 to 'remove' (position out of bounds)

     

    Line 781-794 is :

    function setOrder(k)
      if k[1]:find("[%s+]? and [%s+]?") then k[1]=k[1]:gsub("[%s+]? and [%s+]?","|") end 
      local nK={k[1],k[2],"","na","na"}
      if #k==2 then k[3]="" else 
            for i=3,#k do
                if type(k[i])=="number" then k[i]=tostring(k[i]) end
                if type(k[i])=="boolean" then nK[5]=k[i];if nK[4]=="na" then nK[4]=false end
                elseif k[i]:find("%b{}") and k[i]:find(":") then nK[4]=k[i] 
                else nK[3]=k[i] end
            end
            for i=5,4,-1 do if nK[i]=="na" then table.remove(nK,i) end end
            for i=1,#nK do k[i]=nK[i] end   
        end
     end --===================================== setOrder 

    Please post the JM line

    Link to comment
    Share on other sites

    1 hour ago, cag014 said:

    Please post the JM line

    The problem may be caused by this section:

     

    -- For varmt inne. Skrur av VARMEPUMPE og GULVVARME og lukker STUE SREEN.  
    {0, "`StueTemp`",{state="value>23",trueAct={"`Varmepumpe`","turnOff"},falseAct={"`Varmepumpe`","turnOn"}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={fibaro:call(168, "close")},falseAct={""}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={fibaro:call(187, "setThermostatSetpoint", "1", "19")},falseAct={""}}},  
    -- ...  

    Link to comment
    Share on other sites

  • Topic Author
  • 2 hours ago, MartinBeck said:

    The problem may be caused by this section:

     

    -- For varmt inne. Skrur av VARMEPUMPE og GULVVARME og lukker STUE SREEN.  
    {0, "`StueTemp`",{state="value>23",trueAct={"`Varmepumpe`","turnOff"},falseAct={"`Varmepumpe`","turnOn"}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={fibaro:call(168, "close")},falseAct={""}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={fibaro:call(187, "setThermostatSetpoint", "1", "19")},falseAct={""}}},  
    -- ...  

    First of all , you cannot use blank falseAct={""} or any other action.

    If you don't need falseAct (or any other like timeoutAct{}, timeLoopAct{} and etc) just don't include it in the line

    Please remove it

    Second problem, you cannot use  command like fibaro:call in the line

    Please set as below

    {0, "`StueTemp`",{state="value>24",trueAct={"168", "close"}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={"187", "setThermostatSetpoint,1,19"}}},  

     

     

    Another suggestion, if you have same device and state condition, you can include as much as needed action in the same table.

    For example in your case use:

    {0, "`StueTemp`",{state="value>24",trueAct={{"168", "close"},{"187", "setThermostatSetpoint,1,19"}}}},

    Edited by cag014
    Link to comment
    Share on other sites

    11 hours ago, cag014 said:

    First of all , you cannot use blank falseAct={""} or any other action.

    If you don't need falseAct (or any other like timeoutAct{}, timeLoopAct{} and etc) just don't include it in the line

    Please remove it

    Second problem, you cannot use  command like fibaro:call in the line

    Please set as below

    {0, "`StueTemp`",{state="value>24",trueAct={"168", "close"}}},  
    {0, "`StueTemp`",{state="value>24",trueAct={"187", "setThermostatSetpoint,1,19"}}},  

     

     

    Another suggestion, if you have same device and state condition, you can include as much as needed action in the same table.

    For example in your case use:

    {0, "`StueTemp`",{state="value>24",trueAct={{"168", "close"},{"187", "setThermostatSetpoint,1,19"}}}},

    Thanks!!

     

    How would you set several conditions to make things happen?

     

    For instance:

    {0, "`StueTemp`",{state="value>24) and the time between 09-18,trueAct={{"168", "close"},{"187", "setThermostatSetpoint,1,19"}}}},

    Link to comment
    Share on other sites

  • Topic Author
  • 4 hours ago, MartinBeck said:

    Thanks!!

     

    How would you set several conditions to make things happen?

     

    For instance:

    {0, "`StueTemp`",{state="value>24) and the time between 09-18,trueAct={{"168", "close"},{"187", "setThermostatSetpoint,1,19"}}}},

    {0, "`StueTemp`",{state="value>24", timeSlot="09:00~18:00"  ,trueAct={{"168", "close"},{"187", "setThermostatSetpoint,1,19"}}}},

    Edited by cag014
    Link to comment
    Share on other sites

    7 hours ago, SmartLifeSystems said:

    Hi @cag014!

     

    What do you think? This AOQ working on HC3 Lite?

    Doesn't work

     

    Please login or register to see this image.

    /monthly_2021_03/457921781_3-1.PNG.ff2c7dc95fac8b69edc29eca0df2321d.PNG" />1924781106_3.PNG.9fc1719099ea5e1e2853a3e8543744a9.PNG1924781106_3.PNG.9fc1719099ea5e1e2853a3e8543744a9.PNG

    Link to comment
    Share on other sites

    12 hours ago, minsad79 said:

    Doesn't work

     

    Please login or register to see this link.

    Please login or register to see this link.

    Please login or register to see this link.

     

     

    You are use the HC3 Lite Slave or Master?

    Link to comment
    Share on other sites

  • Topic Author
  • 23 hours ago, SmartLifeSystems said:

    Hi @cag014!

     

    What do you think? This AOQ working on HC3 Lite?

    Yes, it does... I made required changes and it does run on my HC3 lite

    I mean version 9.7 and later  I released here.

    AOQ version 9.5 doesn't support HC3 lite.

    Will release updated version at download center soon.

    Edited by cag014
    • Like 1
    Link to comment
    Share on other sites

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