- Set up the required AWS and PubNub accounts.
- Ensure you have a current version of Node.js installed. You can check versions with
node -v
. - Set up a PubNub channel and keep the Pub/Sub keys given for later reference. (You should have been prompted to create an app when you set up the account)
This portion of the set up will be the most involved, but you should have an app fully functional within 10 minutes or earlier, depending on the familiarity you have with AWS (Amazon Web Services) Lambda, Pub Nub, and the Alexa Skills interface.
This readme assumes basic familiarity with getting an Alexa Skill configured. If you're new to Alexa entirely, consider following Amazon's guide before diving in.
- Clone the repo and cd into
src/
:git clone https://github.com/TylerSmall19/spi-net-skill && cd spi-net-skill/src/
- Install the required Dependencies:
npm install
- Create a .env in
src/
and populate it:
PUB_NUB_CHANNEL_KEY=sky_net
PUB_NUB_PUBLISH_KEY=pub-[YOUR_PUB_KEY]
PUB_NUB_SUBSCRIBE_KEY=sub-[YOUR_SUB_KEY]
AMAZON_APP_KEY=amzn1.ask.skill.[YOUR_SKILL_ID]
- If everything is configured correctly, your Spi Net client should be receiving a command issued from the terminal.