Revolution Roli

Nest Thermostat

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.


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

Last updated 5/14/2015

Table of Contents




2. Blockly