Code Monkey home page Code Monkey logo

mainsail's People

Contributors

bartlammers avatar birkemosen avatar cgrossi70 avatar chai-md avatar codingjustforrun avatar daviteusz avatar ded-doggo avatar dependabot[bot] avatar dw-0 avatar eliteschwein avatar freasy avatar fryakatkop avatar github-actions[bot] avatar kageurufu avatar le3tspeak avatar lixxbox avatar mdziekon avatar meteyou avatar pataar avatar prcutler avatar rackrick avatar radiowski avatar samuel-0-0 avatar sindarius avatar srbjessen avatar steadyjaw avatar translucentfocus avatar vajonam avatar winbin avatar zisqo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mainsail's Issues

Ability to edit config files and macros / programs

Since you closed the other before I could respond, perhaps you could explain how I can get these new added features? I followed the install instruction which seems to get me a version that does not include these changes.
I tried to do a git clone of the master, but now I get no web interface at all.

Try to remember, not everyone knows everything about how to do this stuff. Some need more help than others.

Great Job!!

I just want to apologize for any misunderstandings before while this project in chaos last week. Poor timing on my part to try it out, I had no idea it was in its infancy stage.
I noticed it got updated and followed the current install instructions and had zero issue.
Just wanted to say, Great Job. It looks great, seems to work great.
Thanks for all the effort everyone had in this.

I know this is not an issue, but I wasnt sure how to say thanks for a great project.

Harcoded F6000 speed for move

Hi,

The speed F6000 is hardcoded in ControlPanel.vue, it's possible to have an option to select the speed for move ?

How to contact you? :>

Hi,

I could not really figure out what the best way to contact you is.

I am hacking a Klipper Linux distro (https://github.com/jin-eld/klipper-linux) which should not be bound to any particular hardware and I was looking for a user interface that would be targeted at Klipper. Your project seems to be doing just that, but I'd like to have a chat before I start integrating anything; and perhaps you'd even be interested in aligning some efforts. Are you by any chance on #klipper IRC on freenode and would you be interested in discussing a few things on the above topic? My nick is Jin^eLD

Kind regards,
Jin

Cancel_Job - Confused on how to impliment.

I used to have a .gcode file called cancel.gcode that got called when I canceled a print. This no longer works.
I added a section in my config called [CANCEL_PRINT] and got an error saying something about it being already implemented, so I removed it.
I tried renaming my cancel.gcode to cancel_print.gcode, but still no luck.
In my klipper.log, I see where I have tried to pause and cancel:

action:paused
action:cancel

So I am curious. Is this a bug in mainsail, or should I take this question over to klipper.
Im sorry if these seem like minor questions.

Connecting to Klipper randomly appears

During some activities (i.e. QGL) I get Connecting to Klipper notification to pop up, the camera feed does still work though, toolhead is moving on it etc. Console does not get updated anymore, F5 fixes it but console is cleared with every F5 (web page refresh).
2020-04-25_09h22_06

Latest moonraker broke compatibility with Mainsail

last worked version moonrakeris is v.08

Moonraker recently received some updates that allow it to function with the official Klipper repo. Unfortunately these updates broke compatibility with Mainsail, as mentioned in moonraker's documentation.

You can however check out an compatible version of Moonraker to get you up and running until Mainsail is updated

Fresh install of MainSail on new SD card fails on nginx

Going to post this here and on Moonraker.
Hardware is a Pi4 connected to 2 SKR1.3's

Installed twice, just incase I did not RTFM correctly the first time!
Following the instructions, it fails on the Moonraker install namely nginx

Please see log file for more info

REgards

Paul.
Moonraker.txt

New mainsail installation and Failed to start A high performance web server and a reverse proxy server.

I'm trying to install mainsail on a fresh imaged OctoPrint RPi 4.

But got an error when the ./install-moonraker.sh executed.

...
Setting up nginx-full (1.14.2-2+deb10u3) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
โ— nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-09-06 14:32:41 BST; 50ms ago
Docs: man:nginx(8)
Process: 7064 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 7065 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Sep 06 14:32:40 octopi nginx[7065]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 06 14:32:40 octopi nginx[7065]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 06 14:32:40 octopi nginx[7065]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 06 14:32:40 octopi nginx[7065]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 06 14:32:41 octopi nginx[7065]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 06 14:32:41 octopi nginx[7065]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 06 14:32:41 octopi nginx[7065]: nginx: [emerg] still could not bind()
Sep 06 14:32:41 octopi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Sep 06 14:32:41 octopi systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 06 14:32:41 octopi systemd[1]: Failed to start A high performance web server and a reverse proxy server.

...

Seems the Nginx install failed. Is that caused by 80 port has been taken by OctoPrint web interface?

Is there a way to fix?

Thanks

Retract and Extrude buttons do not work

The 'Retract' and 'Extrude' buttons are always greyed out so cannot be used.
I have checked that I have 'min_extrude_temp:' in my printer.cfg

Regards
Paul

image

Slicer not recognized

Hi,
I am using IceSL as my slicer but it is not recognized by maisail. Where is it possible to change code to correct it?
Is it possible?
Thank you for help.
image

500 Internal Server Error - Fresh install

Fresh install on Raspberry Pi 4 following readme install instructions. Was able to see that the API was working by going to http://:7125/printer/info, but unable to get the actual page to load by going to the PI IP after downloading the static data.

{"result": {"hostname": "octopi", "error_detected": true, "version": "v0.8.0-685-g9c29a4fc", "is_ready": false, "message": "Unable to connect\nOnce the underlying issue is corrected, use the\n"FIRMWARE_RESTART" command to reset the firmware, reload the\nconfig, and restart the host software.\nError configuring printer\n", "cpu": "4 core ARMv7 Processor rev 3 (v7l)"}}

Dashboard Configuration

Is it possible to be able to re-arrange the console information windows, i.e. resize or drag them into the user preferred location. Thanks.

extruder control

i tried getting temp as high as 300 but no matter what i can't get extruder control. I have just been manually extruding with g1 commands but is weird that the buttons won't activate for extrude and retract .

[FR] Possibility to organize MACROS

Hi,

I just installed Mainsail today, looks like it works, but i as i have a lot of MACROS, i have this rendering.

Could it be possible to organize the MACROS ?

Select the one we need on each line, and the order of the MACROS (not only alphabetic ordering) ?

Maybe also select the color of each macro (not only blue)

image

0.2.2: Unable to delete a gcode file

Right click on a file in the gcode files screen and choose the delete option. In the javascript console I get a bad request 400 error.

Screenshot from 2020-09-05 16-44-48

I'm using Firefox 80.0.1 on Ubuntu 18.04

Not an issue - just a wish :)

