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

  • Topic Author
  • OK.. I think all bus are fixed.... okAct{}, rptAction, Bad file descriptor  and initonStartup

    Attached version has additional cosmetic improvements:

    In time slot you'll see now true/false superscript instead of tilde ~ (on time based actions)

    Please login or register to see this spoiler.

    Accordingly you can define true/false instead of tilde (at any combination)

    timeslot="true 05:00, false 07:00"

    timeslot="05:00 true, 07:00 false"

    Please login or register to see this attachment.

    Edited by cag014
    Link to comment
    Share on other sites

    Hi @cag014,

    In a HC3 scene this SonosPlayer QA (from Tinman) can be called as

    Please login or register to see this spoiler.

    How to call it in AOQ?

    Link to comment
    Share on other sites

  • Topic Author
  • 1 minute ago, Rover said:

    Hi @cag014,

    In a HC3 scene this SonosPlayer QA (from Tinman) can be called as

    Please login or register to see this spoiler.

    exactly the same

    {"115", "playFromCIFS","Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

    in case playFromCIFS not recognized use +

    {"115", "+playFromCIFS","Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

    Link to comment
    Share on other sites

  • Topic Author
  • @Rover

    Please pay attention to correct timing when you use rptAction

    you have delay of 1 second between turnOn and turnOff, so I think using one second delay in rptAction is wrong. It will immediately turnOn after turnOff.

    To create delay of 1 second between turnOff to turnOn set rptAction,3,2 (at least)

    Link to comment
    Share on other sites

    2 minutes ago, cag014 said:

    @Rover

    Please pay attention to correct timing when you use rptAction

    you have delay of 1 second between turnOn and turnOff, so I think using one second delay in rptAction is wrong. It will immediately turnOn after turnOff.

    To create delay of 1 second between turnOff to turnOn set rptAction,3,2 (at least)

    OK, so "delay between in seconds" is total time of actions to repeat. This can be made clear in the new guide.?

    Link to comment
    Share on other sites

  • Topic Author
  • Just now, Rover said:

    OK, so "delay between in seconds" is total time of actions to repeat. This can be made clear in the new guide.?

    Yes, this is the delay between repetitions...

    Link to comment
    Share on other sites

    14 minutes ago, cag014 said:

    exactly the same

    {"115", "playFromCIFS","Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

    in case playFromCIFS not recognized use +

    {"115", "+playFromCIFS","Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

    Please login or register to see this spoiler.

     

    Link to comment
    Share on other sites

  • Topic Author
  • 3 minutes ago, Rover said:

    Please login or register to see this spoiler.

    Ooops, my bad

    {"115", "playFromCIFS,Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

     

    Link to comment
    Share on other sites

  • Topic Author
  • Just now, Rover said:

    Please login or register to see this spoiler.

    what you see on debug window ?

    Link to comment
    Share on other sites

    1 minute ago, cag014 said:

    what you see on debug window ?

    What I showed to you...

    Please login or register to see this spoiler.

     

    Link to comment
    Share on other sites

  • Topic Author
  • I mean how looks the command sent by AOQ on debug window

    Link to comment
    Share on other sites

  • Topic Author
  • On second thought it should fail on checker ...

    Link to comment
    Share on other sites

    5 minutes ago, cag014 said:

    I mean how looks the command sent by AOQ on debug window

    Which command? I have commented all lines related to "Deurbel" out.

    Link to comment
    Share on other sites

  • Topic Author
  • I mean the sonos player

    {"115", "playFromCIFS,Mediacenter/d/SonosGeluiden/Deurbel.mp3"}

    It should fail on checker

    Link to comment
    Share on other sites

    Please login or register to see this spoiler.

    All this commented out.

    Link to comment
    Share on other sites

  • Topic Author
  • 3 minutes ago, Rover said:

    Please login or register to see this spoiler.

    As I thought... will fix it..

    Link to comment
    Share on other sites

    Please login or register to see this spoiler.

    This is a new issue in this code with the last AOQ version. It worked alright in the last weeks.

    Link to comment
    Share on other sites

    Hi cag! I have got a problem, what i don't understand. We have got 2 iPhone, and the Push notes my phone got double. My  wife's phone no.

    The 3370 is my phone, the 413 is my wife's phone.

     

    My settings is here:

    pushNote    = {true,"3370,413"}  -- if true, alerts interactive push notification will send

     

    If i use the next settings, working correctly, and on the 2 phones arrive the messages normaly. But I can't set that only one phone got the message. What did i do wrong? This problem i experinced on the HC2 AOS too.

     

    pushNote    = {false,"3370"}  -- if true, alerts interactive push notification will send

     

     

     

    Please login or register to see this attachment.

    Edited by SmartLifeSystems
    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...