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 manage various aspects of their Homebridge server environment. Specifically, for the User resource and the Setup OTP operation, it facilitates setting up One-Time Password (OTP) authentication for user accounts. This enhances security by enabling two-factor authentication.
Common scenarios include:
- Securing user accounts on a Homebridge server by enabling OTP.
- Automating the setup of OTP during user onboarding or security upgrades.
- Integrating OTP setup into broader Homebridge management workflows within n8n.
Example use case: After a user logs in and obtains an access token, this node can be used to configure OTP for that user, improving account security.
Properties
| Name | Meaning |
|---|---|
| Access Token | Access token obtained from a prior login operation or entered manually; used to authenticate the OTP setup request. |
Output
The node outputs JSON data representing the result of the OTP setup operation. This typically includes confirmation details such as OTP secret keys, QR codes, or status messages indicating successful OTP configuration.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to a Homebridge server API.
- Needs an API authentication token (access token) to authorize requests.
- The node expects the Homebridge server URL and credentials to be configured in n8n.
Troubleshooting
- Invalid or missing access token: Ensure the access token is correctly provided either from a previous login node or manually entered.
- Connection issues: Verify the Homebridge server URL and network connectivity.
- API errors: Check that the Homebridge API version matches the node's expectations and that the user has permissions to set up OTP.
- Incorrect resource or operation selection: Confirm that "User" resource and "Setup OTP" operation are selected to avoid unexpected behavior.
Links and References
- Homebridge Official Website
- Homebridge API Documentation (if available)
- n8n documentation on creating custom nodes