@ScruffR I did not write that code and I don’t know how it works. I got it from this thread. All I want is something that stops the device from trying to connect when the wifi goes down. Then, after say, a minute, it tries to connect again. If it fails, it will retry again once a minute.
osprey
49
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Long Term Photon Connection Stability | 221 | 35115 | June 25, 2020 | |
| Photon 2 frequently goes offline and eventually locks up | 16 | 573 | September 16, 2023 | |
| Photon Repetitive Connecting to the Cloud | 9 | 654 | July 14, 2020 | |
| Photon/P1 loop()/user code blocking in SEMI_AUTOMATIC mode | 42 | 7663 | April 9, 2019 | |
| [SOLVED] Photon goes off-line frequently | 20 | 5202 | December 22, 2017 |