Hi all, hope you can help.
Got a couple of Spark Cores the other day. I made a simple temperature sensor using a DHT22 and an example from a library.
This evening I added a longer wire to the DHT22, plugged it all in and… nothing. Core was acting offline even though it was breathing cyan. Took it out of the circuit - same. Breathing cyan but acting offline.
Weird, thought I. But then over the past 24 hours it has been randomly going offline, restarting and needing a reset. So I unboxed my second core, claimed it, swapped it in, and flashed it. Exactly the same as above.
So I reset it by holding down “MODE” until the quick-blue-blinks tell me it’s wiped and the slow blue blinks tell me it’s listening. I use the CLI spark setup to claim it again, and all is fine until it gets to “breathing rainbows” which doesn’t work (but it does breathe cyan). Anyway, I skip past that and I can see it is claimed on my account.
Here’s the extra-weird bit. Every time I pull the power and re-plug it, the online build IDE will give it a little “online” icon next to it, BUT I cannot get at it via cURL and “spark list” shows it as offline. Refreshing the IDE removes the icon. My code shouldn’t be killing it, because the reset removes it, right?
Totally confused and a little afraid that I’ve irreparably damaged my new toys, even though I can’t see how this circuit would do so (it’s this one: https://github.com/piettetech/piettetech_dht ).