So I am just starting out so please bear with me.
I want to start looking into smart connected devices and such want to make my own wi-fi connected device for simple things like a switch. The ultimate goal would be to have it connected to google home and echo etc but one step at a time.
I want to create a simple switch that toggles on off based on certain conditions. The parameters can be adjusted via a mobile app.
If this were a sell-able product it would require it would need to connect to your existing wifi and some means to tell it how to connect to said wifi.
The easiest way to accomplish this (I think) would be to have it act as a hotspot/AP first, give it the parameters, then the board connects to the new SSID.
I want to use a board that is by far the cheapest board that can accomplish this. Through my research i saw that the ESP8266 should be able to do this (open to suggestions). My thinking is that if I wanted to market such a device for mass production want to replicate cheap as possible with just enough components deemed necessary.
I want to also have some sort of "reset" switch which reverts back to a state where i can start this whole process again without have to do any coding; where I can connect to AP. (I want to make this grandparent friendly).
For all this I want to use maybe the weather API for example to check for light levels and turn a light on the porch on or check outside temperature and turn on my heater on my porch.
So in summary, have i got the right device to accomplish this, if not, what would you recommend? What other bits would I need/should be mindful of.
Thanks