A lighting device comprises a plurality of LEDs producing light of mutually different colors. Paired connecting plugs are connected respectively to both ends of the housing. A distance the signal has traveled to the at least one wireless access point is determined.