Created At

Dec 01, 2017

Last Update

Dec 20, 2017

Platforms

HC 2

Views

7044

Download

623

FUNCTIONS

  • Virtual Device will check every 5 minutes if HC2 has internet connection and if lack of connection is detected then it will turn off Fibaro WallPlug connected to router for 5 seconds and then turn Fibaro WallPlug on, which indicates in router restart.

INSTALLATION

  • import Internet_connection.vfib to your HC2
  • change ID for WallPlug in line 20 and 22 of code 
  • time of polling can be adjust for your preferences as well 

ADDITIONAL DEVICES

  • Not required

RIGHTS

  • I allow code to be reuse or change. Also labels can be translated and adjust.

4 Comments,  Want to add comment please login
F2865877fbafb9306e7920d7c703f5d4

Today I have an internet failure (fiber), the script detects that I still have a connection which is unfortunately not true. This is an SFR fiber modem with a GPON box which indicates an anomaly with a red light. I no longer have a connection but the script does not reboot the modem with the module plugged into it because the connection is present for the script. Are you sure it works for you? The technical teams are notified of the failure in my area.

757dbc53b2c5b48a6148234ddde0386a

Please, update it for HC3

C8dccdf84ed2389e6dc273ff331943ac

Gracias!!

0921d64093184644cb7c8a7b74ecfa77

Muito bom

Load more comments