Program your ez-robot to communicate with a Nest Thermostat. If speech recognition has been configured correctly, speak the phrase "What is the temperature of my house" and receive a response from your ez-robot while it executes the Thinking animation.
This activity requires a connection to both the robot and internet at the same time. This is because the service used in the activity requires connectivity to a server on the internet. This can be achieved by either adding a
second USB WiFi adapter to your PC, or setting the robot's
EZ-B into Client Mode.
Instructions
Load EZ-Builder
Load the latest JD project from the EZ-Cloud Robot AppStore
Let's give EZ-Builder access to your Nest Thermostats
Options. Global Settings. Nest
Get Verification Code
Agree to EZ-Builder having permission to access your Nest Thermostat
Login to the Nest website with your credentials
Copy the Pincode
Paste the Pincode and verify
EZ-Builder now has access to your Nest Thermostat
Project. Add Control. Misc. Nest
Nest Control is now added to your project
Project. Add Control. Audio. Speech Recognition.
Speech Recognition is now added to your project
Your JD must be connected to your network in Client Mode. See the description of this video for a link to the Client Mode tutorial.
http://www.ez-robot.com/Tutorials/Lesson/15?courseId=5
Connect to JD on your local network
Connect to JD's camera on your local network
Configure Speech Recognition
Enter the phrase "What is the temperature of my house"
Press the multiline script edit button
Cheat Sheet
Locate Nest and select the Control Command with parameter Run Once
Looking at all declared variables. We do not see any Nest variables yet.
Run this script to have the Nest control fetch variables from your Nest devices.
Refresh the variable list to see all nest variables
SayEZB("The temperature of your house is " + $nest_temp_c + " degrees")
Let's add an action at the beginning of this script to give JD some personality
In the cheat sheet, locate the Auto Position Action Thinking. and select
Save the script
Save the speech recognition config
If speech recognition has been configured correctly, speak the phrase "What is the temperature of my house" and receive a response from JD while he executes the Thinking animation.
Continue to Next lesson