Toggle lights with a Bändel. Requires Connect Alexa to RC Switches.
- Old school fashioned light toggle
- Webinterface
- API:
- Switch device via GET requests
- Get device state via GET request
- Over the air updates
- Website resources on SPIFFS
Requires assembled hardware (see below) and PlatformIO.
- Create
src/secret.h
fromsrc/secrects.template.h
- Set SSID and password of your WLAN and over the air hostname
- Update
URL_HOST
depending on your infrastructure - First deploy only:
- Comment out
upload_port
andupload_port
inplatform.io
- Plug device to FTDI adapter
- Comment out
- Flash device via OTA update/FTDI adapter
- Upload web resources to SPIFFS
Required libraries:
- ArduinoOTA
- SHA-1 Hash
- ESP Async WebServer
See (development section above)[#Development].
- ESP8266 (ESP-01)
- Voltage Regulator (AMS1117)
- USB Micro Plug
- Pull switch
- 220Ω Resistor
- Wires
- Plastic case
- USB cable (USB A to micro)
- Power supply (1A)