Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

User → Activate OTP

AI-generated

Overview

This node activates a One-Time Password (OTP) for a user in the Homebridge system. It is useful in scenarios where a user needs to verify their identity or enable two-factor authentication by submitting an OTP code received from a login operation or another source.

Use Case Examples

  1. Activating OTP for a user after login to enhance security.
  2. Manually entering an OTP code to verify user identity when not connected to a login node.

Properties

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

Output

JSON

  • response - The JSON response from the Homebridge API after activating the OTP.

Dependencies

  • Homebridge API with an API key credential for authentication

Troubleshooting

  • Ensure the access token is valid and not expired to avoid authentication errors.
  • Verify the OTP code is correct and has not expired to prevent activation failure.
  • Check network settings such as proxy and SSL options if requests fail due to connectivity or security issues.
  • Adjust timeout settings if the server response is slow to avoid premature request abortion.

Links

Discussion