Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

IO to Titano example?
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.

IO to Titano example?

by mattlewis on Fri Jan 10, 2020 11:44 am

Hi - just getting started and recently went through the IO beginner guides.
I have a device feeding data into an IO feed working great.

I now have a PyPortal and figured there would probably be a learning guide for pulling data from IO to display on your PyPortal (e.g. as a line graph)

I'm not finding a basic IO to PyPortal guide or example... does that exist? thanks!

mattlewis
 
Posts: 8
Joined: Mon Sep 23, 2019 10:51 am

Re: IO to Titano example?

by jwcooper on Mon Jan 13, 2020 12:03 pm

This guide will get you all setup with IO on the PyPortal:
https://learn.adafruit.com/iot-pyportal ... ython-code

It's setup to send data, but the switch from sending to receiving is fairly simple with the python library. Here are examples on how to receive data:
https://github.com/adafruit/Adafruit_IO ... /simple.py

Displaying data on the PyPortal (also shows more IO integration):
https://learn.adafruit.com/pyportal-sma ... cuitpython

jwcooper
 
Posts: 679
Joined: Tue May 01, 2012 9:08 pm

Re: IO to Titano example?

by mattlewis on Mon Jan 13, 2020 1:09 pm

Thanks for the helpful links. I suspect I'll have no problem piecing together IO feed to Titano code from bits of other examples... there seem to be plenty of great guides showing each part of process.

I'm trying to figure out what things are SUPER easy for my non-programmer students to do (like Adabox / CPX / IO easy) . While I immediately found guides demonstrating how to use the PyPortal as an IoT display to show other internet data feeds, I was sure there must be an existing guide somewhere showing how to display data from IO feeds. I know the answer to this is that I should make probably try and make one :)
Thanks again.

mattlewis
 
Posts: 8
Joined: Mon Sep 23, 2019 10:51 am

Please be positive and constructive with your questions and comments.