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
    1 minute ago, SmartLifeSystems said:

     

     

    Is it rue the sendPush and sendiPush too.

    Here is an example. My phone got the notoifications 2 times. If i don't set the ID413, got the notifications the 2 phones normally.

    {0, "$DayArmed",{state="value=armed",trueAct={"Satel Integra:","sendPush,3370,413","A riasztó nappali élesítése aktív."}}},

    May I ask you to check in account settings in HC3 what phones listed under your name (and yours wife).

    In addition what do you see on debug window (how many phones listed)?

    Posted
    18 minutes ago, gggizmo said:

    what do you consider unpleasant delay?

     

    That is a delay which could be longer then with devices included in HC3, but not noticeable.

    Posted (edited)
    10 minutes ago, cag014 said:

    May I ask you to check in account settings in HC3 what phones listed under your name (and yours wife).

    In addition what do you see on debug window (how many phones listed)?

     

    The AOQ send the massages normally, what I see the debug window. The Account setting correctly too. I don't understand what is the problem.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by SmartLifeSystems
  • Topic Author
  • Posted

    So, only one phone listed for each account?

    Posted
    2 minutes ago, Rover said:

    That is a delay which could be longer then with devices included in HC3, but not noticeable.

    just to be clear i have to fight with my wife for just 1 sec delay in turnig lights on....

     

    Posted (edited)
    3 minutes ago, cag014 said:

    So, only one phone listed for each account?

     

    Yes, because I set the 2 phones, my phone got double messages.

    pushNote    = {false,"3370"}  -- if true, alerts interactive push notification will send
    Edited by SmartLifeSystems
  • Topic Author
  • Posted
    1 minute ago, gggizmo said:

    just to be clear i have to fight with my wife for just 1 sec delay in turnig lights on....

     

    How fast she reacts on your requests? within one second also? Joking.....?

    By the to turn switch manually takes longer than one second...

    Just now, SmartLifeSystems said:

     

    Yes, because I set the 2 phones, my phone got double messages.

    So you have two phones under your account in HC3?

    By the way, only you receive double message? Your wife receives one message?

    Posted (edited)
    4 minutes ago, cag014 said:

    How fast she reacts on your requests? within one second also? Joking.....?

    By the to turn switch manually takes longer than one second...

    So you have two phones under your account in HC3?

    By the way, only you receive double message? Your wife receives one message?

     

    One under my account, and one under my wife's account.

     

    Here is the debug window, and my phone's screenshot.

     

    [2020-09-30] [18:43:53] [TRACE] [AOQ3694]: 3.0jM{122} TGarage:421:Garage door sensor[true] => sendPush,3370,413(Attila iPhone-ja,Noémi iPhone-ja,) 'Garázsajtó:','A garázsajtó nyitva.')

    Please login or register to see this attachment.

     

    Edited by SmartLifeSystems
    Posted (edited)
    12 minutes ago, cag014 said:

    How fast she reacts on your requests? within one second also? Joking.....?

    By the to turn switch manually takes longer than one second...

    I'm clearly a nerd. My house is not big and when we walk from bedroom to bathroom during night 1 sec makes difference. But it's my fault...i don't really need home automation, but i like it and now if something goes wrong i have to pay the fee of my wrong choice.

    In the past with alexa not available in italy, i bought uk version. So to turn on and turn off light we have to speak in english...

     

    And she reacts very fast...and i did not mention how fast react my sons...

     

    Edited by gggizmo
  • Topic Author
  • Posted (edited)
    2 minutes ago, gggizmo said:

    I'm clearly a nerd. My house is not big and when we walk from bedroom to bathroom during night 1 sec makes difference. But it's my fault...i don't really need home automation, but i like it and now if something goes wrong i have to pay the fee of my wrong choice.

    In the past with alexa not available in italy, i bought uk version. So to turn on and turn off light we have to speak in english...

     

    Add sensor to bathroom door... or try  Google Home instead alexa.

    @Smartsystem

    It might be a problem with your iPhone... there are some issues with double notification, see

    Please login or register to see this link.

    Please login or register to see this link.

     

    Edited by cag014
    Posted
    1 minute ago, cag014 said:

    Add sensor to bathroom door... or try  Google Home instead alexa.

    Already there...and i have google home too.

    Those light are triggered by motion sensors, and there's non delay with block scene. Less delay if i use old fashion, classic manual switch

    Posted
    18 hours ago, cag014 said:

    Strange indeed... how Lua compares strings..

    Attached version in txt format.

    download the text file and copy-paste into mainCode of AOQ.

    Let me know if it works...

     

    Please login or register to see this attachment.

    Yes, know it seems to work. Only "Power On" on all lights now ?

  • Topic Author
  • Posted
    6 minutes ago, storskogen said:

    Yes, know it seems to work. Only "Power On" on all lights now ?

    What do you mean all lights?

    Posted
    39 minutes ago, gggizmo said:

    just to be clear i have to fight with my wife for just 1 sec delay in turnig lights on....

     

    Life is one of the heaviest things ?

    Posted
    15 minutes ago, cag014 said:

    What do you mean all lights?

    The lights I want to control turn on now. Not as before when they turned on and off instant twice before staying on.

    Problem solved ?

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

    Life is one of the heaviest things ?

    Indeed, see COVID-19 issue

  • Topic Author
  • Posted (edited)

    @Rover

    I gave another thought on rptAction and came to conclusion that it is not acceptable approach to make timing calculations between delays of command and rptAction,

    so the attached version makes it simple. The rptAction delay will be between the repetitions regardless how long takes to execute commands.

    To make it clear ( I intentionally use 10 seconds delay below)

    trueAct={{"400","turnOn",},{"400","turnOff","10"}}    and     .."rptAction,3,2"...

    Now when trueAct executed, AOQ waits till it is done then waits for 2 seconds and executes another repetition... and so on

    trueAct(10s) --> 2s --> trueAct(10s) --> 2s --> trueAct(10s) -> done

     

     After upgrade just change in your jM to "rptAction,3,1" for flashlight

     

    Please login or register to see this attachment.

    Edited by cag014
    Posted (edited)
    10 hours ago, cag014 said:

    @Rover

    I gave another thought on rptAction and came to conclusion that it is not acceptable approach to make timing calculations between delays of command and rptAction,

    so the attached version makes it simple. The rptAction delay will be between the repetitions regardless how long takes to execute commands.

    To make it clear ( I intentionally use 10 seconds delay below)

    trueAct={{"400","turnOn",},{"400","turnOff","10"}}    and     .."rptAction,3,2"...

    Now when trueAct executed, AOQ waits till it is done then waits for 2 seconds and executes another repetition... and so on

    trueAct(10s) --> 2s --> trueAct(10s) --> 2s --> trueAct(10s) -> done

     

     After upgrade just change in your jM to "rptAction,3,1" for flashlight

     

    Please login or register to see this attachment.

    Yes, this is a better concept.

    But the timing is not so stable. Look at

    Please login or register to see this spoiler.

    networkerror ???

    Edited by Rover
    Posted
    15 minutes ago, Rover said:
    10 hours ago, cag014 said:

     

    I gave another thought on rptAction and came to conclusion that it is not acceptable approach to make timing calculations between delays of command and rptAction,

    so the attached version makes it simple. The rptAction delay will be between the repetitions regardless how long takes to execute commands.

    To make it clear ( I intentionally use 10 seconds delay below)

    trueAct={{"400","turnOn",},{"400","turnOff","10"}}    and     .."rptAction,3,2"...

    Now when trueAct executed, AOQ waits till it is done then waits for 2 seconds and executes another repetition... and so on

    trueAct(10s) --> 2s --> trueAct(10s) --> 2s --> trueAct(10s) -> done

     

     After upgrade just change in your jM to "rptAction,3,1" for flashlight

     

    Please login or register to see this attachment.

    Yes, this is a better concept.

    But the timing is not so stable. Look at

    Please login or register to see this spoiler.

     

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

    Now timing with a Fibaro Dimmer2:

    Please login or register to see this spoiler.

    Yes, the one second delay is too fast for HC3 and devices.

    Have tested with my Aeon Lab siren directly with Lua and block scene. It's not a stable action, but 2 seconds works better.

     

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