Yes, that'll be the problem... And while your 24 hour delay doesn't run non-stop, it is unlikely to have the right delay.
I only found out about it on Friday a few hours before I went on a week's holiday, so there wasn't time to fix it. I'll see if I can get something done tomorrow. In the mean time I'm afraid you'll have to use shorter delays (10 minutes?) and a counter...
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.
Yes, that'll be the problem... And while your 24 hour delay doesn't run non-stop, it is unlikely to have the right delay.
I only found out about it on Friday a few hours before I went on a week's holiday, so there wasn't time to fix it. I'll see if I can get something done tomorrow. In the mean time I'm afraid you'll have to use shorter delays (10 minutes?) and a counter...