An LED-based light tube for use in a conventional fluorescent fixture comprising: a housing including a light transmitting portion; at least one electrical connector attached to the housing and configured for engagement with the conventional fluorescent fixture; at least one LED arranged to produce light in a direction toward the light transmitting portion to contribute to a brightness level in an area in combination with an ambient light source other than the at least one LED, such that the brightness level is responsive to the at least one LED and the ambient light source; a sensor operable to detect a brightness level in the area and output a corresponding signal (α); and a controller in electrical communication with the at least one electrical connector and operable to: compare the signal (α) to a predetermined value corresponding to a desired brightness level, increase an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is less than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area, and decrease an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is more than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area. a housing including a light transmitting portion; at least one electrical connector attached to the housing and configured for engagement with the conventional fluorescent fixture; at least one LED arranged to produce light in a direction toward the light transmitting portion to contribute to a brightness level in an area in combination with an ambient light source other than the at least one LED, such that the brightness level is responsive to the at least one LED and the ambient light source; a sensor operable to detect a brightness level in the area and output a corresponding signal (α); and a controller in electrical communication with the at least one electrical connector and operable to: compare the signal (α) to a predetermined value corresponding to a desired brightness level, increase an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is less than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area, and decrease an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is more than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area. compare the signal (α) to a predetermined value corresponding to a desired brightness level, increase an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is less than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area, and decrease an amount of power provided to the at least one LED in response to the signal (α) if the comparison shows that the brightness level is more than the desired brightness level to adjust the light produced by the at least one LED to achieve the desired brightness level in the area.