Actions80
- 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
Authentication → Login
AI-generatedOverview
This node interacts with the Homebridge API to perform authentication login operations. It is useful for scenarios where users need to authenticate with the Homebridge server to obtain access tokens or manage login credentials programmatically. For example, it can be used to automate login processes in workflows that require secure access to Homebridge services.
Use Case Examples
- Automate login to Homebridge to retrieve an access token for subsequent API calls.
- Override default credentials with custom username, password, or two-factor authentication code for enhanced security during login.
Properties
| Name | Meaning |
|---|---|
| Additional Options | Allows specifying additional login parameters such as access token, overriding username and password, and providing a two-factor authentication code. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
accessToken- The access token received after a successful login, used for authenticating subsequent requests.user- User information returned from the login operation, if available.
Dependencies
- Requires Homebridge API credentials including server URL and authentication token.
Troubleshooting
- Ensure correct credentials are provided; incorrect username or password will cause login failure.
- If two-factor authentication is enabled, provide the correct OTP code to avoid authentication errors.
- Check network settings such as proxy and SSL options if requests fail due to connectivity or certificate issues.
- Timeout errors may occur if the server is unresponsive; adjust the timeout setting accordingly.
Links
- Homebridge API Documentation - Official documentation for Homebridge API including authentication endpoints.