“This project describes how to make an Arduino-based, voice-controlled, IOT relay switch. This is a relay that you can turn on and off remotely using an app for iOS and Android, as well as tie it in to IFTTT and control it with your voice using Google Home and/or Alexa as well. We will cover all steps needed to create the device, connect the app, and connect in the various IOT services as well.
Wemos D1 Mini Lite ESP8285 (a few dollars on Amazon)
5V Relay Module for Arduino/Raspberry Pi
2N2222 NPN transistor
47K ohm resistor
1K ohm resistor”