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

Client example not working as shown #11

@nikmart

Description

@nikmart

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions