Created At

Dec 01, 2017

Last Update

Dec 15, 2017

Platforms

HC 2, HC Lite

Views

4952

Download

249

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.

15 Comments,  Want to add comment please login
Bf5de6de4bb47ec611718afcfb795390

For some reason both, the backup and the reboot doesn't work for me. I'm not sure what I'm doing wrong. Username:Password (Name.Surename@domain.com:Password) was converted to Base64. Here my string: Backup: POST /api/service/backups HTTP/1.1 Host: 192.168.0.3 Connection: keep-alive Content-Length: 50 Authorization: Basic XXXXXXXXXXXX {"action":"create","params":{"name":"AutoUpdate"}} Reboot: GET /api/service/reboot HTTP/1.1 Host: 127.0.0.1 Authorization: Basic XXXXXXXXXXXX

1d2b1d291ce89ac012ebd65f0f0d7eaa

HCL FW 4.170 The VD for Backup works fine. Although following the instructions the reboot doesn‘t work. I can‘t find the mistake. Maybe someone can help me?

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?