Re: Showing AIO data on a Pyportal
by HarpDude on Fri Oct 23, 2020 2:52 pm
I replaced the code you most recently referenced on a PyPortal running CircuitPython 6.0.0-beta.2 (2020-10-05). It worked much better than the 1.6.0 version I found; the found version would retransmit about 25% of the time. Your referenced version ran with no retransmissions during an hour of testing.
Results were the the same with CircuitPython 6.0.0-rc.0 (2020-10-20) and the latest bundle (sans the bundled Requests library, of course).
Thank you for your help Brent. This puts the workshop corrosion monitor project back on track just in time for the seasonal change when the corrosion potential increases dramatically.
BTW, it would be extremely useful to have a companion pyportal.pull_from_io(feed) function to retrieve a feed's latest data point. Would an addition like that be possible?