0

Adafruit I0 errors
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Adafruit I0 errors

by avvy69 on Sat Dec 07, 2019 1:28 pm

I have my DHT connected to a pi zero using the instructions from this site. When I run the example temp_humidity.py code, it returns these errors:

pi@raspberrypi:~/Downloads/Adafruit_IO_Python/examples/basics $ python3 temp_humidity.py
Traceback (most recent call last):
File "temp_humidity.py", line 46, in <module>
temperature_feed = aio.feeds('temperature')
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_IO/client.py", line 274, in feeds
return Feed.from_dict(self._get(path))
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_IO/client.py", line 118, in _get
self._handle_error(response)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_IO/client.py", line 108, in _handle_error
raise RequestError(response)
Adafruit_IO.errors.RequestError: Adafruit IO request failed: 404 Not Found - not found - There is no feed with the key 'temperature'. You can create one using the feed creation API https://io.adafruit.com/api/docs/#operation/createFeed or at https://io.adafruit.com/avvy69/feeds

When I go to the link in the error, there is nowhere I can actually input and data or information.

avvy69
 
Posts: 31
Joined: Sun Sep 15, 2019 8:01 am

Re: Adafruit I0 errors

by brubell on Mon Dec 09, 2019 11:27 am

Hi,

Adafruit IO's HTTP API and MQTT API Documentation had been recently updated. Error message URLs should point to new API documentation. Thanks for pointing this out.

The correct URL is https://io.adafruit.com/api/docs/#create-feed


Could you create a feed, from the Adafruit IO Website, named temperature and try running the script again?

-----
I've put an issue into Adafruit IO Python, I will work towards updating all the URLs within the library: https://github.com/adafruit/Adafruit_IO ... issues/105

brubell
 
Posts: 696
Joined: Fri Jul 17, 2015 10:33 pm

Re: Adafruit I0 errors

by avvy69 on Tue Dec 10, 2019 1:50 pm

Thanks but as I said at the bottom of my initial post, there is no where I can ctually input any text, as all the boxes on that webpage are un editable

avvy69
 
Posts: 31
Joined: Sun Sep 15, 2019 8:01 am

Re: Adafruit I0 errors

by brubell on Wed Dec 18, 2019 5:22 pm

avvy69 wrote:Thanks but as I said at the bottom of my initial post, there is no where I can ctually input any text, as all the boxes on that webpage are un editable


Could you please take a full-page screenshot of this? Thank you.

- brent r.

brubell
 
Posts: 696
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.