Created At

Dec 01, 2017

Last Update

Dec 15, 2017

Platforms

HC 2, HC Lite

Views

4287

Download

192

FUNCTIONS

  • Virtual Device can be used to reboot or create backup. I am using it for create backup once every week based on block scenes.

INSTALLATION

  • import Maintenance.vfib to your HC
  • in Advanced Tab menu of Virtual Device change IP address to your local IP number of HC and TCP Port to 80.
  • in Create Backup button in Host parameter type in your local IP of HC so it should look like that:
    Host: 192.168.1.1.
  • in Create Backup button in Authorization parameter type in your authorization data (login:password) converted to basic64. It should look like that:
    Authorization: Basic YWRtaW46YWRtaW4=
  • in Reboot HC button in Authorization parameter type in your authorization data (login:password) converted to basic64. It should look like that:
    Authorization: Basic YWRtaW46YWRtaW4=

ADDITIONAL DEVICES

  • Not required

RIGHTS

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

13 Comments,  Want to add comment please login
E86005f56acabf73992327e0621fe2ff

Do not work with the new version 4.503 Beta.

E86005f56acabf73992327e0621fe2ff

Very good script. It worked the first time without any changes or trouble. Be careful to encode as follows login: password

86c482c3b3c7fc631cbccf1429ca8fde

Can you reboot a slave HCL from a Master HC2?

3e50a7d776d94557f54bb72d49c91f1b

@fibaro user unnamed Thanks! The reboot works fine under HCL too.

AB6b016905c6efe7a7e30d1ccd0ef2997

OK, let me test it on HC. If it will work correctly I will certainly update VD :D