Today I would like to show you an unusual application of Home Assistant. Home Assistant (HA) has a nice design and huge functionality, so I decided to try to integrate CNC machines into HA., I used MTConnect for collecting raw data from machines, then I wrote an integration in Golang to convert data to MQTT. As a result, I got MTConnect2MQTT.
Six months later, I decided to analyze the whole situation. Since I gained experience and wanted to rewrite everything to make it beautiful. So,
It turned out that my code only worked with one version of Mtconnect, which only supports machines with the Fanuc system.
A new version of the Mtconnect client supports Mqtt out of the box, so I don’t see any point in redoing my project.
But for all those who want to repeat my experience, I attach the instructions:
connect your machine to the network. There is a video on YouTube which settings need to be configured. It’s simple there.
Sounds great! I would love to learn more about the code and see how this integration works. Could you provide some examples of how Home Assistant is used with CNC machines?