A downlight comprising: a housing; a plurality of light emitting diodes, LEDs, disposed in the housing, characterized in that the downlight further comprises: a monostatic millimeter-wave radar (302, 504) disposed in the housing, the millimeter-wave radar (302, 504) comprising: an antenna disposed in the housing; an RF circuit configured to transmit and receive radar signals via the antenna, wherein the RF circuit is configured to receive, via the antenna, an echo signal of a radar signal transmitted by the antenna; and a controller configured to: detect a presence of a human in a field-of-view of the millimeter-wave radar (302,504) using the echo signal, determine a direction of movement of the human using the echo signal, and produce log data based on the direction of movement of the human, wherein the downlight further comprises a wireless module configured to transmit the log data to a wireless server, wherein the field-of-view of the millimeter-wave radar (302, 504) defines a plane, wherein the controller is configured to determine a range component of a location of the human, to determine, based on the range component, a first direction of movement of the human when the human crosses the plane from a first side to a second side, and determine, based on the range component, a second direction of movement of the human when the human crosses the plane from the second side to the first side, wherein the log data comprises the direction of movement of the human, and wherein the direction of movement is indicative of the first direction of movement or the second direction of movement. a plurality of light emitting diodes, LEDs, disposed in the housing, characterized in that the downlight further comprises: a monostatic millimeter-wave radar (302, 504) disposed in the housing, the millimeter-wave radar (302, 504) comprising: an antenna disposed in the housing; an RF circuit configured to transmit and receive radar signals via the antenna, wherein the RF circuit is configured to receive, via the antenna, an echo signal of a radar signal transmitted by the antenna; and a controller configured to: detect a presence of a human in a field-of-view of the millimeter-wave radar (302,504) using the echo signal, determine a direction of movement of the human using the echo signal, and produce log data based on the direction of movement of the human, wherein the downlight further comprises a wireless module configured to transmit the log data to a wireless server, wherein the field-of-view of the millimeter-wave radar (302, 504) defines a plane, wherein the controller is configured to determine a range component of a location of the human, to determine, based on the range component, a first direction of movement of the human when the human crosses the plane from a first side to a second side, and determine, based on the range component, a second direction of movement of the human when the human crosses the plane from the second side to the first side, wherein the log data comprises the direction of movement of the human, and wherein the direction of movement is indicative of the first direction of movement or the second direction of movement. an antenna disposed in the housing; an RF circuit configured to transmit and receive radar signals via the antenna, wherein the RF circuit is configured to receive, via the antenna, an echo signal of a radar signal transmitted by the antenna; and a controller configured to: detect a presence of a human in a field-of-view of the millimeter-wave radar (302,504) using the echo signal, determine a direction of movement of the human using the echo signal, and produce log data based on the direction of movement of the human, wherein the downlight further comprises a wireless module configured to transmit the log data to a wireless server, wherein the field-of-view of the millimeter-wave radar (302, 504) defines a plane, wherein the controller is configured to determine a range component of a location of the human, to determine, based on the range component, a first direction of movement of the human when the human crosses the plane from a first side to a second side, and determine, based on the range component, a second direction of movement of the human when the human crosses the plane from the second side to the first side, wherein the log data comprises the direction of movement of the human, and wherein the direction of movement is indicative of the first direction of movement or the second direction of movement. detect a presence of a human in a field-of-view of the millimeter-wave radar (302,504) using the echo signal, determine a direction of movement of the human using the echo signal, and produce log data based on the direction of movement of the human, wherein the downlight further comprises a wireless module configured to transmit the log data to a wireless server, wherein the field-of-view of the millimeter-wave radar (302, 504) defines a plane, wherein the controller is configured to determine a range component of a location of the human, to determine, based on the range component, a first direction of movement of the human when the human crosses the plane from a first side to a second side, and determine, based on the range component, a second direction of movement of the human when the human crosses the plane from the second side to the first side, wherein the log data comprises the direction of movement of the human, and wherein the direction of movement is indicative of the first direction of movement or the second direction of movement.