Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Client example not working as shown #11

Open
nikmart opened this issue Jan 28, 2016 · 1 comment
Open

Client example not working as shown #11

nikmart opened this issue Jan 28, 2016 · 1 comment

Comments

@nikmart
Copy link

nikmart commented Jan 28, 2016

Hi there,

I have been trying to use the client on both my Raspberry Pi 2 running Node.js 4.2 and my Mac running Node.js 5.5. When I try the client example I can configure, but when trying to list feeds I cannot get similar results to the guide. I configured my username and key from adafruit.io using the config command and that seemed to work fine (though not sure how to check that it did).
Here is what I get on both systems when I try the client:

nik@DN51skbb:~$ adafruit-io client feeds all
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
[info] Success
[]

I looked this line up and found some links to an issue with swagger [https://github.com/swagger-api/swagger-js/issues/689]

Tried also just to get one feed test from my account

nik@DN51skbb:~$ adafruit-io client feeds get test
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
[error] [object Object]

Similar thing if I try to send some data (which does not send):

nik@DN51skbb:~$ adafruit-io client data send test 10
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
Method getMockSignature is deprecated
Methods createJSONSample and getSampleValue are deprecated
? data.value (optional): 10
? data.lat (optional): 
? data.lon (optional): 
? data.ele (optional): 

Not sure what is going wrong. any thoughts on what might be happening?

@toddtreece
Copy link
Contributor

@nikmart i'm actually working on client updates today, so i'll let you know when those errors are fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants