Read IO data with a pyportal
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- Kidkill
- Posts: 68
- Joined: Mon Mar 18, 2019 7:21 pm
Read IO data with a pyportal
Hello, is is possible to post sensor data to adafruit IO with a device like the funhouse then display that info on a device like the pyportal? I have figured out how to connect the funhouse to IO and post data, but not how to display that info other than on the web browser. Is there a guide I am not finding for displaying that info on a device?
- eherrada
- Posts: 161
- Joined: Thu Jan 04, 2018 4:59 pm
Re: Read IO data with a pyportal
This should have what you need. You may need to cut out a few bits you don't need, but the important stuff's there, https://learn.adafruit.com/pyportal-pet ... code-setup
Also, if you want to just display it on the FunHouse (and PyPortal, when I get around to adding support), check out this library that does all the heavy lifting of creating the UI and setting callback functions: https://github.com/adafruit/Adafruit_Ci ... sh_Display
Also, if you want to just display it on the FunHouse (and PyPortal, when I get around to adding support), check out this library that does all the heavy lifting of creating the UI and setting callback functions: https://github.com/adafruit/Adafruit_Ci ... sh_Display
- Kidkill
- Posts: 68
- Joined: Mon Mar 18, 2019 7:21 pm
Re: Read IO data with a pyportal
dherrada, thank you for your response. I'm not sure if these will do what I am looking to do, but I could be wrong. I'm looking to put a device such as the funhouse in the garage to collect sensor data and post it to IO, then have another device in the house to display that info. I don't know if IO can even be used in this way, but it seems like it might. Are the examples you've shared showing me how to do this, and I am just missing something?
Thanks
Thanks
- Kidkill
- Posts: 68
- Joined: Mon Mar 18, 2019 7:21 pm
Re: Read IO data with a pyportal
dherrada, I spoke too soon, I see now that your code is doing exactly what I am trying to do. Thank you very much!
- eherrada
- Posts: 161
- Joined: Thu Jan 04, 2018 4:59 pm
Re: Read IO data with a pyportal
Awesome. Let me know if you've got any questions
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.