The picture shows an updated version of Twilight driving a 3W LED inside a salt crystal. The new circuit:
- does away with the LEDs, using the controlled light itself as an indicator,
- ditches the variable resistor, using a long-press on the switch to indicate the light-level at which to switch on,
- stores this light-level in EEPROM to preserve it across power cycles
- uses an ATtiny85 for a smaller footprint