A programmable lighting device , comprising: - at least one light source; - a power stage configured to receive power from an external supply and to supply power to the at least one light source; - a controller configured to control an operation of the power stage according to at least one of an operating parameter and a configuration setting for the programmable lighting device; - a nonvolatile memory configured to store operating parameters and configuration settings for the programmable lighting device; and - a near field communication device configured to receive radio frequency (RF) signals which are adapted to communicate operating parameters and configuration settings for the programmable lighting device and in operation said near field communication device is configured to receive a radio frequency signal which communicates the at least one of an operating parameter and a configuration setting for the programmable lighting device , and in response thereto to store the at least one of an operating parameter and a configuration setting for the programmable lighting device in the nonvolatile memory , wherein the near field communication device is configured to generate from the RF signal a supply voltage for powering the nonvolatile memory while the near field communication device stores in the nonvolatile memory the at least one of an operating parameter and a configuration setting for the programmable lighting device wherein the at least one configuration setting identifies an active dimming interface for the programmable lighting device among a plurality of dimming interfaces available for the programmable lighting device , and wherein the at least one operating parameter for the programmable lighting device includes at least one of: an output current to be supplied by the power stage to the at least one light source; a variable startup time parameter for the at least one light source; an operating time period after which the programmable lighting device should increase the output current; at least one temperature threshold for reducing the output current; an operating time period after which the programmable lighting device should trigger an end of life signal; and at least one time setting for automatically dimming the at least one light source. - at least one light source; - a power stage configured to receive power from an external supply and to supply power to the at least one light source; - a controller configured to control an operation of the power stage according to at least one of an operating parameter and a configuration setting for the programmable lighting device; - a nonvolatile memory configured to store operating parameters and configuration settings for the programmable lighting device; and - a near field communication device configured to receive radio frequency (RF) signals which are adapted to communicate operating parameters and configuration settings for the programmable lighting device and in operation said near field communication device is configured to receive a radio frequency signal which communicates the at least one of an operating parameter and a configuration setting for the programmable lighting device , and in response thereto to store the at least one of an operating parameter and a configuration setting for the programmable lighting device in the nonvolatile memory , wherein the near field communication device is configured to generate from the RF signal a supply voltage for powering the nonvolatile memory while the near field communication device stores in the nonvolatile memory the at least one of an operating parameter and a configuration setting for the programmable lighting device wherein the at least one configuration setting identifies an active dimming interface for the programmable lighting device among a plurality of dimming interfaces available for the programmable lighting device , and <EOS>