Comments (5)
Adding a check for HTTPS to the "Manually added OctoPrint instance" dialog should be fairly straightforward. I'll see if I can add that somewhere this week.
The camera url is currently hardcoded, and would take more work to fix. I would like to fix that as part of #12, and get the URL from OctoPrint so you don't have to configure it twice.
About the plugin documentation... There is very little. I learned by example, and the OctoPrintPlugin is a fork of the UM3NetworkPlugin. But I was also contracted by Ultimaker to work on Cura for a year, so I am partly to blame for the lack of plugin documentation.
from cura-octoprintplugin.
Fair enough. I just found Ultimaker/Uranium so I have more to go off of to reverse engineer things now.
I'm currently working to see if I can get it working with text-based configuration in Cura.cfg.
from cura-octoprintplugin.
If you want to hack in the use of HTTPS, see https://github.com/fieldOfView/OctoPrintPlugin/blob/2.3/OctoPrintOutputDevice.py#L44. The hardcoded camera url is a couple of lines down
from cura-octoprintplugin.
The hack sort of worked. I found a few of errant byte arrays in OctoPrintOutputDevicePlugin.py#L63, plus another a few lines down (see #17). This was causing the system to automatically set the path of the OctoPrint server to "/", the default value, since it couldn't find the key (b'path' != 'path').
That's with hardcoding the https:// and fixing the bytearrays. I can press a few of the buttons and read the extruder temp, but I see a lot of spam on the log file for CRITICAL - /.../CrashHandler.py (show [24]): File "/.../cura/plugins/OctoPrintPlugin/OctoPrintOutputDevice.py", line 491, in _onRequestFinished
I looked up that line number, and it referrs to acquiring the heated bed temperature of the printer (of which this printer has none). Not sure if that's interfering with anything yet.
Also, with relation to the "print to octoprint" button: it says that it uploaded and is ready to print, but the web interface of OctoPrint disagrees, and indicates that no new files were uploaded.
from cura-octoprintplugin.
@computergeek125, could you test this branch/pr:
#19
It adds a checkbox to use https instead of http to the manual instance dialog.
from cura-octoprintplugin.
Related Issues (20)
- Persistant path HOT 1
- "Print with OctoPrint" automatically preheats bed but won't preheat extruder HOT 4
- OctoPrint error: OctoPrint responded with an unknown error HOT 3
- octoprint cura plugin conflicting with moonraker cura plugin HOT 8
- Octoprint Connection API Key Issue HOT 5
- Crashes when i upload a print HOT 2
- Webcam has 0.01 FPS in Cura
- [Intent to develop] Ability to modify print, during print.
- Missing "Connect Octoprint" button on interface HOT 2
- [Bug] Camera not displaying on Monitor Tab
- Monitor preview flashing white when network lags or mjpeg stream drops frames
- OctoPrint API Key Error HOT 1
- Request for a dropdown of available "paths" in the Submit Job dialog
- Cannot Connect Cura to OctoPrint HOT 1
- Usability issues with multiple printers each with their own Octoprint servers
- Wrong Build Plate Temperature HOT 4
- Cura Closes/Crashes When Uploading To Octoprint. HOT 3
- Cam freezes
- The current print time is displayed incorrectly HOT 1
- can t start print without disconnect and reconnect printer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cura-octoprintplugin.