Change state of Nest thermostat every day at a 6pm
This workflow sets the room state of structure of Nest thermostat from 'away' to 'home' every day at a defined time. To set up this workflow, you will need to use:
- ‘Clock’ trigger
- Nest ‘Set State of Structure’ action
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 workflow 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 workflow 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’ action to the canvas. Connect this action 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 action, 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 action 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 the 'NEXT' button, test the action and click on the 'DONE' button. This will take you back to canvas. Connect this action to ‘Stop’ and 'Save' the workflow. Now, everyday at the defined time, this workflow will be triggered. As a result, it will set state of your Nest thermostat from away to home.