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

NLWaard
 Share

Question

If I restore a dead device connected to the HC3 through the mobile app.

Then the device recovers immediately after the push of the button.

But if I do the restore by code (in a HC3 QuickApp) then the device does not restore.


I use (wakeUpDeadDevice(deviceID)) for this.

Please login or register to see this code.

 

Is there any other code similar to the code the mobile app uses?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Can no one help me?

     

    it seems that wakeUpDeadDevice(deviceID) not working at all. 

     

    Is there no ather code to wakeUp the dead devices?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Still no help?

     

    I have a switch wire for three lamps.

    Two are in kitchen cabinets and one above the sink.
    I want to switch the kitchen cabinet separately (I now have a relay-swich in each cabinet).
    and by switching on the sink-lighting, the power of these relay switches (in the kitchen cabinets) will switch off.

    So the HC3 will report them as dead.

     

    As soon as the kitchen sink-lighting is switched to on,

    I can't wake up the kitchen cabinet lighting with the command (fibaro.wakeUpDeadDevice(parentID)),
    but as soon as I press the refresh button in the mobile-app, they are instantly awakened.

     

    So there is a working command. please help.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • The previous command did not work at all. I don't know why!
    What did work is fibaro.call(deviceID, 'wakeUpDeadDevice')

    Is also more in line of turnOn, tunOff ect.

     

    So the above code will be:

    Please login or register to see this code.

     

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