Knocks83 / Alexa-WoL-Skill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alexa-WoL-Skill

Introduction

THIS IS NOT A SKILL MEANT TO BE PUBLISHED - Watch out! This skill has NO user-management functions!

Since the skill sends WoL packets on LAYER 2, the server that hosts the skill MUST BE ON THE SAME NETWORK AS THE DEVICE YOU WANT TO TURN ON! (yes, that's why the skill isn't meant to be published).

The skill is meant to always stay in development mode: the skill sends a WoL signal to a device on the local network via magic packet. If you create the dev account on your account, you'll be able to use the skill on your devices.

Requirements

  • An Alexa dev account
  • A server on the same network as the device you want to turn on

Initial setup/Usage

Alexa

To get started, you'll need an Amazon Developer account.

Once you get it, create a Skill with a custom model, self-provisioned and from scratch.

Setup1 Setup2

Set an invocation name and check if you have those intents:

Setup3

To enable the Italian language open the language dropdown menu and select "Language settings"

Setup4

Python

Now, install the Python requirements with pip3 install -r requirements.txt, edit the run.py file and set the __MAC_ADDRESS__ variable to the MAC address of the device you want to turn on. Now, just run it!

About


Languages

Language:Python 95.0%Language:Dockerfile 4.2%Language:Shell 0.8%