Very interesting, this was the first example I tried with to get started after the 'Hello world..'. Does the Puck know the date and time, or do you need to set it somehow?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I bought Puck.js basically to make sure none in our office changes the aircon settings.
The below app
The app memory and CPU usage are optimized up to my knowledge of JS engines.
Below is the source code of the v1. The latest source code is hosted here.
Suggestions are very welcome.