To avoid struggling with reset button during software development, I defined an IFTTT DO button to enterSafeMode after a debug run. This generated a slew of IFTTT error notifications. My guess is the Electron shuts down before completing IFTTT handshaking. To fix this, I set a counter and let loop decrement it so that it loops a few times (5) before executing the enterSafeMode(). If practicle, the Electron should ensure a clean termination.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
IFTTT DO particle action error | 14 | 3521 | April 24, 2016 | |
IFTTT Do button to interact with Electron for users unaffiliated with a Particle account (wording is confusing, check inside) | 0 | 1426 | March 20, 2016 | |
Electron Shutdown Callback | 1 | 789 | April 12, 2017 | |
Electron disconnects frequently | 5 | 1392 | March 13, 2017 | |
Electron on 0.5.4 enters safe mode autonomously (trying to account for behavior) | 0 | 396 | July 17, 2019 |