Skip to main content

iRidi for Nest

Tools for creating interfaces to control Nest equipment.

Note
  • The driver is for a server project only.

Documentation updated 01.01.2024

iRidi for Nest is a set of tools for creating an interface to control Nest equipment. The cloud driver communicates with the equipment through HTTP requests.

Connection​

To connect to Nest equipment:

  1. Configure your Google account to work with Nest equipment.

  2. Create a cloud object for your iRidi Pro project.

  3. Follow the link and sign in to your iRidi account.

  4. Select Connect for the Nest driver.

IR_assistant_nest_connect.png

  1. Grant permission to view and use data about your home from the Google Home application.

  2. Select the required object in the iRidi cloud.

IR_assistant_choose_object.png

  1. Select Link. The linking session may expire, in which case you will receive the error invalid_grant / Bad Request. Return to step 4 and repeat the subsequent steps.

IR_assistant_nest_connect_2.png

  1. Download the JS file containing the driver structure. The current OAuth2.0 token for equipment access is shown below. This token replaces regular authentication.

Download_json.png

  1. Import the downloaded JS file into iRidi Studio.

  2. Upload your project with the Nest driver to the iRidi cloud object.

Important

Because this is a cloud driver, it works only when the project is launched from the cloud.

If the authorization token is no longer valid:

  1. Follow the link.

  2. Select Issued tokens.

  3. Select the i3pro object linked to the Google account and Nest equipment.

  4. Synchronize the token and click Devices and structures.

  5. Copy the access token.

  6. You can update the token in the project's driver settings in iRidi Studio (then update the project in the cloud), or enter a new token in the device settings in the server's web interface.

Working in iRidi​

Create a new project and add the Nest Network driver by importing it or entering the data manually.

Importing data​

To import equipment commands and feedback channels from a JS project:

  1. Start iRidi Studio, create a project, and open the side panel Devices .

Nest1.png

  1. In the Scanner / Import dialog, select **Universal import from JS (.js, .json) and open the project file.

Nest2.png

Adding the driver manually​

  1. In the project, open the Devices panel and add the driver Nest Network :

Nest3.png

  1. Left-click the driver to add a subdevice (Add subdevice) and specify the driver's connection settings:

Nest4.png

  • Log Level - logging level;
  • Token - OAuth2.0 authorization token (filled in automatically during import).
  • Driver Version - driver version.

Nest5.png

  • Name - the subdevice name;
  • Driver Type is the driver type;
  • Subdevice ID - the subdevice identifier;
  • Device Type - subdevice type.

Devices​

Nest device commands and feedback have no specific settings. They are created with predefined settings when you add the device. To control equipment, send a value to a command (Send number, Send string, send value from object).

Thermostat​

Command:

Command / feedbackValueDescription
Mode OffValueSelect mode - off
HeatValueSelect mode - heat
CoolValueSelect mode - cool
HeatCoolValueSelect mode - heat-cool
Heat Temperature9–32Target heating temperature
Cool Temperature9–32Target cooling temperature
HeatCool Low Temperature9–32Lower temperature limit for heat-cool mode
HeatCool High Temperature9–32Upper temperature limit for heat-cool mode
Eco Mode OnValueEnable eco mode
Eco Mode OffValueDisable eco mode
Fan Timer OnValueTurn on ventilation for a duration in minutes
Fan Timer OffValueTurn off ventilation

Feedback:

Command / feedbackValueDescription
ModeOff
Heat
Cool
HeatCool
Current mode
HVAC"OFF"
"HEATING"
"COOLING"
Current device operating state
Eco Mode0–1Current eco mode: 1 - manual eco mode, 0 - off
Eco HeatValueTemperature at which heating operates in eco mode
Eco CoolValueTemperature at which cooling operates in eco mode
Temperature Heat9–32Current target heating temperature
Temperature Cool9–32Current target cooling temperature
Temperature HeatCool High9–32Current upper temperature limit set for heat-cool mode
Temperature HeatCool Low9–32Current lower temperature limit set for heat-cool mode
Connectivity0–1Thermostat connectivity: 1 - on, 0 - off
Fan Mode"on / off"Current ventilation state: on - enabled, off - disabled
Fan Timer TimeoutValueVentilation timer expiration time
Humidity0–100Current humidity (%)
Info"Thermostat"Device name in the Nest application
Settings"CELSIUS"Temperature unit: CELSIUS - Celsius, FAHRENHEIT - Fahrenheit
Ambient TemperatureValueCurrent temperature