Hi !
I recently created my local cloud it works great but when I am trying to publish one event it is not getting published.
Here is the curl command it keeps listening but nothing happens:
curl -H “Authorization: Bearer 675db2ed24cbfcad5b1128c0e94dc5f1eed99427” http://10.0.0.7:8080/v1/devices/54ff70066667515155341567/events/light
I tried flushing the tinker app as well as cc3000 but still no luck.
Below is the local server response
10.0.0.7 - - [Wed, 10 Dec 2014 05:52:06 GMT] “GET /v1/devices/54ff70066667515155341567/events/light HTTP/1.1” 200 - “-” "curl/7.37.1"
10.0.0.7 - - [Wed, 10 Dec 2014 05:53:34 GMT] “GET /v1/devices/54ff70066667515155341567/events/light/ HTTP/1.1” 200 - “-” “curl/7.37.1”
Any advice?
Use the general /events
url and watch for all events. The filter doesn’t seem to work in the local
I tried without filter but no luck:
curl -H “Authorization: Bearer 675db2ed24cbfcad5b1128c0e94dc5f1eed99427” http://10.0.0.7:8080/v1/devices/54ff70066667515155341567/events/
:ok
Thanks,
Satyen
can you try spark subscribe
on your command line?
That is the next step I am trying now. Thanks for help.
No success.
spark subscribe light 54ff70066667515155341567
Subscribing to “light” from 54ff70066667515155341567’s stream
Listening to: /v1/devices/54ff70066667515155341567/events/light
Nothing happens.
Thanks,
Satyen
@satendra4u, i mentioned previously that the command to use will be spark subcribe
Done and working . Thanks !
Is there any tutorials where I can see which functionalities does work and does not work for spark cloud vs local cloud. This will really help me.
Thanks,
Satyen
It’s documented here https://github.com/spark/spark-server#what-features-are-currently-present
but most comes from my personal experience using it
Ok. Let me go through it.
Thanks,
Satyen
I made pull requests to solve this problem