Randomised automation turn on after sunset

Dear all,

I’m quite new in the HA world, been watching heaps of videos and reading a bit of doc but would appreciate a lot a bit of help for an automation. In my HA, I have 3 smart plugs (A, B, C) which are connected to lamps. I want have a button “holidays” on my dashboard, which when I press it, activates an automation.

This automation (and that’s where it becomes beyond my skills) should turn on my A, B, C lamps, randomly, for at least 1h, between the interval of “sunset + 15 min” and until 23:45 during week-days, and until 01:00 during week ends. They can be turned on and off randomly between 1 and 3 times during this interval.

Extra : if not too hard, i would love to have 1 out of the 3 A, B, C plugs (randomly chosen each time), turn on for 15min every 3 days, between 02:30 and 06:00.

i have checked this thread : Light Automation - variable delay based on sunset time
but it’s not exactly what I need.

I’ve heard of node red but haven’t tried yet, would that ease the setup that much ? This is the only “big” automation that i will need (for now), and I don’t mind tinkering in a YAML file.
Thank you very much in advance for your help !