Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When creating feeds, also add the first value #2977

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Technik-Tueftler
Copy link

What

When creating feeds, also add the first value to avoid an error at the start. The problem is that the following error is raised at line 76:

Zurückverfolgung (jüngste Aufforderung zuletzt): Datei "code.py", 
Zeile 74, in <module> Datei "adafruit_io/adafruit_io.py", 
Zeile 707, in receive_data Datei "adafruit_io/adafruit_io.py", 
Zeile 588, in _get Datei "adafruit_io/adafruit_io.py", 
Zeile 554, in _handle_error AdafruitIO_RequestError: Adafruit IO Error 404: not found - API documentation can be found at https://io.adafruit.com/api/docs

if the feed is there but no values. I just took the average value and push it directly when creating the feeds.

Test

Tested under the same hardware configuration as described in the instructions: https://learn.adafruit.com/two-way-display-with-analog-feedback-servos/code-the-two-way-telegraph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant