Skip to content

Octoprint Plugin to create a virtual PTY link to a Websocket

Notifications You must be signed in to change notification settings

XBrav/octoprint_wsserial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Websocket Serial Bridge

Latest Release: 0.1.1 (Or, How I Learned to love Git)

Project Description

This plugin creates a bridge to a compatible 3D printer such as the MonoPrice Select Mini / Malyan M200 over the WiFi link on the UI controller.

Prerequisites

How To Use

Clone / download the repository to the Octoprint Plugins directory (ie/ ~/.octoprint/plugins/wsserial). Once installed, set up the WiFi URL of the printer under the WebSocket Serial Bridge settings (ws://{IP}:{PORT}). Restart Octoprint once the settings are saved. (Actually, for now, restart the entire system if possible. A reminder that this is a super early release).

If successful, you should see a serial port called "/dev/pts/1" on your Serial Port list. Hit Connect to connect through the link. It should operate identical to the USB link.

Known Bugs

  • So far, only tested on my enviroment. May be missing prerequisites (file a bug report)
  • On the MP Select Mini, the UI controller has been known to get saturated from messages, resulting in a hang time waiting for new commands. The best temporary workaround is to reduce Octoprint's communication timeout to 5 seconds.
  • No code in place to handle re-establishing the websocket link outside of restarting Octoprint

Release Notes:

0.1.1:

  • Added default settings (No more config.yaml manual edits!)
  • Cleaned up logging a bit
  • Added automatic detection of new serial port (no need to edit additional ports!)

0.1.0:

  • Initial Release
  • It works for me, but there's a good chance it won't work for you!

About

Octoprint Plugin to create a virtual PTY link to a Websocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages