Patent attributes
This application discloses a method for commissioning an electronic device in a smart home environment. The electronic device receives from a client device one-way signals that are encoded with communication data. The client device is located in proximity, and executes a client-side application associated with a user account that generates the one-way signals. The encoded communication data includes at least one or more network credentials of a local area network, and an authentication token that provides sufficient information to identify the user account. The electronic device generates a link approval request including the authentication token, and device identification information that identifies the electronic device. The electronic device then accesses the local area network using the network credentials provided by the client device, and sends the link approval request to a server via the local area network for association with the user account and addition to the smart home environment.