ScruffR,
Well, right after I posted that…
So, this is the pattern,
- Time.minute() changes to 43 and the program takes a soil moisture reading
- The soil moisture raw reading and description are reported using Particle.publish - this is complete in the 1st second
- At about the “middle” of the minute (29 seconds) the Photon goes offline and reconnects 8 seconds later
- The next reporting at 44 minutes goes off without a hitch.
What is the Photon doing during that time besides running in the main loop with the if (Time.minute() != currentPeriod) switch? Does it update the Particle.variable or Particle.function values?
These intermittent problems are always the hardest to solve.
Thanks,
Chip