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

Fix: IoT Bird Feeder #2954

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MEMENTO/IoT_Bird_Feeder/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

def send_jpeg_to_io():
# before we send the image to IO, it needs to be encoded into base64
encoded_data = binascii.b2a_base64(jpeg).strip()
encoded_data = binascii.b2a_base64(jpeg).strip().decode("utf-8")
# then, send the encoded_data to Adafruit IO camera feed
print("Sending image to IO...")
io.send_data(feed_camera["key"], encoded_data)
Expand Down
Loading