An electronic device for obtaining a sensor signal for use in a lighting system comprising one or more light devices (13-15) and a sensor , and for changing a sensing function in dependence on a light setting currently active on said one or more light devices (13-15), said electronic device comprising: a memory ; at least one input interface ; at least one output interface ; and at least one processor arranged to: - use said at least one input interface to obtain a sensor signal from said sensor , said sensor being arranged to sense in a field of view, characterized in that said at least one processor is further arranged to: - use said at least one input interface to obtain information indicating said light setting that is currently active on said one or more light devices (13-15) and/or determine from said sensor signal said light setting that is currently active on said one or more light devices (13-15), - select, based on data stored in said memory , a device and/or an application of a plurality of devices and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface to transmit said sensor signal to said selected device and/or application. a memory ; at least one input interface ; at least one output interface ; and at least one processor arranged to: - use said at least one input interface to obtain a sensor signal from said sensor , said sensor being arranged to sense in a field of view, - use said at least one input interface to obtain a sensor signal from said sensor , said sensor being arranged to sense in a field of view, characterized in that said at least one processor is further arranged to: - use said at least one input interface to obtain information indicating said light setting that is currently active on said one or more light devices (13-15) and/or determine from said sensor signal said light setting that is currently active on said one or more light devices (13-15), - select, based on data stored in said memory , a device and/or an application of a plurality of devices and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface to transmit said sensor signal to said selected device and/or application. - use said at least one input interface to obtain information indicating said light setting that is currently active on said one or more light devices (13-15) and/or determine from said sensor signal said light setting that is currently active on said one or more light devices (13-15), - select, based on data stored in said memory , a device and/or an application of a plurality of devices and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface to transmit said sensor signal to said selected device and/or application. <EOS>