To re-synchronise an interval, I'd just clear it with clearInterval and re-start it. I was considering making a library to sync the Espruinos. My idea was:
Have one central Espruino that is always receiving (it never sleeps)
Each transmitter transmits every 60s (or whatever), receives for 1ms, and then sleeps (unless it receives something in which case it keeps listening).
Then it's easy for the 'central' Espruino to just wait until it receives something, and then to send any command it gets out to the receiver.
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.
To re-synchronise an interval, I'd just clear it with clearInterval and re-start it. I was considering making a library to sync the Espruinos. My idea was: