From: Petter Reinholdtsen
The simple part was setting up the MQTT publishing code in Python. I already have set up other parts submitting data to my Mosquito MQTT broker, so I could reuse that code. Writing a LinuxCNC component in Python as new to me, but using existing examples in the code -repository, this was fairly straight forward. The hardest part was -creating a automated test for the component to ensure it was working. -Testing it in a simulated LinuxCNC machine proved very useful, as I -discovered features I needed that I had not thought of yet, and -adjusted the code quite a bit to make it easier to test without a -operational MQTT broker available.
+repository and the extensive documentation, this was fairly straight +forward. The hardest part was creating a automated test for the +component to ensure it was working. Testing it in a simulated +LinuxCNC machine proved very useful, as I discovered features I needed +that I had not thought of yet, and adjusted the code quite a bit to +make it easier to test without a operational MQTT broker +available.The draft is ready and working, but I am unsure which LinuxCNC HAL pins I should collect and publish by default (in other words, the