after searching the internets for months I went with loxone.com/enus/ (local, with minimal cloud features, API, software and hardware, free software, reliable)
if you want to go on DIY route dreamgreenhouse.com/designs/index.php has a lot of details on hardware and software ideas.
go with cheap "dumb" easy replaceable hardware and wired if it is possible.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.