Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

Plugin → Get Config Schema

AI-generated

Overview

This node interacts with the Homebridge API to retrieve the configuration schema of a specified plugin. It is useful for users who want to programmatically access the configuration details of Homebridge plugins, for example, to automate plugin setup or validation processes.

Use Case Examples

  1. A user wants to fetch the configuration schema of a Homebridge plugin named 'example-plugin' to dynamically generate a configuration UI.
  2. An automation workflow retrieves plugin config schemas to validate user inputs before applying settings.

Properties

Name Meaning
Access Token Access token from Login operation. If not connected to Login node, enter manually.
Plugin Name The name of the plugin whose configuration schema is to be retrieved.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout settings.

Output

JSON

  • configSchema - The configuration schema of the specified plugin returned from the Homebridge API.

Dependencies

  • Homebridge API access with an API key or access token

Troubleshooting

  • Ensure the access token is valid and has not expired; otherwise, authentication errors may occur.
  • Verify the plugin name is correct and exists in the Homebridge environment to avoid 'plugin not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL certificate validation fails and the 'Ignore SSL Issues' option is not enabled, the request will be rejected.

Links

Discussion