After ~35hrs of printing I woke up to this today
2020-05-05_09h22_54
2020-05-05_09h23_06

Situation seems safe for now as it already started to print mid air :) Exclude region/object should have high priority - running print like this is a high risk without such functionality for me. Happens rarerly but happens. If I may add - this has been aranged by Plater, hence it's a single stl so I'm not sure 'exclude object' would work, this is why I preffer 'Exclude region' in Octoprint, Maybe worth to consider.

settings arent saving

for some reason settings won't save and also is their anyway to increase the max accel on the slider. i use 6000 so i don't want to reduce it .

64bit

Sorry, this is more of a question:

Is there a reason you recommend the 32bit raspy os in the installation?

Thanks a lot for what you've created!

End gcode for exhaust fan gets ignored

I had my exhaust fan always configured to run after the print for 3min. With KWC after the print fan starts/ toolhead moves to designated place and fan stops (maybe related to G4 wait command). My end print macro responsible for fan is:
M141 S20 ; Set chamber temp target 20deg - chamber fan on
G4 S180 ; Wait 3min - keeps fan on
M141 S70 ; Set chamber temp target 70deg - chamber fan off

This happened to all prints on new interface, never on octoprint.

Temp Graph doesn't span entire X axis

For some reason my temp graph gets truncated on the oldest half of the X-axis... It seems to work fine after a restart. I notice it when I finish one print and start a new one afterwards. The print in the image below has been running for over 3 hours. Hrmm, actually, I just noticed that if I refresh the entire page in my browser it also seems to fix itself for a short while, then it moves back to half full again.

image

Heightmaps not being saved within MainSail

Just fitted a BLTouch to my printer. Lots of tests Homing and QGL's
Went to the HeightMap tool, clicked 'Calibrate' let it run a mesh. It displayed, Clicked 'Save' gave it a name, clicked save.
Changed the build surface, ran another 'Calibrate' Saved under a different name.
Went to load the other saved mesh and it is not in the list, nor is the latter one.
Checked printer.cfg and I only have 2 meshmaps in there, the 2 new ones and 'default' are not there either.

Nozzle size feature request

It would be great if the nozzle size could be displayed for 2 items.

  1. DASHBOARD indication showing the nozzle size set in the printer.cfg.
  2. G-CODE FILES column showing the nozzle size set in each file.

Thanks!

API key not valid

Hello, just installed mainsail on a new coreXY build and everything is going good so far except for uploading a file from cura. Is cura supported for uploading gcode files yet? It wants a valid API key and wont just take anything I put in there like mainsails docs state. Is there a special port it needs or is 80 fine? Thank you.

unable to load a gcode with a "space" in the filename

Hello,

i have an issue with the filename with an "space" char in the filename :
1. upload directly the gcode filename with a samba shase => filename with " " is ok
2. refresh the gcodes files panel => filename is ok in the list
3. click on it => prompt panel to start print is ok with the space
4. confirmation print : a error hint "impossible to load gcode"
Not a fatal issue : replacing " " by "_" and all is fine

