How to set Nest to Eco Mode when Away?

Hi guys,

I have programmed a couple of routines and I am looking for a way to either:

turn my Nest Thermostat into ECO mode when away
or
set heating point at 62 when away

Could you please help me out with the code below?

Your help is very much appreciated!

image

If you head over to http://community.webcore.co they have a whole section of example pistons you can look at for ideas. Also you can post any questions you have. :slight_smile: