Welcome to xTool Community Support
xTool S1
Feature Request: machine control API documentation
luma
Published on Oct 21,2024
2
50

I'm using an S1 and have had some success intercepting machine communications between XCS and the S1 machine.  The goal I have in mind is to be able to monitor the machine via Home Assistant which opens a lot of possibilities for safety and convenience.

Some examples of things one could do if XTool could be monitored by something like HA:

  • If the machine is running a job, turn on a warning light outside of the shop
  • When the machine starts, turn on the exhaust vent(s), then turn them off again a minute after the job completes
  • When a job starts, send an SMS notification to an engineer near the machine to start the job process and monitor the cut
  • If the door to the shop opens, pause the job currently running
  • If a particulate sensor in the shop goes above a certain value, pause the job currently running

Essentially, being plugged into Home Assistant means you can now build a system around the Xtool to enhance safety and improve workflows.

The machine control solution in place right now is reasonably straightforward, HTTP REST commands to initialize and the GCODE over websockets, and none of it is encrypted (which is nice when trying to reverse engineer things).  What would be even nicer would be a breakdown of GCODE in use and general API documentation allowing us to integrate the XTool lineup into our shops!

Preview
Connection
XCS
Copyright © 2024 xTool All Rights Reserved.
Call Us
Service Time
Mon-Fri,9:00-18:30 PDT
Pre-sales Hotline
+1(970)638-7030
Customer Service Hotline
+1(775)587-7760
Email Us
Service Time
Mon-Fri,9:00-18:30 PDT
Pre-sales and shipping related
vicky@info.xtool.com
vicky@xtool.com
After-sales and shipping related
support@info.xtool.com
support@xtool.com
Technical Support
support@info.xtool.com(US)
support@xtool.com(US)
support.eu@xtool.com(EU)
support.uk@xtool.com(UK)
Brand Cooperation
If you want to cooperate with
xTool on causes like education,
public welfare, innovation, etc.,
or if you want to review our
machines, please email
partner@xtool.com
US headquarter
XTL US INC. 16035 Arrow Hwy.
Irwindale. CA91706
Copyright © 2024 xTool All Rights Reserved.