Change state of Nest thermostat every day at a 6pm
This flow sets the room state of structure of Nest thermostat from 'away' to 'home' every day at a defined time. To set up this flow, you will need to use:
- ‘Clock’ trigger
- Nest ‘Set State of Structure’ activity
Configure the 'Start' icon. Drag and drop the 'Clock' trigger in the given box. Enter value in the fields as per the instructions given below:
Trigger name: Enter a suitable name for the trigger.
Trigger type: Select 'Repeat from' option from the drop-down list. This instructs the trigger to repeat at regular intervals, starting from the specified date and time.
Date: Enter the start date for the trigger to repeat.
Time: Enter the time when you wish the flow to trigger.
Timezone: Select the timezone for the trigger.
Runs on every: Select the trigger interval. The trigger will be fired off every time after the interval specified here. Since we need to set the state of structure every day, select '1 Day' from the drop-down list.
This trigger will fire off the flow every day at 6 pm. Once you have entered all the details, save the trigger and click 'Done'. This will take you back to canvas.
Add Nest ‘Set State of Structure’ activity to the canvas. Connect this activity with the ‘Start’ icon (which now displays ‘Clock’ icon), and configure it. On the configuration page, you will notice a few fields. Enter values in the fields as per the instructions given below:
Nest Access Token: In order to use this activity, you will have to first create an access token. Select 'Add new', and fill in the required details. If you have already created a token, select it from the drop-down list.
Set State: Set the state to home. This activity will ensure that the state is changed to ‘home’ when the clock triggers off at a specified time.
Once you have entered these details, click on 'Done'. This will take you back to canvas. Connect this activity to ‘Stop’ and 'Save' the flow. Now, everyday at the defined time, this flow will be triggered. As a result, it will set state of your Nest thermostat from away to home.