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

Realtime power #183

Closed
peroveh opened this issue Jun 14, 2022 · 1 comment
Closed

Realtime power #183

peroveh opened this issue Jun 14, 2022 · 1 comment

Comments

@peroveh
Copy link

peroveh commented Jun 14, 2022

Hi... I am trying to read out single (or few) realtime samples of instantaneous power from python. I am uncertain about how to use the (now) pure async examples in a three stage process where I

  1. read a few power samples, with time
  2. Turn on a relay
  3. read a few power sampls again.

This appears a bit tricky to do with the demonstrated asyncio streaming examples..
Is there a way to do single shot http request for example?

@Danielhiversen
Copy link
Owner

Is there a way to do single shot http request for example?

No.
You need to stream the data.

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

No branches or pull requests

2 participants