1. A luminaire acting as a node of a wireless network comprising a plurality of nodes, the luminaire comprising:at least one light source configured to function according to at least two operation states;
a communication unit configured to transmit or receive information from neighboring nodes; and
a control unit configured to adjust a communication mode of the communication unit based on a change to at least one of the at least two operation states of the at least one light source that causes interference, wherein the control unit is further configured to receive information about the change of the at least one of the at least two operation states from the communication unit of the wireless network;
wherein the adjustment of the communication mode of the communication unit comprises increasing or decreasing a transmit power of the communication unit for transmitting messages to an adjusted transmit power amount, wherein said adjusted transmit power is greater than zero.