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

Scene calling itself for some reason


Question

Posted (edited)

Hi Guys!

For some reason once the scene gets on line 20 the following command triggers a new instance of itself:  fibaro:setGlobal("kljucavnica1", "vhod")

It will loop back and I get "OMGNO!" in the debug field again, but then dies because of the IF condition.

 

 

Please login or register to see this code.

 

Edited by Weider

2 answers to this question

Recommended Posts

  • 0
Posted

The header of this scene suggests that you have *no triggers* in this scene. Good. This leads me to think, only one of these is happening:

- You *did have triggers* in this scene but you removed them (and it should have been a trigger on global "kljucavnica1" BTW). For some reason, this got stuck... I have seen such behaviour with global variables. Try reboot. If that does not help, copy your code on your PC. Delete the scene and paste your code in a new one...

- your kljucavnica1 global triggers another scene, and that scene calls a "start scene" on this one. Or pushes a VD button and the VD starts the scene.

 

No other ideas at the moment.

  • 0
  • Inquirer
  • Posted (edited)

    HA! 

     

    That was it. Did both, reboot and new scene.

    I had it before for testing purposes yes. But I now call it through http request.

     

     

    Thanks! :)

    Edited by Weider

    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.

    ×
    ×
    • Create New...