You are reading a single comment by @Tx and its replies. Click here to read the full conversation.
  • ... ok - next solution:

    function planChime() {
      if (chimeTimer) {
        clearTimeout(chimeTimer);
       chimeTimer = undefined;
      }
      chimeTimer = setTimeout(function() {
        Bangle.buzz().then(() => {
          setTimeout(function(){
             planChime();
          }, 2000);
          });
      }, 3600000 - (Date.now() % 3600000));
    }
    
About

Avatar for Tx @Tx started