request 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.
request auth code Deprecated v13.0.8

With this block you can request 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
  • Connection aqaraconnection required

    The aqara connection

  • Account value required

    Aqara account (e.g. email, phoneNumber)

  • Account Type number

    Account Type, 0 = Aqara account

    Default 0

  • Access token valid time number

    Access token valid time

    Default 7 Days

Out pins 4 + flow
  • flow
  • Connection aqaraconnection

    The aqara connection

  • Success condition

    If successful, this pin returns true.

  • Expires date

    The expiration date of the access token that can be requested with this code.

  • Error value

    Error message if the verification code could not be requested.

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