A method for controlling a pan-tilt-zoom, PTZ, camera with a controllable field of view, FOV, the method comprising: detecting a first detection event by a first detector located at a first location that is along a first path in a monitored region, the first detection event corresponding to the first detector detecting a first object in a first detection region along the first path ; in response to the first detection event, automatically controlling the PTZ camera such that the FOV of the PTZ camera includes at least part of the first detection region along the first path in the monitored region; detecting a second detection event by a second detector located at a second location that is along the first path in the monitored region, wherein the second location is spaced from the first location, the second detection event corresponding to the second detector detecting the first object in a second detection region along the first path , wherein the second detection region is spaced from the first detection region; and in response to the second detection event, automatically controlling the PTZ camera such that the FOV of the PTZ camera includes at least part of the second detection region along the first path in the monitored region; wherein the monitored region includes a LiFi source for emitting a LiFi encoded optical signal ; and wherein the first detector includes a beam break detector that detects a beam break caused by the first object in the LiFi encoded optical signal , and communicates corresponding signals for use by the LiFi source to identify that the first object is in the first detection region along the first path . detecting a first detection event by a first detector located at a first location that is along a first path in a monitored region, the first detection event corresponding to the first detector detecting a first object in a first detection region along the first path ; in response to the first detection event, automatically controlling the PTZ camera such that the FOV of the PTZ camera includes at least part of the first detection region along the first path in the monitored region; detecting a second detection event by a second detector located at a second location that is along the first path in the monitored region, wherein the second location is spaced from the first location, the second detection event corresponding to the second detector detecting the first object in a second detection region along the first path , wherein the second detection region is spaced from the first detection region; and in response to the second detection event, automatically controlling the PTZ camera such that the FOV of the PTZ camera includes at least part of the second detection region along the first path in the monitored region; wherein the monitored region includes a LiFi source for emitting a LiFi encoded optical signal ; and wherein the first detector includes a beam break detector that detects a beam break caused by the first object in the LiFi encoded optical signal , and communicates corresponding signals for use by the LiFi source to identify that the first object is in the first detection region along the first path . <EOS>