refresh access token

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.
refresh access token Deprecated v13.0.8

With this block you can refresh an access token. 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 2 + flow
  • flow
    flow
  • Connection required
    aqaraconnection

    The aqara connection

  • Refresh token required
    value

    The refresh token that was given when verifying the auth code.

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 new access token that can be used to authenticate the user.

  • Refresh token
    value

    The new 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