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 Homebridge, a platform for integrating smart home devices. Specifically, the "Platform Tool" resource with the "Update Docker Startup Script" operation enables users to modify the startup script used by Homebridge when running inside a Docker container. This can be useful for customizing how Homebridge launches in containerized environments, such as adding environment variables, changing startup parameters, or adjusting the command line.
Practical examples include:
- Automating updates to the Docker startup script after configuration changes.
- Customizing the launch behavior of Homebridge in CI/CD pipelines.
- Managing multiple Homebridge instances with different startup configurations.
Properties
| Name | Meaning |
|---|---|
| Access Token | Access token obtained from a prior login operation or entered manually; used for authentication with the Homebridge API. |
Output
The node outputs JSON data representing the result of the update operation on the Docker startup script. This typically includes confirmation of success, any updated script content, or error messages if the update failed. The output does not include binary data.
Dependencies
- Requires an active connection to the Homebridge API.
- Needs an access token for authentication, which can be provided either via a connected Login node or manually entered.
- The node expects the Homebridge server URL to be configured in credentials or environment settings.
Troubleshooting
- Invalid or missing access token: Ensure that the access token is valid and has not expired. If using manual entry, verify correctness.
- API connectivity issues: Confirm that the Homebridge server URL is reachable and correct.
- Permission errors: The access token must have sufficient permissions to update the Docker startup script.
- Malformed input: Verify that all required properties are correctly set before execution.
Links and References
- Homebridge Official Website
- Homebridge API Documentation (if available)
- Docker documentation for managing container startup scripts: https://docs.docker.com/engine/reference/run/