I need to use ESP8266 as a captive portal to handle SSID, password. ( so I can select SSID and type only password in captive portal to save credentials.)
In arduino, 2-3 sensors will be read and send to a REST API in an interval using ESP8266.
Lastly, esp will read a REST API and manipulate lights using relay. (Additional info will be given)