Hello everyone,
I am trying to publish data entered in the dasboard to a device through a MQTT topic. My attemp was to create an analysis script (in python) which is triggered when the send button is clicked and from there the information can be published to the topic. I have found this tutorial (https://docs.tago.io/en/articles/12) which shows how to do this in javascript but I haven’t been able to implement it in python.
For now I’m just figuring out the basics but my intention is to have several inputs in the dashboard which the user can interact with and send data to the devices, by running all the logic in a python analysis script in Tago.
Is this the right approach? How can this be implemented in python?
Thank you for your help!!
Best regards,
Andrés