I have a spark on a remote location and have no physical access at the moment. I can see traffic going to a amazone host. I think this is where the spark cloud is hosted. But in spark web ide the spark is unreachable and from the programmed tcpclient the tcp server doesn’t get any data anymore.
How can I reset the device to be able get it in working mode. And why does spark web ide not show the core online and fails to communicate with each other?
There might be some code knocking the communication to the core offline and remote reset is not really possible… if you did not take that into consideration before performing a remote deployment…
Well, I admit I was a bit optimistic … The test setup had run without issues for multiple weeks (maybe even months) and never had this issue. I tested even with communication issues high delay, package drops etc. All worked fine. Even after total disconnect it returned in working order. All automatic.
I see from tcpdump it is communicating with device.spark.io but the web ide does not show the core to be online. So I think there is may be something more wrong. Not only my lack of recovery or even reset code in the core.
device.spark.io does not see it but tcpdumps look like it is communication (calling home). From the dump it self I can’t tell if it is working normal. As the data looks encrypted (ssl?).
I could get it back by disabling it on the access point ( block wifi device ). This caused the spark core to reset and get a working connection with spark cloud and my tcpserver. Now I need to figure out why it did not talk and how I can make a routine that resets it or a deep sleep calls and hopefully triggers a wakeup for the device.