MQTT-like Publish-Subscribe with Python and WebSockets? -


i'm working on project needs framework handle pub/sub connections between webpage , python.

i've used mosquitto (an open-source implementation of mqtt) , worked, server needs modded apache module redirect websocket connections broker.

right now, i'm looking @ tornado doesn't fit on requirements. need solution follwing:

  • a web page connects python server or kind of broker , subscribes topic receive data associated topic.
  • every time python has data associated topic (let's every 10 seconds), data sent specific client (or clients) subscribed topic.

thanks in advance

you try hivemq* mqtt broker instead of mosquitto has mqtt on websocket support built in.


Comments