iRidi for Nest
Tools for creating interfaces to control Nest equipment.
- 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:
-
Configure your Google account to work with Nest equipment.
-
Create a cloud object for your iRidi Pro project.
-
Follow the link and sign in to your iRidi account.
-
Select Connect for the Nest driver.

-
Grant permission to view and use data about your home from the Google Home application.
-
Select the required object in the iRidi cloud.
- 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.

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

-
Import the downloaded JS file into iRidi Studio.
-
Upload your project with the Nest driver to the iRidi cloud object.
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:
-
Follow the link.
-
Select Issued tokens.
-
Select the i3pro object linked to the Google account and Nest equipment.
-
Synchronize the token and click Devices and structures.
-
Copy the access token.
-
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:
- Start iRidi Studio, create a project, and open the side panel Devices .
- In the Scanner / Import dialog, select **Universal import from JS (.js, .json) and open the project file.

Adding the driver manually
- In the project, open the Devices panel and add the driver Nest Network :

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

- Log Level - logging level;
- Token - OAuth2.0 authorization token (filled in automatically during import).
- Driver Version - driver version.
- 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 / feedback | Value | Description |
|---|---|---|
| Mode Off | Value | Select mode - off |
| Heat | Value | Select mode - heat |
| Cool | Value | Select mode - cool |
| HeatCool | Value | Select mode - heat-cool |
| Heat Temperature | 9–32 | Target heating temperature |
| Cool Temperature | 9–32 | Target cooling temperature |
| HeatCool Low Temperature | 9–32 | Lower temperature limit for heat-cool mode |
| HeatCool High Temperature | 9–32 | Upper temperature limit for heat-cool mode |
| Eco Mode On | Value | Enable eco mode |
| Eco Mode Off | Value | Disable eco mode |
| Fan Timer On | Value | Turn on ventilation for a duration in minutes |
| Fan Timer Off | Value | Turn off ventilation |
Feedback:
| Command / feedback | Value | Description |
|---|---|---|
| Mode | Off Heat Cool HeatCool | Current mode |
| HVAC | "OFF" "HEATING" "COOLING" | Current device operating state |
| Eco Mode | 0–1 | Current eco mode: 1 - manual eco mode, 0 - off |
| Eco Heat | Value | Temperature at which heating operates in eco mode |
| Eco Cool | Value | Temperature at which cooling operates in eco mode |
| Temperature Heat | 9–32 | Current target heating temperature |
| Temperature Cool | 9–32 | Current target cooling temperature |
| Temperature HeatCool High | 9–32 | Current upper temperature limit set for heat-cool mode |
| Temperature HeatCool Low | 9–32 | Current lower temperature limit set for heat-cool mode |
| Connectivity | 0–1 | Thermostat connectivity: 1 - on, 0 - off |
| Fan Mode | "on / off" | Current ventilation state: on - enabled, off - disabled |
| Fan Timer Timeout | Value | Ventilation timer expiration time |
| Humidity | 0–100 | Current humidity (%) |
| Info | "Thermostat" | Device name in the Nest application |
| Settings | "CELSIUS" | Temperature unit: CELSIUS - Celsius, FAHRENHEIT - Fahrenheit |
| Ambient Temperature | Value | Current temperature |