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

HC3 check the internet connection and if connection is down then turn off wall plug and turn it on again


Question

Posted (edited)

Hi,

 

I managed to do this with HC2 (

Please login or register to see this link.

) and added a block scene which turns OFF Fibaro wall plug and turns it again ON. 

 

I have connected Fibaro wall plug to internet modem which sometimes gets faulty etc.

 

So when Home Center realises that it has lost internet connection the modem gets re-booted. Of course there has to be for example 10 minutes waiting for modem to reboot and be up and running again before HC3 making again the internet checking test.

 

How to do this same with Home Center 3 ? There is no more Virtual Devices...

 

Any help is really appreciated :)

 

 

Edited by janton
added more text

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Check out this one from @Sankotronic:     :D 
 

 

Or this one from @tinman: :D 

 

 

 

 

 

Edited by Brors94
  • Like 1
  • 0
  • Inquirer
  • Posted (edited)

    Hi,

     

    thank you very much @Brors94 :)

     

     @tinman solution works great.

     

    Should or need  I change the variables to my own ones?  It seems to work with pre-setted variables also (check connect). The QA replies that the internet connection is "True" with pre-setted variables also. 

     

    All I need just to check if the internet connection is OK. No HC3 boot needed or other stuff. I made two block scenes that first one press the "check connect"button and if variable is "True" nothing happens and should not happen. Second block scene checks every certain timeperiod that if the variable is "False" then the scene will turn the wall plug power Off and On again.

     

    I use DHCP network type in HC3 and my IP address is different then the pre-setted in the QA (below are pre-setted variable values). Also of course my hc3user and hc3pwd are different then the pre-setted values. Are those IP-address and hc3user / hc3pwd only needed if using the QA to other buttons then "check connect" ?

     

    I mean these:

     

    VARIABLE
    TYPE
    VALUE
    hc3ip
    String variable
    192.168.199.77
    hc3user
    String variable
    admin
    hc3pwd
    String variable
    admin

     

     

    Edited by janton
    • 0
    Posted
    2 hours ago, janton said:

     

    I mean these:

     

     

    yes, it must be the IP of your HC3, and your admin user and password. 

     

    • Like 1

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