verify auth code

This block is part of the Home Automaton group and was last modified in core v13.0.8.

Deprecated This block has been deprecated since v0.0.0, please avoid future use.
verify auth code Deprecated v13.0.8

With this block you can verify a authorization code. DEPRECATED from 15.0.0: this block talks to the Aqara CLOUD gateway, so a command travels to Aqara's servers and back to reach a device in the same room, and stops working when the internet does. RUAL is the gateway now: pair Aqara devices to a Zigbee coordinator on the node and use the local home automation blocks (homeassist_*) instead.

In pins 4 + flow
  • flow
    flow
  • Connection required
    aqaraconnection

    The aqara connection

  • Account required
    value

    Aqara account (e.g. email, phoneNumber)

  • Authorization Code required
    value

    Authorization Code the user got via email/SMS.

  • Account Type
    number

    Account Type, 0 = Aqara account

    Default 0

Out pins 6 + flow
  • flow
    flow
  • Connection
    aqaraconnection

    The aqara connection with the new access token set.

  • Success
    condition

    If successful, this pin returns true.

  • Access token
    value

    The access token that can be used to authenticate the user.

  • Refresh token
    value

    The refresh token that can be used to refresh the access token.

  • User ID
    value

    The Aqara user ID of the authenticated user.

  • Error
    value

    Error message if the verification code could not be verified.

Version history

Introduced in v13.0.8.


Back to Home Automaton Return to the main group to view all sub-groups Back to Aqara Return to the group to view all blocks within this group