How To Add This Control To Your Project
Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the
Step #5) Press the
icon to add the control to your project
The NEST (www.nest.com) devices (thermostat and co/smoke detector) connect your home to the internet. With the EZ-Robot Nest Control, your robot can request and set the temperature of your home. EZ-Builder will require access to the your Nest devices, which can be done with the following steps in EZ-Builder...
Configure Nest Access
1. Press OPTIONS from EZ-Builder top menu
2. Select NEST from Global Settings in top menu
3. Follow the instructions to activate EZ-Builder with your Nest account
Once activated, you will be able to trigger the Nest Control to query your registered Nest devices data. The request will store the data in EZ-Script variables, which you can use in script within your projects. There is an example Nest project in EZ-Builder which demonstrates how to use the Speech Recognition control, or Script control to speak the temperature of your Nest Thermostat device.
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
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
Locate Nest and select the ControlCommand() 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.
1. Press File -> Open in EZ-Builder top menu
2. Press Examples from the File Open dialog
3. Select EZ-Script Examples folder
4. Scroll down or search for the project titled Nest
Once the control has been added, the ez-script variable data will be configured with a manual nudge from EZ-Script. The code below shows how to have Nest update and speak the temperature out of the PC speaker.
# Update the variables with your Nest device data
# Speak the temperatue out of the PC speaker
say("The temperature is " + $nest_temp_c + " celcius")
# speak the temperature out of the robots speaker
sayEZB("The temperature is " + $nest_temp_c + " celcius")
EZ-Robot is not a manufacturer of this third party hardware device. . Nor is ezrobot responsible for the operation of this third party device. For operational questions, it's best to consult the instruction manual for operational