An Arduino code for a WiFi relay that can be controlled via a ESP8266, a button and Amazon Alexa
Used open source code:
- Wemos Switch https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch (modified switch.h/.cpp)
- ESP8266WiFi https://github.com/esp8266/Arduino
- WiFiManager https://github.com/tzapu/WiFiManager
- ArduinoJson https://github.com/bblanchon/ArduinoJson
- pubsubclient https://github.com/knolleary/pubsubclient