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

How to send data to Adafruit.io? #10

Open
rjcorwin opened this issue Dec 18, 2015 · 3 comments
Open

How to send data to Adafruit.io? #10

rjcorwin opened this issue Dec 18, 2015 · 3 comments

Comments

@rjcorwin
Copy link

Hi Todd. I didn't realize this library was a CLI until jwcooper pointed it out here. I had been building my own CLI just for sending data.

I'm attempting to create new data but not seeing any in the abc feed that I created. Am I doing this correctly?

$ echo '42' | adafruit-io client data create abc
? data.value (optional): 42
? data.lat (optional):
$ echo '42' | adafruit-io client data send abc
? data.value (optional): 42
? data.lat (optional):

I configured doing ...

$ adafruit-io client config --username rjsteinert --key xxxxxxxxxxxxxxxx
@toddtreece
Copy link
Contributor

@rjsteinert try this:

$ adafruit-io client feeds write abc

@rjcorwin
Copy link
Author

Hi Todd - Thanks for the reply. I tried this twice...

echo 42 | adafruit-io client feeds write abc

This is what I see on the other end.
screen shot 2015-12-19 at 10 29 03 am

And then doing this, things get even more strange...

screen shot 2015-12-19 at 10 33 40 am

screen shot 2015-12-19 at 10 32 34 am

Then I tried a new feed efg (that does not yet exist).
screen shot 2015-12-19 at 10 36 42 am

And I see I now have two efg feeds with the data spread out between the two.

screen shot 2015-12-19 at 10 37 36 am

screen shot 2015-12-19 at 10 38 19 am

screen shot 2015-12-19 at 10 38 44 am

@rjcorwin
Copy link
Author

Creating a new hij feed via the UI first and then using the command looks like it works as expected.

screen shot 2015-12-19 at 10 41 12 am

screen shot 2015-12-19 at 10 40 32 am

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