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

Wake up dead nodes (multi device) + battery


kariem112

Question

I am looking for a way do wake up dead nodes. I have created a VD with 2 buttons. Each with this command:

 

fibaro:wakeUpDeadDevice(154);

 

 

Now, the problem is that one of the devices is a battery powered multidevice. Do I need to use the master device ID?

And second, is the command correct to wake up and connect the fibaro with the dead device?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I am looking for a way do wake up dead nodes. I have created a VD with 2 buttons. Each with this command:

 

fibaro:wakeUpDeadDevice(154);

 

 

Now, the problem is that one of the devices is a battery powered multidevice. Do I need to use the master device ID?

And second, is the command correct to wake up and connect the fibaro with the dead device?

I have found that this command doesn't work as expected, instead I'm using  fibaro:call(1, 'wakeUpAllDevices') function, which wakes up all dead devices at once.

In addition when using this function you don't need to worry about master or slave device.

If you have frequently dead devices, may I suggest to check automatically for dead devices every X minutes and if there are dead devices execute the function. (In my case the system sends an e-mail with the list of dead devices). I believe this is better solution rather then checking manually and pushing buttons....

If you have door sensors or other devices which are part of you alarm setup, it's necessary to wake up those devices automatically, otherwise your alarm won't work properly (especially during the night or in case of absence -  when it most needed)  

Link to comment
Share on other sites

  • 0
  • Inquirer
  • I have found that this command doesn't work as expected, instead I'm using  fibaro:call(1, 'wakeUpAllDevices') function, which wakes up all dead devices at once.

    In addition when using this function you don't need to worry about master or slave device.

    If you have frequently dead devices, may I suggest to check automatically for dead devices every X minutes and if there are dead devices execute the function. (In my case the system sends an e-mail with the list of dead devices). I believe this is better solution rather then checking manually and pushing buttons....

    If you have door sensors or other devices which are part of you alarm setup, it's necessary to wake up those devices automatically, otherwise your alarm won't work properly (especially during the night or in case of absence -  when it most needed)  

    Thank you, I will try it with the new command. I have a scene that checks every hour.... does the wakeupall command slows down the z-wave network ? 

    Link to comment
    Share on other sites

    • 0

    No, it does not slow down the network.

    BY the way I did it at Virtual device.... I have found that this way it more reliable. (sometimes there is an issue with scene triggering)

    Link to comment
    Share on other sites

    • 0

    No, it does not slow down the network.

    BY the way I did it at Virtual device.... I have found that this way it more reliable. (sometimes there is an issue with scene triggering)

    Hi cag,

     

    Do you mind to share the code you use in virtual device? So it's working in HCL as well?

     

    Thanks!

    Link to comment
    Share on other sites

    • 0

    Sorry about the delay... here is the code.

    You cannot write LUA code at HCL, so it doesn't work with HCL.

    Please login or register to see this code.

    Link to comment
    Share on other sites

    • 0
    if you launch this scene I give me the error:

     

    [DEBUG] 07:53:50: [1;31m2015-11-14 07:53:50.929457 [ fatal] Runtime error: /usr/share/lua/5.2/json/decode.lua:74: bad argument #1 to 'match' (string expected, got nil)[0m

    What's wrong?

    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.

    ×
    ×
    • Create New...