What about using TouchDesingner as an MQTT [url]http://mqtt.org/[/url] subscriber?
I couldnt find any example, apart directly working with TCP/IP, which I’d like to avoid.
Did anyone implement a Python extension for MQTT?
What about other IoT and M2M protocols?
MQTT is crucial for tackling my project using TouchDesigner:
There’s a lot of 3D models, videos and interactive panels, where TouchDesigner looks good.
But there’s also hundreds of sensors (temperature, pressure, IR, vibration, etc.) producing data for an external MQTT broker. How can I subscribe to the involved topics and stream in the data?
There are a number of libraries on google for Python MQTT and M2M. My suggestion for easiest implementation and best workflow would be to make a small Python command line app that runs in the background and handles subscribing to the MQTT/M2M streams, then it can relay the info to TouchDesigner however you feel most comfortable, OSC, TCP/JSON, etc.