A nice feature would be dusk/down on/off functionality.
Preferably with an configurable offset (with or without randomization).
Would be perfect for all outside illumination
This is a good idea. Maybe it works with the Sonoff TH. Sonoff TH comes with an external temperature sensor. But for the sonoff it makes no difference if this is the temperature or the brightness from a light sensor.