I’ve had a weather-based webhook assigned to my Spark (Particle?) core for a couple of days now, and suddenly my webhook isn’t firing anymore. It seems to have happened right around the time that Spark renamed to Particle—could this be a source for the issue?
Before I was able to see my webhook fire and respond inside of my dashboard, but now it doesn’t show up at all any longer.
1.) Hook #555608e22ccd38832b2503df is watching for "get_sunrise"
and posting to: http://api.wunderground.com/api/<myapi>/astronomy/q/NewYork/newyork.json
created at 2015-05-15T14:55:30.522Z
EDIT: The reason it was created recently was because I wanted to make sure it wasn’t an API key problem, so I remade it with a new one. No change.
I haven't tried a new one but this one looks to be working ok. Sort of . I will say that 1 out of every 2 calls seems to either take forever for a response or it just never gets one. I'm not sure if that has to do with the server "load balancing" requests or if it has something to do with the move to particle. That is, I never used it enough before the move to know if the behavior would have been the same.
@lanewinfield i think the hook response appears in the Dashboard when a trigger occurs. Did you see that?
Sorry i would love to unblock you as much as i can but those stuff are beyond my access and the Spark team just wrapped up an awesome week at Maker Faire with all the new name change, photon etc etc.
Yeah, nothing is showing up in the Dashboard that publishes in gotSunriseData. There is another publish that happens in another part of my code that shows up just fine.
This is controlling my blinds, so this is far from time-pressing, so more partying for the Spark/Particle team!
Okay. I fixed it, and as one usually finds out, it’s been user error all along. I had been putting my Spark.subscribe() into loop() and never publishing my webhook.
The weird part is that it seemed to work fine that way for three days and then stopped working entirely. I updated the code and it’s working fine now… hopefully it will work indefinitely.
Thanks for your help, @kennethlimcp. Feeling pretty dumb