Updating Network Configuration Parameters
An example first playback device is configured to (i) determine that the first playback device has lost a connection to a first secure wireless network; (ii) transmit at least one message that indicates that the first playback device is available for setup; (iii) establish a first direct communication path with a computing device configured to operate on a second secure wireless network; (iv) receive, over the first direct communication path, network configuration parameters for connecting to the second secure wireless network; (v) establish a connection to the second secure wireless network; (vi) receive, from a second playback device, a message indicating that the second playback device has lost a second connection to the first secure wireless network; (vii) establish a second direct communication path with the second playback device; and (viii) transmit the network configuration parameters for connecting to the second secure wireless network to the second playback device.
1 . A computing device comprising:
at least one processor;
at least one non-transitory computer-readable medium; and
program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
while the computing device is connected to a first secure wireless network, (i) control media playback by at least one playback device of a media playback system and (ii) cause a list of playback devices of the media playback system that are available for media playback on the first secure wireless network to be stored;
disconnect from the first secure wireless network;
after disconnecting from the first secure wireless network, connect to a second secure wireless network;
while connected to the second secure wireless network, determine that at least one playback device of the media playback system is not connected to the second secure wireless network;
based on (i) the list of playback devices and (ii) determining that the at least one playback device of the media playback system is not connected to the second secure wireless network, present, via a graphical display, a first view of a graphical user interface (GUI) to receive an indication of a user input comprising a request to update a first playback device from the list with network configuration parameters for the second secure wireless network;
receive, via the GUI, an indication of the first playback device from the list that is to be updated;
establish an initial communication path with the first playback device;
transmit, to the first playback device via the initial communication path, a set of one or more messages that collectively comprise the network configuration parameters for the second secure wireless network;
receive, via the second secure wireless network, at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network; and
based on the at least one received indication, present, via the graphical display, a second view of the GUI that indicates the one or more respective playback devices from the list that have now established a connection to the second secure wireless network and are available for media playback by the media playback system on the second secure wireless network.
2 . The computing device of claim 1 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises at least a first indication that the first playback device has established a first connection to the second secure wireless network, and further comprising program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
after receiving the indication that the first playback device has established the first connection to the second secure wireless network, transmit, to the first playback device, a command to cause the first playback device to provide the network configuration parameters for the second secure wireless network to at least a second playback device.
3 . The computing device of claim 2 , wherein the command causes the first playback device to:
temporarily disconnect from the second secure wireless network for a given period of time;
while temporarily disconnected from the second secure wireless network, (i) scan for messages from other playback devices of the media playback system on a default wireless channel and (ii) respond to messages from other playback devices of the media playback system on the default wireless channel with instructions to scan for messages from other playback devices on the default wireless channel; and
after the given period of time, reconnect to the second secure wireless network.
4 . The computing device of claim 2 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises a plurality of indications including at least (i) the first indication that the first playback device has established the first connection to the second secure wireless network and (ii) a second indication that the first playback device has established a second connection to the second secure wireless network, further comprising program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
based on (i) the list of playback devices and (ii) the plurality of indications, identify a given playback device of the media playback system that did not connect to the second secure wireless network; and
present, via the graphical display, an instruction for a user to provide the network configuration parameters for the second secure wireless network to the given playback device of the media playback system.
5 . The computing device of claim 2 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises a plurality of indications including at least (i) the first indication that the first playback device has established the first connection to the second secure wireless network and (ii) a second indication that the second playback device has established a second connection to the second secure wireless network.
6 . The computing device of claim 5 , further comprising program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
based on (i) the list of playback devices and (ii) the plurality of indications, identify a third playback device of the media playback system that did not connect to the second secure wireless network; and
present, via the graphical display, an instruction for a user to provide the network configuration parameters for the second secure wireless network to the third playback device of the media playback system.
7 . The computing device of claim 6 , wherein the first playback device, the second playback device, and the third playback device are each a different playback device of the media playback system.
8 . The computing device of claim 1 , further comprising program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
request, from a cloud-based computing system, a list of one or more media playback systems that are associated with a user account of a user, where each media playback system in the list of one or more media playback systems comprises a respective list of playback devices associated with the respective media playback system; and
receive, from the cloud-based computing system, the list of one or more media playback systems, wherein the list of one or more media playback systems includes the media playback system; and
present, via the graphical display, at least the media playback system from the list of one or more media playback systems.
9 . The computing device of claim 8 , further comprising program instructions stored on the at least one non-transitory computer-readable medium that, when executed by the at least one processor, cause the computing device to:
after determining that the at least one playback device of the media playback system is not connected to the second secure wireless network, detect a BLE beacon transmitted by the first playback device; and
determine that the first playback device is listed in the list of playback devices of the media playback system, wherein presenting, via the graphical display, at least the media playback system from the list of one or more media playback systems comprises:
based on detecting the BLE beacon, presenting only the media playback system from the list of one or more media playback systems.
10 . A method carried out by a computing device, the method comprising:
while the computing device is connected to a first secure wireless network, (i) controlling media playback by at least one playback device of a media playback system and (ii) causing a list of playback devices of the media playback system that are available for media playback on the first secure wireless network to be stored;
disconnecting from the first secure wireless network;
after disconnecting from the first secure wireless network, connecting to a second secure wireless network;
while connected to the second secure wireless network, determining that at least one playback device of the media playback system is not connected to the second secure wireless network;
based on (i) the list of playback devices and (ii) determining that the at least one playback device of the media playback system is not connected to the second secure wireless network, presenting, via a graphical display, a first view of a graphical user interface (GUI) to receive an indication of a user input comprising a request to update a first playback device from the list with network configuration parameters for the second secure wireless network;
receiving, via the GUI, an indication of the first playback device from the list that is to be updated;
establishing an initial communication path with the first playback device;
transmitting, to the first playback device via the initial communication path, a set of one or more messages that collectively comprise the network configuration parameters for the second secure wireless network;
receiving, via the second secure wireless network, at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network; and
based on the at least one received indication, presenting, via the graphical display, a second view of the GUI that indicates the one or more respective playback devices from the list that have now established a connection to the second secure wireless network and are available for media playback by the media playback system on the second secure wireless network.
11 . The method of claim 10 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises at least a first indication that the first playback device has established a first connection to the second secure wireless network, the method further comprising:
after receiving the indication that the first playback device has established the first connection to the second secure wireless network, transmitting, to the first playback device, a command to cause the first playback device to provide the network configuration parameters for the second secure wireless network to at least a second playback device.
12 . The method of claim 11 , wherein the command causes the first playback device to:
temporarily disconnect from the second secure wireless network for a given period of time;
while temporarily disconnected from the second secure wireless network, (i) scan for messages from other playback devices of the media playback system on a default wireless channel and (ii) respond to messages from other playback devices of the media playback system on the default wireless channel with instructions to scan for messages from other playback devices on the default wireless channel; and
after the given period of time, reconnect to the second secure wireless network.
13 . The method of claim 11 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises a plurality of indications including at least (i) the first indication that the first playback device has established the first connection to the second secure wireless network and (ii) a second indication that the first playback device has established a second connection to the second secure wireless network, the method further comprising:
based on (i) the list of playback devices and (ii) the plurality of indications, identifying a given playback device of the media playback system that did not connect to the second secure wireless network; and
presenting, via the graphical display, an instruction for a user to provide the network configuration parameters for the second secure wireless network to the given playback device of the media playback system.
14 . The method of claim 11 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises a plurality of indications including at least (i) the first indication that the first playback device has established the first connection to the second secure wireless network and (ii) a second indication that the second playback device has established a second connection to the second secure wireless network.
15 . The method of claim 14 , further comprising:
based on (i) the list of playback devices and (ii) the plurality of indications, identify a third playback device of the media playback system that did not connect to the second secure wireless network; and
presenting, via the graphical display, an instruction for a user to provide the network configuration parameters for the second secure wireless network to the third playback device of the media playback system.
16 . The method of claim 15 , wherein the first playback device, the second playback device, and the third playback device are each a different playback device of the media playback system.
17 . The method of claim 10 , further comprising:
request, from a cloud-based computing system, a list of one or more media playback systems that are associated with a user account of a user, where each media playback system in the list of one or more media playback systems comprises a respective list of playback devices associated with the respective media playback system; and
receive, from the cloud-based computing system, the list of one or more media playback systems, wherein the list of one or more media playback systems includes the media playback system; and
presenting, via the graphical display, at least the media playback system from the list of one or more media playback systems.
18 . The method of claim 17 , further comprising:
after determining that the at least one playback device of the media playback system is not connected to the second secure wireless network, detecting a BLE beacon transmitted by the first playback device; and
determining that the first playback device is listed in the list of playback devices of the media playback system, wherein presenting, via the graphical display, at least the media playback system from the list of one or more media playback systems comprises:
based on detecting the BLE beacon, presenting only the media playback system from the list of one or more media playback systems.
19 . At least one non-transitory computer-readable medium, wherein the at least one non- transitory computer-readable medium is provisioned with program instructions that, when executed by at least one processor, cause a computing device to:
while the computing device is connected to a first secure wireless network, (i) control media playback by at least one playback device of a media playback system and (ii) cause a list of playback devices of the media playback system that are available for media playback on the first secure wireless network to be stored;
disconnect from the first secure wireless network;
after disconnecting from the first secure wireless network, connect to a second secure wireless network;
while connected to the second secure wireless network, determine that at least one playback device of the media playback system is not connected to the second secure wireless network;
based on (i) the list of playback devices and (ii) determining that the at least one playback device of the media playback system is not connected to the second secure wireless network, present, via a graphical display, a first view of a graphical user interface (GUI) to receive an indication of a user input comprising a request to update a first playback device from the list with network configuration parameters for the second secure wireless network;
receive, via the GUI, an indication of the first playback device from the list that is to be updated;
establish an initial communication path with the first playback device;
transmit, to the first playback device via the initial communication path, a set of one or more messages that collectively comprise the network configuration parameters for the second secure wireless network;
receive, via the second secure wireless network, at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network; and
based on the at least one received indication, present, via the graphical display, a second view of the GUI that indicates the one or more respective playback devices from the list that have now established a connection to the second secure wireless network and are available for media playback by the media playback system on the second secure wireless network.
20 . The at least one non-transitory computer-readable medium of claim 19 , wherein the at least one indication that one or more respective playback devices from the list have established a connection to the second secure wireless network comprises at least a first indication that the first playback device has established a first connection to the second secure wireless network, and the at least one non-transitory computer-readable medium is also provisioned with program instructions that, when executed by at least one processor, cause the computing device to:
after receiving the indication that the first playback device has established the first connection to the second secure wireless network, transmit, to the first playback device, a command to cause the first playback device to provide the network configuration parameters for the second secure wireless network to at least a second playback device.