I cannot suddenly post anymore to any of my feeds and I am not sure if you're doing some mainteinance work or if I caused some error.
Based on the library here https://github.com/adafruit/Adafruit_IO ... A/FONA.ino, I created a code that was posting values to my feeds and it was working fine.
Today, I wanted to post a CSV String containing GPS data, but I did not declare the feed as CVS type. Since then, any post to any Feed (also non CSV) is not working anymore. Can it be that after posting a CSV String to a non-CSV feed, now there is something hanging on the server side? Or maybe there are currently other problems with AIO? The string looked similar to this "0,1.198365,29.100436,135.000000" (I changed the values for privacy...).
I am using REST API. The code for a non-CSV feed look like this (I write here only the relevant part)
Code: Select all
#define AIO_KEY "mykey..."
Adafruit_IO_FONA aio = Adafruit_IO_FONA(fona, AIO_KEY);
Adafruit_IO_Feed battFeed = aio.getFeed("battFeed");
if (battFeed.send(battVoltage)) {
Serial.print(F("Wrote value to feed: ")); Serial.println(battVoltage);
}
else {
Serial.println(F("Error writing value to feed!"));
}
Code: Select all
Adafruit_IO_Feed gpsLocFeed = aio.getFeed("GPSloc.csv");
Thanks
PS: Maybe you do this already, if not, can you please post in the forum or somewhere if there is mainteinance work or some error that cause the IO not to work? I know it's still Beta, but it would be good if possible