How to run Python file on EdgeX, assuming my Python file has some logic to execute and send data to device #248
Replies: 1 comment
-
Make your Python app look like a MQTT enabled Device and use Device MQTT communicate with it. i.e. Have the python app connect to MQTT Broken and listen to "commands" from Device MQTT. Enable auto events in the device definition in Device MQTT to make reads periodically or the Python app can internally send async data to Device MQTT. See this How To guide which uses a Java Script in the same manner you would use Python. |
Beta Was this translation helpful? Give feedback.
-
I have a use case where I want to run a Python file on EdgeX and do some operations so that I could send data to Cloud on a regular interval.
Beta Was this translation helpful? Give feedback.
All reactions