adafruit-io-node
adafruit-io-node copied to clipboard
How to send data to Adafruit.io?
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
@rjsteinert try this:
$ adafruit-io client feeds write abc
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.
And then doing this, things get even more strange...
Then I tried a new feed efg
(that does not yet exist).
And I see I now have two efg
feeds with the data spread out between the two.
Creating a new hij
feed via the UI first and then using the command looks like it works as expected.