Applies to: HealthPro Bridge
Summary
The Command Line Interface (CLI) exists in addition to the browser-based Graphical User Interface (GUI) that replaced the client before HealthPro Bridge v1.8. The browser-based method can be used together with port forwarding for remote access, using https://<bridge_ip_address>:3002.
This article describes the CLI to set up and manage the Linux-based HealthPro Bridge.
Using Linux HealthPro Bridge CLI
bridge_client [command] [options]
bridge_client [-h] {create, deviceaccount, device, scan, update, orginfo, cloud, data, status}
Commands
| Command | Subcommand | Parameter | Description |
| create | name <server-name> | Create a server with the specified name. | |
| orginfo | orgid <org-id> | Specify the organization ID. | |
| orgname <org-name> | Specify the organization name. | ||
| cloud | connect | Connect to the cloud. | |
| cancel | Cancel the cloud connection. | ||
| device-account | id <device-id> | Manage device accounts with the specified ID. | |
| device | list | Show the list of devices. | |
| add | Add a device with the specified parameters. | ||
| add | ip <address> | Specify the IP address of the device. | |
| port <port> | Specify the port of the device. | ||
| https | Use HTTPS for the connection. | ||
| axis | Specify the device as an Axis device. | ||
| ipro | Specify the device as an i-PRO device. | ||
| switch | Specify the device as a switch. | ||
| nvr | Specify the device as a NVR. | ||
| wave | Specify the device as a Wave device. | ||
| onvif | Specify the device as a Onvif device. | ||
| scan | auto | Perform an automatic scan. | |
| auto | add | Automatically add scanned devices. | |
| manual | Perform a manual scan with the specified range. | ||
| manual | from <address> | Specify the starting IP address. | |
| to <address> | Specify the ending IP address. | ||
| port <port> | Specify the port to scan. | ||
| https | Use HTTPS for the scan. | ||
| add | Automatically add scanned devices. | ||
| axis | Specify Axis devices. | ||
| ipro | Specify i-PRO devices. | ||
| switch | Specify Switch devices. | ||
| nvr | Specify NVR devices. | ||
| wave | Specify Wave devices. | ||
| onvif | Specify Onvif devices. | ||
| update | target-ip <address> | Specify the target device IP. | |
| new-ip <address> | Specify the new IP address. | ||
| new-port <port> | Specify the new port. | ||
| new-password | Change the target device password. | ||
| https | Use HTTPS for the update. | ||
| delete | ip <address> | Delete a registered device by its IP address. | |
| credential | ip <address> | Show decrypted credentials for a specific device. (If --ip is omitted, shows all devices.) | |
| data | backup | System data backup. | |
| backup | data-path | System data(.dat) full path. | |
| restore | System data restore. | ||
| restore | data-path | System data(.dat) full path. | |
| log | Collect log files and create a zip archive. | ||
| status | System version. | ||
| version | Show the current status. | ||
| example | Print example. | ||
| server-pwd | Set server password. | ||
| device-pwd | Set device password. | ||
| data-pwd | Set system data baskup/restore password. |
Examples
bridge_client create -name hpb40197
bridge_client device -list
bridge_client device -add -ip 192.168.254.66
bridge_client scan -auto -add
bridge_client scan -manual -add -from 192.168.1.0 -to 192.168.1.20 -port 80
bridge_client scan -manual -add -from 192.168.1.60 -to 192.168.1.60 -wave
bridge_client update -target-ip 192.168.254.1 -new-ip 192.168.254.2
bridge_client orginfo -orgid 1837ace83959637548 -orgname NEBULA
bridge_client cloud -connect
bridge_client status
NOTE: Hanwha cameras are set as the default device type. When using
--device --add or --scan --manual --add, you do not need to specify
a device type flag (e.g., --axis, --ipro). Device type flags are only
required for third-party devices such as Axis, i-PRO, ONVIF, and WAVE.