I am trying to get the values from the MQTT broker and wanted to display the values in the web UI through the Django framework. I have all the code files. I don't know where to place the python MQTT code to get the values from the broker to pass it to the UI.
question from:https://stackoverflow.com/questions/66061959/how-to-display-the-mqtt-values-in-ui-through-django-framework