To have our virtual fireplace respond to events from Alexa, you need to run a client that listens for messages on your SQS queue and shows a virtual fireplace that responds to events.
- From the command line, navigate to the client directory of your skill-sample-smarthome-fireplace-python directory.
- Open
fireplace.js
file in the /src directory and update theregion
,sqsQueueUrl
, andIdentityPoolId
variables, which are marked with// TODO replace ...
comments. - From the
client
directory, run the commandnpm install
from the command line. - From the same
client
directory, run the commandnpm run start
to start the client. - Once started, visit http://localhost:9000/ to view the virtual fireplace.
- Leave the webpage open and the client running in the background and proceed with the next step.
The client should now be running on your computer and listening for messages from your Alexa skill handler. You should see fireplace burning. In the next step, you'll be able to power the virtual fireplace off and on.
Next to Step 10. Test the Skill
Return to the Instructions