Actions77
- Accessory Actions
- Authentication Actions
- Backup & Restore Actions
- Config Editor Actions
- Platform Tool Actions
- Plugin Actions
- Server Actions
- Restart Server
- Restart Child Bridge
- Stop Child Bridge
- Start Child Bridge
- Get Pairing Info
- Reset Homebridge Accessory
- Reset Cached Accessories
- Get Cached Accessories
- Delete Cached Accessories
- Delete Cached Accessory
- Get Device Pairings
- Get Device Pairing
- Delete Device Pairing
- Get Unused Port
- Get Network Interfaces
- Get Bridge Network Interfaces
- Set Bridge Network Interfaces
- Setup Wizard Actions
- Status Actions
- User Actions
Overview
This node integrates with the Homebridge API, specifically supporting operations related to "Backup & Restore" among other resources. The "Post Backup Restart" operation allows users to trigger a restart of the Homebridge server after performing a backup. This is useful in scenarios where you want to ensure that changes from a backup are applied immediately by restarting the service.
Practical examples include automating the backup process followed by a restart to minimize downtime or manual intervention, ensuring Homebridge runs with the latest configuration or state restored from backup.
Properties
| Name | Meaning |
|---|---|
| Access Token | An access token obtained from a prior login operation or entered manually for authentication. |
Output
The node outputs JSON data representing the response from the Homebridge API after attempting the post-backup restart operation. This typically includes status information about the restart request. There is no indication of binary data output.
Dependencies
- Requires an API key credential (access token) for authenticating requests to the Homebridge API.
- The node expects the base URL of the Homebridge server to be configured in credentials.
- Network connectivity to the Homebridge server is necessary.
Troubleshooting
Common issues:
- Invalid or missing access token will cause authentication failures.
- Incorrect server URL or network issues can prevent communication with the Homebridge API.
- Attempting to restart without proper permissions may result in authorization errors.
Error messages and resolutions:
- 401 Unauthorized: Verify the access token is correct and has not expired.
- Network errors/timeouts: Check server URL and network connectivity.
- API errors indicating invalid operation: Confirm that the resource and operation parameters are correctly set to "Backup & Restore" and "Post Backup Restart".