An LED-based light tube for use in a conventional fluorescent fixture can feature a housing including a light transmitting portion. At least one electrical connector can be attached to the housing and configured for engagement with the conventional fluorescent fixture. At least one LED can be arranged to produce light in a direction toward the light transmitting portion. A sensor can be operable to detect a brightness level and output a corresponding signal. A controller can be in electrical communication with the at least one electrical connector and operable to control the at least one LED in response to the signal.