Store data

Hi,
I am thinking to write a simple “remote thermostat” and I need to store the target temp.
That value can be changed at any time by UI (probably HTML5 page)

Is the server.save(t); the easy and secure way to doit ?

Thanks
elfugo

Yes, although it’s worth noting that server.save(t) and server.load() only work in the agent - so if you need it at the device level, you’ll need to pass it to the device with device.send().