I would suggest starting out with a handful of different boards; Wemos, NodeMCU, generic ESP8266, etc… play around with them on the workbench with various sensors and relays and learn what works best for you.
Then graduate to Local Server and it’s various options and such… there is an article around here somewhere on using a RPi Zero WiFi as such a standalone server and access point.