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

Posted

Hi All

 

I can't explain why my turnon command is never or sometimes run. The fibaro:debug is always displayed meaning the scene is running but my wallplug (ID 636) is sometime run, sometimes not.

 

I can control my wallplug from mobile app meaning there is no range issue

 

Please login or register to see this code.

Thanks

Posted

I think it just missed the trigger time.. z-wave traffic could cause this. I would set time interval of 3 minutes for example, check if the device if on already , if not then turn it on.

 

Or make the loop shorter then 60 seconds.

 

You are checking now on 60 seconds loop to turn on in the same 60 seconds - minute 30.  It can miss at times.

  • Topic Author
  • Posted

    Thanks for your reply and suggestions..

     

    I don't think it could be a miss of the trigger time because I always have the message from the fibaro:debug so the scene is always triggered..

     

    Maybe z-wave traffic whereas at this time, I don't have many sensors in action

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

     

    I think I will add a loop until I succeed to turn on the wall plug..

     

    I thought z-wave managed acknowledge receipt of a command, meaning if I send a command and the command is not send because of traffic for example, the command was sent again. I thought it was not on the user side to do that but it was a feature of z-wave !!!

  • Topic Author
  • Posted

    I wonder why it doesn't work suddenly whereas it was working since more than 1 year... the HC is at the same place, same for wall plug...

     

    It is this instability I don't understand !!!

    Posted

    Having the debug doesnt mean the command it was actually sent and received. Try lowering the loop to 30 sec and see what happens

    Please login or register to see this image.

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

  • Topic Author
  • Posted

    Because I have a scene to turnOn the wall plug and the same to turn it off, I lowered the first one to 30s and for the other one, I modified the loop condition to restart the turnOff until it works.

     

    I will inform you tomorrow

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

  • Topic Author
  • Posted

    As if by chance, it works this night in the 2 cases without any need to restart the call...

     

    I added in the 2 cases a fibaro:sleep(5000) after the call, maybe it can have an impact !!!

     

    Case 1: variable to check if I need to restart or not

    Please login or register to see this code.

    case 2: lower loop (it works 2 times)

    Please login or register to see this code.

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