Open lefec opened 6 years ago
Hello Lefec,
I had the same problem as you, sincerely the only thing I can recommend you is switching to python and use paho mqtt.
You can use the timeout parameter Example:
mqtt_run(timeout = 1)
But be careful this timeout is an interval in minutes contrary to what you can read in documentation. Also it is not really usable because the process is not really close, you only don't have new data coming after the timeout.
Hi, thanks for your making this package. I am playing around with MQTT for the first time today. I am trying to use shiny for displaying live sensor data.
This is the example you gave on the frontpage:
I can't figure out how to stop it from executing (for me it is printing out the subtitles without an end). I set the 'times' argument in mqtt_run but it does not seem to have any effect.
I am not really interested in printing the results to the console but to save them in a vector to make some quick analysis.