# Google Nest

> Read Nest homes, rooms and devices; control thermostat settings, fan timers and camera streams.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/google-nest

## Actions

### Generate rtsp stream

Generate rtsp stream.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "results": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get device

Get device.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "name": "example",
    "parentRelations": [],
    "traits": {},
    "type": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get room

Get room.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Structure (`structure_id`, text, required): Choose the structure or use an ID from a previous step.
- Room ID (`room_id`, text, required): Room id.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "name": "example",
    "traits": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get structure

Get structure.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Structure (`structure_id`, text, required): Choose the structure or use an ID from a previous step.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "name": "example",
    "traits": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List devices

List devices.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "devices": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List rooms

List rooms.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Structure (`structure_id`, text, required): Choose the structure or use an ID from a previous step.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "rooms": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List structures

List structures.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "structures": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### Set cool temperature

Set cool temperature.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Cooling temperature (°C) (`cool_celsius`, number, required): Target cooling temperature in degrees Celsius.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Set fan timer

Set fan timer.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Timer mode (`timer_mode`, text, required): Timer mode. One of: `ON`, `OFF`.
- Timer duration (seconds) (`duration_seconds`, number): How long the fan runs, from 1 to 43,200 seconds. Leave empty for the device default. From 1 to 43200.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Set heat temperature

Set heat temperature.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Heating temperature (°C) (`heat_celsius`, number, required): Target heating temperature in degrees Celsius.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Set temperature range

Set temperature range.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Heating temperature (°C) (`heat_celsius`, number, required): Target heating temperature in degrees Celsius.
- Cooling temperature (°C) (`cool_celsius`, number, required): Target cooling temperature in degrees Celsius.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Set thermostat mode

Set thermostat mode.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Mode (`mode`, text, required): Mode. One of: `OFF`, `HEAT`, `COOL`, `HEATCOOL`.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Stop rtsp stream

Stop rtsp stream.

**Inputs**

- Project ID (`project_id`, text): Leave empty to use the connected Device Access project.
- Device (`device_id`, text, required): Choose the device or use an ID from a previous step.
- Stream extension token (`stream_extension_token`, text, required): Stream extension token.

**Outputs**

- `data` (object): An empty object confirms that the device accepted the command.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```
