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

My virtual device stops executing


Question

Posted

I have created a virtual device for controlling lights (with timeout etc), which seems to work fine, except that it stops executing.

 

Here is the code in the main loop:

Please login or register to see this code.

 

In addition to the slider values, I have a button with the following code:

Please login or register to see this code.

Here is the debug output, as you can see, it suddenly stops:

Please login or register to see this code.

9 answers to this question

Recommended Posts

  • 0
Posted

I have the same problems that all Virtual device are stopping after a while since the latest update

Please login or register to see this image.

/emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

  • 0
Posted

Can you please try to only send a command to a device, when the state changes? This code will send a command every 3 seconds because it's in the main loop.

 

Please login or register to see this code.

You do that 3 times... I can't say that it's your problem, I'm lousy with VDs, but it's best practice for both VDs and scenes.
  • 0
  • Inquirer
  • Posted

    Thank you for the suggestion, I will consider that. However, this is a bug verified on the bug tracker, and the behavior is the same when making a VD with only a debug print in the main loop.

    • 0
    Posted

    Thank you for the suggestion, I will consider that. However, this is a bug verified on the bug tracker, and the behavior is the same when making a VD with only a debug print in the main loop.

    Thanks for reporting back! We'll have to wait for the next release then...

    • 0
    Posted

    I'm having the same problem

    Please login or register to see this image.

    /emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    All my VD are stopping after a while.

    Since I have automate my HUE and Honeywell EvoHome by Fibaro it's a serious problem.

    Downgrading is not possible.

     

    I hope that Team Fibaro is releasing very fast an update to solve the problem.

    • 0
    Posted

    Quote from the 4.081 topic:

    I asked the Support when next Beta would be released and got the reply that it was planned for early May, perhaps around the 9th.

    • 0
    Posted

    Thanks for the feedback.

     

    It look's like that you need two Fibaro systems ;( one for testing and one which is left untouched.

    • 0
    Posted

    Yes. Or do a recovery (not a restore), but if you have never done that I would just wait.

    • 0
    Posted

    Thanks for the feedback.

     

    It look's like that you need two Fibaro systems ;( one for testing and one which is left untouched.

    no you could have more than 10 boxes and you will never sure that your blinds will close automatically the night .. even if there is exactly the same devices and VD and scripts
    but like in the swipe video you can prey

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

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