Have you tried the code above? Or you need the low power?
The simplest method would be to just keep your own time using the RTC as a base. For instance this should work based on what you say about calibrating it:
var bootTime = getTime();
function getTime() {
return new Date((bootTime+(getTime()-bootTime)*44/43)*1000);
}
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.
Have you tried the code above? Or you need the low power?
The simplest method would be to just keep your own time using the RTC as a base. For instance this should work based on what you say about calibrating it: