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, allowing users to perform various operations related to managing a Homebridge server and its components. Specifically, for the "Platform Tool" resource and the "Shutdown Host (Linux)" operation, the node enables shutting down the Linux host machine running Homebridge remotely via the API.
Common scenarios where this node is beneficial include:
- Remotely managing and automating Homebridge server maintenance tasks.
- Safely shutting down the Linux host system from an automation workflow without direct SSH access.
- Integrating Homebridge host control into broader smart home or IT management workflows.
For example, a user might create a workflow that triggers a shutdown of the Homebridge Linux host after performing backup operations or during scheduled maintenance windows.
Properties
| Name | Meaning |
|---|---|
| Access Token | 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 to shut down the Linux host. This typically includes status information about the shutdown request. The output does not include binary data.
Dependencies
- Requires an active connection to the Homebridge API server.
- Needs a valid access token for authentication, which can be obtained from a login operation or provided manually.
- The Homebridge server URL must be configured in the node credentials or environment to direct API requests correctly.
Troubleshooting
- Invalid or missing access token: The node will fail if the access token is incorrect or absent. Ensure the token is valid and properly set.
- API connectivity issues: Network problems or incorrect server URL configurations can prevent communication with the Homebridge API.
- Insufficient permissions: The access token used must have rights to perform platform-level operations like shutting down the host.
- Operation unsupported on non-Linux hosts: Attempting to shut down a non-Linux host may result in errors or no effect.
To resolve these issues:
- Verify the access token and re-authenticate if necessary.
- Check network connectivity and server URL settings.
- Confirm the Homebridge server supports the shutdown operation on the target host OS.