This morning when I powered up my test devices, all except one worked as I expected - came alive and did their thing
The one that did not appeared to be be receiving response from webhook.
Pressed the reset on the failing boron and now all is well.
Some facts: System_thread = enabled, system_mode = Semi_automatic, OS 1.5.2
Setup goes like this:
wait until particle connected is true
wait 20 seconds,
I have been using this approach successfully for some 2 years acros Electrons and now boron LTE. This is the firsts time I have observed this type of failure.
- Am I missing something
- Is there a better setup sequence I should be using.
- Is there any way to detect that “Particle.subscribe” did not stick.
- Is there any harm in add the same “Particle.subscribe” to the loop or at least in the error recovery path in the loop. For reliability the flow is: particle.publish --> webhook --> response --> subscribe. If there is not response in N seconds, publish it repeated (could add “Particle.subscribe” here).
- Any other suggestions or ideas.