I have a simple project in mind to try out the ESP8266. We have a dishwasher that we can't set to run in a few hours and we always forget to turn it on when we leave the house (it's noisy).
So I was thinking about making a smart switch out of an ESP8266 and a relay. I'm fine on the software side of things but not so much on the electronics.
I'd like the smart switch to turn on and off on a schedule but also on demand via a simple web UI. My wifi is 802.11/a/b/g/n/ac WPA2 and I'd like the connections to the ESP8266's web UI be encrypted over SSL.
A few questions:
- Can the ESP8266 do SSL and WPA2?
- What do I need besides an ESP8266-01 and a relay (I already have a breadboard, some resistors, LEDs and a perf board)?
- Which USB programmer should I get? I read FTD's ones are tricky because of clones but I use OS X.
- How do I build a power supply so the ESP8266 can feed off the mains it's switching so it uses only 1 outlet and doesn't require a wall wart?
- How do I make the high voltage part safe so my house doesn't burn down?
- Is it a good idea to implement this with the JavaScript firmware?
- I expect this to cost me less than 15$, is it accurate?
Thanks!