@possmann sorry I got distracted by other things and never finished this module properly, but as Gordon said it shouldn't be too difficult now - unless you want to handle alarms as events, in which case I'm not able to help :)
As a side note - if you don't need alarms and don't mind hacky solutions then you can use write/read scratchpad functions to persistently store your data in these unused registers.
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.
@possmann sorry I got distracted by other things and never finished this module properly, but as Gordon said it shouldn't be too difficult now - unless you want to handle alarms as events, in which case I'm not able to help :)
As a side note - if you don't need alarms and don't mind hacky solutions then you can use write/read scratchpad functions to persistently store your data in these unused registers.