A method of controlling a home wireless system wherein the home wireless system comprises a plurality of peripheral wireless nodes (14; 16; 19; 21; 23;) and a first gateway having wireless communication means for communicating with and for controlling peripheral wireless nodes, the method comprising the steps: a) installing at least one second gateway (12'; 32) in said home wireless system, b) broadcasting an identification message from a peripheral wireless node (14; 16; 19; 21; 23;) searching for a controlling gateway in a link establishment process, c) receiving in each of said first gateway and said at least one second gateway said identification message, d) applying a metric and determining on the basis of said metric a delay in each of said first gateway and said at least one second gateway, e) sending after said delay from each of said first gateway and said at least one second gateway a login request message in the link establishment process, f) including in the metric a time delay based on a signal quality factor of a received signal including the identification message, where a higher signal quality factor results in a shorter delay, g) completing the link establishment process by responding in said peripheral wireless node (14; 16; 19; 21; 23;) to the request message received from the gateway responding after the shortest delay, said peripheral wireless node (14; 16; 19; 21; 23;) then being bound to the gateway responding after the shortest delay, h) each peripheral wireless node repeatedly sending messages to the assigned gateway, i) said assigned gateway sending an acknowledge message as a response to the peripheral wireless node, j) each peripheral wireless node searching for an available gateway among said first and said at least one second gateway when not receiving an acknowledge message from the assigned gateway, and k) assigning said searching peripheral wireless node to communicate with an assigned gateway in accordance with paragraphs b) to g). a) installing at least one second gateway (12'; 32) in said home wireless system, b) broadcasting an identification message from a peripheral wireless node (14; 16; 19; 21; 23;) searching for a controlling gateway in a link establishment process, c) receiving in each of said first gateway and said at least one second gateway said identification message, d) applying a metric and determining on the basis of said metric a delay in each of said first gateway and said at least one second gateway, e) sending after said delay from each of said first gateway and said at least one second gateway a login request message in the link establishment process, f) including in the metric a time delay based on a signal quality factor of a received signal including the identification message, where a higher signal quality factor results in a shorter delay, g) completing the link establishment process by responding in said peripheral wireless node (14; 16; 19; 21; 23;) to the request message received from the gateway responding after the shortest delay, said peripheral wireless node (14; 16; 19; 21; 23;) then being bound to the gateway responding after the shortest delay, h) each peripheral wireless node repeatedly sending messages to the assigned gateway, i) said assigned gateway sending an acknowledge message as a response to the peripheral wireless node, j) each peripheral wireless node searching for an available gateway among said first and said at least one second gateway when not receiving an acknowledge message from the assigned gateway, and k) assigning said searching peripheral wireless node to communicate with an assigned gateway in accordance with paragraphs b) to g).