Christmas morning/evening light switch

Wanted a smart plug to turn on christmas led candles during the morning and evening hours. It is a modified version of the sunrise/sunset timer , providing two switch ON periods during the day:

  1. From the selected start time to sunrise + the extra time option.
  2. From sunset – the extra time option to the selected end time.

The extra time option adds extra ON time after sunrise and before sunset.

The extra time option is selected at the smart plug webpage:

And the Arduino code for the Eigthree ET28 smart plug: Christmas timer.