Skip to content

d0pam1n/sonoff_touch_alexa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Sonoff Touch Firmware with Alexa support

This is a little Arduino sketch as a firmware replacement for the Sonoff Touch light switch with Alexa support.

All the hard work was done by this guy, so thanks a lot. If you want more information on how it works read his blog post ;-)

With this firmware you can say something like this: "Alexa, turn on the kitchen light".

Basic setup:


// IP settings if you want static ip.
IPAddress ip(192, 168, 178, 50);
IPAddress gateway(192, 168, 178, 1);
IPAddress subnet(255, 255, 255, 0);

#define WIFI_SSID "####" // SSID of your wifi
#define WIFI_PASSWORD "####" // Your wifi password

String device_name = "###"; // The device you call alexa for (e.g 'kitchen' -> say "Alexa, turn on the kitchen light")

I flashed the firmware with the Arduino IDE with the following settings:

'Generic ESP8266 board' and Flash: (1M, 64K SPIFFS)

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%