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 interacts with the Homebridge API, specifically allowing control over the Homebridge server and its bridge network interfaces. The "Set Bridge Network Interfaces" operation under the "Server" resource enables users to configure which network adapters (interfaces) the Homebridge bridge should use.
Common scenarios include:
- Configuring Homebridge to bind to specific network interfaces for better network management or security.
- Adjusting network settings after hardware changes or network reconfiguration.
- Automating network interface setup as part of a larger home automation deployment workflow.
For example, a user might specify one or more network interface names to restrict Homebridge's bridge communication to those interfaces only.
Properties
| Name | Meaning |
|---|---|
| Access Token | An access token obtained from a prior login operation. If not using a Login node, enter manually. This token authenticates the request to the Homebridge API. |
| Network Adapters | A collection of network adapters to set as bridge interfaces. Each adapter requires specifying the Interface Name (the network interface name). Multiple adapters can be specified. |
The "Network Adapters" property allows multiple entries, each representing a network interface by its name.
Output
The node outputs JSON data corresponding to the response from the Homebridge API after setting the bridge network interfaces. This typically includes confirmation of the updated network adapter configuration or any error messages returned by the API.
No binary data output is indicated.
Dependencies
- Requires an active connection to a Homebridge server API endpoint.
- Needs an access token for authentication, which can be obtained via a separate login operation or provided manually.
- The node expects the Homebridge API URL to be configured in credentials or environment variables.
- No additional external dependencies beyond the Homebridge API and proper authentication.
Troubleshooting
- Invalid or missing access token: The operation will fail if the access token is incorrect or expired. Ensure the token is valid and refreshed if necessary.
- Incorrect network interface names: Specifying non-existent or misspelled interface names will cause the API to reject the request. Verify interface names on the Homebridge host system.
- API connectivity issues: Network problems or incorrect API base URL configuration can prevent successful requests. Confirm the Homebridge server URL and network accessibility.
- Permission errors: The access token must have sufficient permissions to modify server settings; otherwise, the API may return authorization errors.
Links and References
- Homebridge Official Website
- Homebridge API Documentation (if available)
- n8n documentation on HTTP Request Node for understanding API interactions
- General networking references for identifying network interface names on your operating system