Skip to content

Will data be pushed or do I need to pull? #67

Answered by boredomwontgetus
wizzywik asked this question in Q&A
Discussion options

You must be logged in to vote

As i have some time left i take the liberty to answer for Till! (He will correct me if i am wrong)

1.) weconnect-mqtt polls the VW servers in a certain interval (i believe 300s per default)
2.) as soon as it receives data from the VW servers it publishes (push) it to your mqtt-broker
3.) from there you can grab (subscribe) it with any mqtt-client you wish. this way your mqtt-client sees new values anytime they are updated.

see also: https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

HTH, Tom

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tillsteinbach
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants