Skip to content

liorcode/sonoff-control-server-alexa-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple smart-home Alexa skill to control switch devices, using the Sonoff Control Server.

Designed to be used as an AWS Lambda function, and therefore includes only two small scripts.

The payload type is "Smart Home v2".
As it works for switches, it only supports 3 directives: Discovery, TurnOn and TurnOff.

To use it, follow Steps to Build a Smart Home Skill, while uploading the two files here as your lambda function.
Also make sure to set Google OAuth authorization for account linking, when creating the Alexa Skill.

Also, make sure to set an environment variable called "DEVICES_SERVER_URL" to point to your Sonoff Control Server.

TODO: migrate the payload to v3.

About

Alexa Skill for Sonoff Control Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published