If you would like to achieve options 1 & 2 then try my Smart Light.
If you would like to achieve options 1, 2 & 3 try my Sensor Light. For this one you would set it up like this.
- Create a schedule helper for the trigger making your start time well before sunset and your finish time at 11 pm.
- Use the sun elevation condition.
- Use the Device Tracker Options so it will only work when your home.
Hope this helps you.
Blacky