Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

Platform Tool → Restart Docker Container

AI-generated

Overview

This node interacts with the Homebridge API to perform platform-specific operations, specifically to restart a Docker container associated with the Homebridge platform. It is useful for managing the Homebridge environment, such as restarting the Docker container to apply updates or recover from errors.

Use Case Examples

  1. Restarting the Homebridge Docker container after a configuration change to apply the new settings.
  2. Automating the restart of the Homebridge Docker container as part of a maintenance workflow.

Properties

Name Meaning
Access Token Access token from Login operation. If not connected to Login node, enter manually.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • status - The status of the Docker container restart operation, indicating success or failure.
  • message - Additional information or confirmation message about the restart operation.

Dependencies

  • Homebridge API access with an API key credential (access token)

Troubleshooting

  • Ensure the access token is valid and has the necessary permissions to restart the Docker container.
  • Check network connectivity to the Homebridge server and Docker environment.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Verify proxy settings if a proxy is used to connect to the Homebridge server.
  • Timeout errors may require increasing the timeout setting in the request options.

Discussion