I did quite a bit of experimentation with home automation systems (HomeSeer, Home Assistant, Domoticz and so on) and decided that the best (at least for me) and the most control giving solution is NodeRED - https://github.com/node-red/node-red . You can create pretty complex flows with many already available nodes but if you want something custom - it's trivial either to add JS functions or to create your own node fr…
Which home automation platform you eventually ended up with on NUC? I recently bought NUC to do the same and I cannot decide between Home Assistant, openHAB so I am running them both and playing a bit with Hue lights/Belkin switch. I have not tried Domoticz - I know it's very lightweight but not too feature heavy. Eventually I want to replace Alexa, using Snips.
I also run more things on my NUC like drone.io build server to run my tests and few more things. I ended up just having a docker-compose file for all my things as opposed to installing services I use through things like HomeAssistant.