Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markwal/octoprint-portlister
An OctoPrint plugin that notices when a new serial port appears and refreshes the port list without a page refresh
https://github.com/markwal/octoprint-portlister
Last synced: 2 months ago
JSON representation
An OctoPrint plugin that notices when a new serial port appears and refreshes the port list without a page refresh
- Host: GitHub
- URL: https://github.com/markwal/octoprint-portlister
- Owner: markwal
- License: agpl-3.0
- Created: 2015-10-07T19:23:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-07T21:32:30.000Z (about 4 years ago)
- Last Synced: 2023-02-26T13:46:08.451Z (almost 2 years ago)
- Language: Python
- Size: 27.3 KB
- Stars: 24
- Watchers: 3
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OctoPrint-PortLister
Have you noticed that if you load up the OctoPrint web page when your printer is
off, the printer's port isn't in the list? Then when you turn on the printer
you have to refresh the page to make it show up? This plugin fixes that.It watches for the device to appear (when you turn it on) and then notifies all
the web clients to refresh the list of ports.It also (if you have autoconnect turned on), will automatically connect to the
printer (if the new port is the same as the one you've selected in connection
settings) after a reasonable (long) delay to wait for the printer to actually
come on. The default delay is 20 secs. It's settable in config.yaml, if
anybody uses this plugin besides me, I could be talked into a settings page.## Setup
Install via the bundled [Plugin Manager](https://github.com/foosel/OctoPrint/wiki/Plugin:-Plugin-Manager)
or manually using this URL:https://github.com/markwal/OctoPrint-PortLister/archive/master.zip
## Configuration
In ~/.octoprint/config.yaml, the autoconnect_delay can be configured to
something other than the default 20 seconds it takes my printer to boot up.
```
plugins:
portlister:
autoconnect_delay: 20
```