Duaer

Integrations

Set up Home Assistant credentials in Duaer

Store Home Assistant connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.

Create a Home Assistant long-lived access token

The Duaer Home Assistant API credential:

  1. In Home Assistant, click your user name at the bottom left, open Security, click Create token under Long-lived access tokens, and put it in Access Token.
  2. Host is the Home Assistant host name or IP without http://; Port defaults to 8123. Turn on SSL when you reach it over HTTPS.

With a Nabu Casa remote URL, put xxxx.ui.nabu.casa in Host, set Port to 443, and turn on SSL.

Home Assistant API fields in Duaer

In Duaer, choose Home Assistant API when you create a credential, then fill in these fields:

  • Host
  • Port: Default: 8123.
  • SSL: Default: off.
  • Access Token (secret)

Duaer nodes that use it: Home Assistant.

Save the connection in Duaer

Open Credentials and create Home Assistant. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys. The matching node is under the related node.

Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.

Questions

Do Home Assistant secret values appear in Duaer node parameters?

No. In Duaer, Home Assistant secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

What usually stops a Home Assistant credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields Home Assistant expects, then confirm you can create credentials in that project.

In this section