I’m just evaluating crossbar.io.
I have setup a small Dashboard-Frontend that shows the status of calculations on the system.
The Front-End can trigger to capture an image. Calcluations are made on the image. The results are published and send with LoRa.
I use PubSub to share information and trigger new events.
There are 3 components:
- Capture an image
- make calculations on the image
- send the result via LoRa
The Dashboard is showing the status of the 3 modules (blinking lights if heartbeat received).
But If I press the capture button. The Front-End is not updated until the
last message (from LoRa) is published.
The source code can be found here:
I’m absolute beginner in async-programming. Perhaps there is a blocking call somewhere or the logic is absolutly wrong.
Thanks for any hints.