Now, you can try control the Smart Lamp power status using voice.
-
Make sure your smart lamp simulator is running
-
Try speak
Alexa, turn on <device-friendly-name>
to Alexa App -
Try speak
Alexa, turn off <device-friendly-name>
to Alexa App -
Check your Smart Lamp Simulator output
-
Go to Alexa Developer Console, select your Skill
You may have multiple lamps in multiple rooms. Try create one living room, one bedroom, two lamps. Put one lamp in each room, and try Alexa, turn on the Lamp in bedroom.
-
create another Smart Lamp
-
Bind Smart Lamp to user
-
Run Discover again
-
Create groups
-
Associate groups and devices
-
Edit friendly name of device
Now the Smart Lamp is considered as an "Other" device in Alexa App. Modify the code to make the lamp can be recognized as a standard Alexa-Enabled Light. If doing so, you can control the Light device by tap the Lamp' ON/OFF button in Alexa App.