Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

Setup Wizard → Create First User

AI-generated

Overview

This node operation is designed to create the first user in the Homebridge setup wizard. It is typically used during the initial configuration of Homebridge to establish the primary administrative user account. This operation is beneficial for setting up access control and managing user credentials right from the start.

Use Case Examples

  1. Creating the first admin user with a specified name, username, and password during Homebridge setup.
  2. Automating the initial user creation process in a Homebridge deployment script.

Properties

Name Meaning
Access Token Access token from Login operation. If not connected to Login node, enter manually.
Name The full name of the user to be created.
Username The username for the new user account.
Password The password for the new user account.
Admin Boolean flag indicating if the user should have administrative privileges.

Output

JSON

  • id - Unique identifier of the created user.
  • name - Name of the created user.
  • username - Username of the created user.
  • admin - Indicates if the user has admin privileges.

Dependencies

  • Requires an API key credential for Homebridge API authentication.

Troubleshooting

  • Ensure the access token is valid and has not expired; otherwise, authentication will fail.
  • Verify that all required fields (Name, Username, Password) are provided and correctly formatted.
  • Check network connectivity to the Homebridge server to avoid request timeouts or connection errors.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.

Discussion