Streaming data #110
Unanswered
CBaerentsen
asked this question in
Q&A
Replies: 1 comment
-
You can't use streaming data to wait for an event. Streaming data stops if values are unchanged for 10 seconds, so it's most useful while driving. If you are waiting for an event, you need to poll the API. The provided gui.py polls every 5 seconds for instance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am programming my car such a raspberry pi releases the charging cable when the trunk is open. The problem is that I am asking for vehicle data every 4 seconds.
I don't quite understand how to stream the data such I will be waiting for an event to happen, instead of asking every 4 seconds if something has changed.
Is streaming the data or waiting for an event change possible?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions