- WeMos D1 Mini $4.00 USD
- WeMos Relay Shield $2.10 USD
- Open useless_throwie.ino in Arduino IDE
- Set board to WeMos D1 Mini
- Verify and upload
- Reboot
- Connect to AP
- Open 192.168.4.1 in a web browser
- Click the toggle switch
- Watch the relay
Simple web server that serves the html toggle switch that can flip the relay (GPIO5) and onboard LED (GPIO2) when clicked.