r/SparkXi7 • • 27d ago

Raspberry Pi secure method to remotely access SparkX

I present to you my project : SparkXPi

Major update :

Revamped interface. Includes calibration, notifications (email and more including toasts), calibration helper, An agent that can be installed on Windows that will auto upload GCode to the Pi and can be tested via the web interface for feasibility. Many maintenance reminders (automated and manually set). Live 3d view of the print showing progress and much more.

Current status: Write image to an SD card and boot your Pi. Run a binary that prompts for a few things and it will set it all up for you along with Lets Encrypt certs. Just forward 443 to your Pi and setup a DNS host and you are good to go. Hoping to release next week once I've ironed out a few elements that are nagging (Mainly cosmetic)

I wanted to create a secure method to remotely access my SparkX over the internet so I dug out my 32bit Raspberry Pi and started work.

Secured via authentication over https (I've put it behind Cloudflare too) I have created a method that works without giving direct access to the printer. I call is SparkXPi.

Features

- Live camera view

- Live progress view

- Ability to control temperature manually or using material presets

- Ability to adjust print speed and flow rate

- Display the printer health

- Remotely upload gcode files to print AND run some preflight checks

- A spool tracker

- A print queue system

- Alerts

This is still a work in progress but it runs in any browser on any device. Polling is done via a service to get the information so it can be slow on my OG Raspberry Pi Model B but it works.

Auth permissions allow read-only access that cannot control the printer.

The services constantly look for printers. If it finds any it will add them. There is very little configuration needed although I am still fine tuning things to be able to release this.

If anyone has a RPi and multiple SparkX and would like to do some testing please let me know. I wan this to work as a fleet management system for multiple devices but having only one it limits my testing.

2 Upvotes

0 comments sorted by