Light fixture with externally selectable intensity or color temperature
An example of a light fixture is configured to receive, manually or wirelessly from and external device, an instruction to update a setting of the light fixture to a selected intensity or a selected color temperature. An instruction received from the external device may override an instruction provided via manual control. The light fixture may include a set of cool light-emitting diodes (LEDs) and a set of warm LEDs. A processing unit of the light fixture may utilize pulse-width modulation to cause the light fixture to emit light having the selected intensity or selected color temperature by implementing a particular duty cycle of a control signal for the cool LEDs and a particular duty cycle of a control signal for the warm LEDs corresponding to the selected intensity or selected color temperature.
1. A method of controlling a light fixture, the method comprising:
receiving a set of inputs via manual control positioned on the light fixture, the set of inputs indicating an intensity and a color temperature for light emitted by the light fixture;
setting a first duty cycle of a first control signal for a first set of light-emitting diodes (LEDs), having a first color temperature, to cause the light fixture to emit light having the intensity and the color temperature;
setting a second duty cycle of a second control signal for a second set of LEDs, having a second color temperature different from the first color temperature, to cause the light fixture to emit light having the intensity and the color temperature;
receiving an external instruction from an external device via a radio, the external instruction indicating an updated intensity and an updated color temperature for light emitted by the light fixture; and
overriding the set of inputs with the external instruction by updating the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated intensity and the updated color temperature.
2. The method of claim 1 , wherein receiving the set of inputs via the manual control comprises detecting a change to an electrical state of a conductor connected to the manual control and associated with light intensity.
3. The method of claim 2 , further comprising determining the first duty cycle and the second duty cycle as a function of the change to the electrical state of the conductor.
4. The method of claim 3 , wherein:
receiving the set of inputs via the manual control further comprises detecting a change to a second electrical state of a second conductor connected to the manual control and associated with light color temperature; and
determining the first duty cycle and the second duty cycle is further performed as a function of the change to the second electrical state of the second conductor.
5. The method of claim 1 , further comprising
receiving an additional set of inputs via the manual control positioned on the light fixture, the additional set of inputs indicating an additional updated intensity and an additional updated color temperature for the light emitted by the light fixture; and
overriding the external instruction with the additional set of inputs by updating the first duty cycle and the second duty cycle to cause the light fixture to emit light having the additional updated intensity and the additional updated color temperature.
6. The method of claim 1 , wherein:
the updated intensity is higher than the intensity; and
overriding the set of inputs by updating the first duty cycle and the second duty cycle comprises increasing a total on-time of the first set of LEDs and the second set of LEDs to cause the light fixture to emit light having the updated intensity.
7. The method of claim 1 , wherein overriding the set of inputs by updating the first duty cycle and the second duty cycle comprises modifying a ratio of the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated color temperature.
8. The method of claim 1 , further comprising:
determining that external control is currently allowed; and
deciding to override the set of inputs with the external instruction based on external control being currently allowed.
9. The method of claim 8 , further comprising:
receiving a lockout instruction to lock out external control;
receiving an additional instruction from the external device via the radio, the additional instruction indicating an additional updated intensity and an additional updated color temperature for the light emitted by the light fixture; and
rejecting the additional instruction based on external control being locked out.
10. The method of claim 9 , further comprising:
toggling a reset switch in the light fixture responsive to the instruction to lock out external control; and
determining that external control is locked out based on a state of the reset switch.
11. A light fixture comprising:
a manual control positioned on the light fixture and configured to receive a set of inputs, the set of inputs indicating an intensity and a color temperature for light emitted by the light fixture;
a first set of light-emitting diodes (LEDs) having a first color temperature;
a second set of LEDs having a second color temperature different from the first color temperature;
a processing unit configured to:
set a first duty cycle of a first control signal for the first set of LEDs to cause the light fixture to emit light having the intensity and the color temperature; and
set a second duty cycle of a second control signal for the second set of LEDs to cause the light fixture to emit light having the intensity and the color temperature;
a radio configured to receive an external instruction from an external device via direct wireless communication, the external instruction indicating an updated intensity and an updated color temperature for light emitted by the light fixture; and
the processing unit further configured to override the set of inputs with the external instruction by updating the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated intensity and the updated color temperature.
12. The light fixture of claim 11 , wherein:
the manual control is connected to an electrical switch that controls an electrical state of a first conductor associated with light intensity; and
the processing unit is configured to detect the set of inputs based on the electrical state of the first conductor.
13. The light fixture of claim 12 , wherein:
the manual control is connected to a second electrical switch that controls a second electrical state of a second conductor associated with light color temperature; and
the processing unit is configured to detect the set of inputs based on the second electrical state of the second conductor.
14. The light fixture of claim 11 , wherein:
the updated intensity is higher than the intensity; and
the processing unit is configured to override the set of inputs by increasing a sum of the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated intensity.
15. The light fixture of claim 11 , wherein the processing unit is configured to override the set of inputs by modifying a ratio of the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated color temperature.
16. The light fixture of claim 11 , wherein the direct wireless communication is at least one of Bluetooth Low Energy or Near-Field Communication.
17. A system comprising:
a light fixture comprising:
a manual control positioned on the light fixture and configured to receive a set of inputs, the set of inputs indicating an intensity and a color temperature for light emitted by the light fixture;
a first set of light-emitting diodes (LEDs) having a first color temperature;
a second set of LEDs having a second color temperature different from the first color temperature;
a processing unit configured to:
set a first duty cycle of a first control signal for the first set of LEDs to cause the light fixture to emit light having the intensity and the color temperature; and
set a second duty cycle of a second control signal for the second set of LEDs to cause the light fixture to emit light having the intensity and the color temperature;
an instance of an application running on an external device and configured to provide to the light fixture an external instruction, the external instruction indicating an updated intensity and an updated color temperature for light emitted by the light fixture; and
the light fixture further comprising:
a radio configured to receive the external instruction from the external device via direct wireless communication;
wherein the processing unit is further configured to override the set of inputs with the external instruction by updating the first duty cycle and the second duty cycle to cause the light fixture to emit light having the updated intensity and the updated color temperature.
18. The system of claim 17 , wherein:
the instance of the application is configured to provide a lockout instruction to lock out external control of the light fixture; and
the light fixture is configured to toggle a reset switch of the light fixture responsive to the lockout instruction, wherein the reset switch indicates to the processing unit that external control is disallowed.
19. The system of claim 18 , further comprising an additional instance of the application running on an additional external device, wherein the additional instance of the application is configured to:
provide to the light fixture an additional instruction, the additional instruction indicating an additional updated intensity and an additional updated color temperature for light emitted by the light fixture; and
receive from the light fixture a rejection of the additional instruction, based on external control of the light fixture being locked out.
20. The system of claim 17 , wherein the direct wireless communication is at least one of Bluetooth Low Energy or Near-Field Communication.