Thanks a lot for the amazing works !
Vincent

Features request

  1. Extrude filament option missing in the dashboard like dwc2 pic included.
    image

  2. Editing of klippers printer.cfg file.

  3. (Nice to have) Print from cura/slic3r/pursa slicer like octoprint/duet dwc2 maybe just use the duet dwc2 plugin until there is one coded for mainsail.

Selectable temps on the graph

Am I wrong in thinking in the earlier versions of MainSail, you could select what temps were displayed on the graph, by clicking them.
Does not seem to work anymore if it was there. Could it be re-implemented again, please?

Error with IPv6 and Authorization

Hello,

I follow the installation guide in the REDME.md and i have an issue with the "hostname" resolver.
When i call the page with the IP number http://myip/ it works, but with my hostname http://klipper.local/, it doesn't work.

In the log, i have an error 401 and the specified IP in the log is a IPv6 :

2020-06-07 23:22:19,202 [web.py:log_exception()] - 401 GET /websocket (2a01:cb05:xxxx:xxx:xxxxx:49fe:51ef:8bdf): Unauthorized
2020-06-07 23:22:19,217 [web.py:log_request()] - 401 GET /websocket (2a01:cb05:xxxx:xxx:xxxx:49fe:51ef:8bdf) 16.85ms

I update the nginx config like that :
listen 80 default_server;
#listen [::]:80 default_server;
And it works now with that config. Nginx seems to reject IPv6, and the log have successful call with the IPv4 address.

I'm bad in networks, not sure if this patch is the good one. But it can be helpful.
Vincent

Height map calibration

Hello.

Thank you for the wonderful GUI for klipper. I have one question about calibrate in height map. I have a custom probe for my Z axis which requires a retract prior to probing. If I run my Bed mesh macro in console everything is fine but if I use calibrate in height map it tells me the probe is triggered. What code is the calibrate button using and can it be modified? What am I doing wrong. Please help.

Thank you in advance,
Kevin

[FR] Webcam stream rotate

Hello,

this is a feature request for camera stream rotation.
I have tried to flip it in /boot/mainsail.txt as follows camera_usb_options="-r 1920x1080 -f 30 -rot 180" but it doesn't work.

Thank you in advance
mainsail

Ability to edit config files and macros / programs

Im coming from DWC2-for-klipper and find this to be much more responsive, but I miss the ability to adjust my config file without having to ssh into the pi to change it.
Is this possible with this interface?

Issues with uploading gcode to Mainsail

Hi there,

The mainsail interface looks awesome, just intalled it on a raspeberry Pi 3 following the install instructions.
I do not have any printer connected to the Pi just yet as it is at another location and im not sure if this is required for me to be able to upload the gcode files or not? I guess this should not matter, or?

Nor can i create a new directory, i get the error: Invalid base path (gcode)

To prepare the files for translation.

Ready to commit edits to all files over time for translation. Perhaps you should make a separate branch for translation and later make a diff in the General branch.

Upgrade doc has moonraker restart too early

This is a small issue, but with the moving and revamping of the configs, moonraker won't properly restart when you command it to in the docs. It needs to be moved until after the moonraker.cfg and klipper_config directories have been made.

Cannot access GCODE FILES repository

I'm running Klipper/Mainsail installed with the kiauth script on a Raspi4
I cannot upload gcode to or use the UI to create a Dir in the GCODE FILES Dir. In the printer.cfg I have

[virtual_sdcard]
path: /home/pi/sdcard

And that dir exists. The mookraker.log shows this:

2020-09-17 17:22:01,358 [websockets.py:dispatch()] - Websocket Request::{"jsonrpc":"2.0","method":"server.files.get_directory","params":{"path":"gcodes"},"id":649}
2020-09-17 17:22:01,359 [websockets.py:dispatch()] - Websocket Response::{"jsonrpc": "2.0", "error": {"code": 400, "message": "Invalid base path (gcodes)"}, "id": 649}
2020-09-17 17:22:03,555 [websockets.py:dispatch()] - Websocket Request::{"jsonrpc":"2.0","method":"server.files.get_directory","params":{"path":"gcodes"},"id":9737}
2020-09-17 17:22:03,556 [websockets.py:dispatch()] - Websocket Response::{"jsonrpc": "2.0", "error": {"code": 400, "message": "Invalid base path (gcodes)"}, "id": 9737}

print time > 1 day

Print time larger than one day don't show up correct in file list.
Should be 1d 8h 55m 38s in this case.

image

On the dashboard, if the printed time is larger than the 8h 55m 38s in this case, slicer is showing no time.

firefox

So ive tested this the day it came out, and firefox wuld not let it connect. but in google chrome from same pc workd fine. has this been fixd? ive mentioned it in voron chat the day of announcement.
kind regards Tonny

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.