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


  • 0

How starting or stopping a scene from a QuickApp?


Mateo
 Share

Question

Hi,

Would like to have a quickapp that would enable me to start or stop a scene with a button.

I tried fibaro.scene("execute", {id}) or fibaro.scene("kill", {id})

But it doesn't work and don't stop and restart the scene.

 

The scene i want to trigger or stop is a move detection in a room to start ligne.

I would sometime like this automation not being activated and stop from a QA that is controling all room parameter.

 

thanks for the support :)

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
1 hour ago, Mateo said:

Hi,

I tried fibaro.scene("execute", {id}) or fibaro.scene("kill", {id})

[..]

The scene i want to trigger or stop is a move detection in a room to start ligne.

 

wrong behavior. at all.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thanks but not sure to understand. Think it’s a bug? Wrong behaviour? Should work?

    Link to comment
    Share on other sites

    • 0
    3 hours ago, Mateo said:

    Hi,

    Would like to have a quickapp that would enable me to start or stop a scene with a button.

    I tried fibaro.scene("execute", {id}) or fibaro.scene("kill", {id})

    But it doesn't work and don't stop and restart the scene.

     

    The scene i want to trigger or stop is a move detection in a room to start ligne.

    I would sometime like this automation not being activated and stop from a QA that is controling all room parameter.

     

    thanks for the support :)

     

     

    You can enable/disable the scene.

    Please login or register to see this code.

     

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

    • 0
  • Inquirer
  • thanks @jgab, will immediatly try ! hours that i'm looking for the answers :)

    Link to comment
    Share on other sites

    • 0
    2 minutes ago, Mateo said:

    thanks @jgab, will immediatly try ! hours that i'm looking for the answers :)

    It's the same as the activation slider (blue) in the webgui for scenes.

     

    The HC3 is a bit of DIY now in the beginning but most stuff can be done...

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @jgab unfortunately it doesn't work.

     

    I captured in my QA:

    Please login or register to see this code.

     

    and then in my button:

    Please login or register to see this code.

     

    I was expecting to see the activation button of the scene going on off instead of on but nothing happen.

    What am i doing wrong? am i expected the wrong thing?

     

     

     

    Edited by Mateo
    Link to comment
    Share on other sites

    • 0
    5 minutes ago, Mateo said:

    @jgab unfortunately it doesn't work.

     

    I captured in my QA:

    Please login or register to see this code.

     

    and then in my button:

    Please login or register to see this code.

     

    I was expecting to see the activation button of the scene going on off instead of on but nothing happen.

    What am i doing wrong? am i expected the wrong thing?

     

     

     

     

    Sorry, a trailing slash fell off

    Please login or register to see this code.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @jgab :) found it at the same time and thought it was not working but actually it is !

    the status of the scene doesn't update and a page refresh is required but it's perfectly working,

    thank you  so much :)

     

    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
    Answer this question...

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

     Share

    ×
    ×
    • Create New...