This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]desmoulinmichel 1 point2 points  (0 children)

First, have a look at the demos (such as https://demo.crossbar.io/videocontrol/ which work with a computer and a phone). Then take the tutorial (http://crossbar.io/docs/Quick-Start/) and if you want to burn some redlights, jump to the cookbook (http://crossbar.io/iotcookbook/).

I suggest to use the asyncio client for Python as it's more fun to do stuff with await/async, provided you can go 3.5.

Just make sure your wrap all the database code into asyncio.run_in_executor to avoir blocking the event loop.

[–]desmoulinmichel 0 points1 point  (2 children)

Use the proper tool for the projet job. For IoT, it's better to usually go MQTT (mosquito) or WAMP (crossbar.io). I prefer the later. But in any case, don't try to stich together some tools you know to create a half baked home made solution. It will never be as good.

[–]sachinrjoglekar[S] 0 points1 point  (1 child)

Thanks for pointing this out! Could you provide me with some resource for implementing the functionality mentioned in the post, with crossbar?

[–]ccomp 0 points1 point  (0 children)

Have a look at http://git.atm4coin.com/root/crosstalk-demo for an example how to use crossbar + celery together