In the function checkIfDriverIsInstalled() there is a link: var url = "https://mymachine.openbuilds.com:3001/api/version" Is this open source? What does this do? What does it return? Any help would be appreciated.
You can use dig to check where any DNS entry goes mymachine.openbuilds.com is just localhost: (But has to be a proper DNS name for browser security and to have a CN for the SSL certificate - thus the existence of a DNS entry for it - to be used with SSL signing tools, and if a browser needs to do https calls and that has to be FQDN, etc) Port 3000/3001 is the API port for the instance of OpenBuildsCONTROL installed on localhost: And that exists so that CAMs and Posts can post GCODE to CONTROL: Developers: API to Inject GCODE into CONTROL · OpenBuilds/OpenBuilds-CONTROL Wiki Learn more about the CAD > CAM > CONTROL silos here: docs:software:overview [OpenBuilds Documentation] For checkIfDriverIsInstalled() though it's not posting GCODE, it's Getting the version number - so that OpenBuilds CAM can make sure you are up to date on OpenBuilds CONTROL updates (to avoid API version mismatches) It returns the Name (OMD is CONTROL's old name, OpenbuildsMachineDriver), Version number currently installed, and local IP (not currently in use yet, but part of a future expansion of also scanning for and showing multiple remote instances of CONTROL so you can send to them as well, not just locally running copies - like a "Send to CONTROL on xx.xx.xx.xx" dropdown menu. For people running multiple computers/cncs/copies of CONTROL): Use a browser and call https://mymachine.openbuilds.com:3001/api/version Also see: https://mymachine.openbuilds.com:3001/activate (bring window to front) https://mymachine.openbuilds.com:3001/upload (Remotely upload GCODE files into the 3D view) https://mymachine.openbuilds.com:3001/gcode (Downloads the currently running gcode job if one is currently running - used by the remote web interface to show the 3D view if you start/reload the UI with a job already running from the desktop application)
Thank you for the quick reply. I have been enjoying learning to code in JavaScript with this project.
We have made a few changes. I am still learning the GitHub, so I made lots of changes in the same commits at first. I am getting better at committing smaller bits of code that go together, but still learning. I am very grateful for what you have done and would be honored if you decide to use any of it.