Created At

Dec 01, 2017

Last Update

Dec 15, 2017

Platforms

HC 2, HC Lite

Views

666

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.

10 Comments,  Want to add comment - please logon
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

45eb7dcf59829fdc4d6fbafe3f6229ce

I have received the correct string for reboot HCL from fibaro support today. And it did work. Rememder to change the admin password converted to basic64 here it is: "GET /api/service/reboot HTTP/1.1 Host: 192.168.103.32 Authorization: Basic YWRtaW46YWRtaW4= 0x0D0x0A0x0D0x0A"

45eb7dcf59829fdc4d6fbafe3f6229ce

Hi, The backup button works fine but the reboot button does not work in my HCL. The installation is done by the guide. Any clue?

3e50a7d776d94557f54bb72d49c91f1b

@TECHNO VISION IA You have in Virtual Device a code something like this : Authorization: Basic 'login:password covered to basic64' so you have to change the text after the Basic to yourloginname:yourpassword - in basic64 format and you can do this in some online converter to basic64, where you change the simple text (yourloginname:yourpassword ) to basic64 format and put the converted text after the "Basic" word.