Coder Social home page Coder Social logo

mainsail-crew / mainsailos Goto Github PK

View Code? Open in Web Editor NEW
537.0 26.0 259.0 9.39 MB

This Raspberry Pi distribution for managing Klipper 3D printers with Mainsail provides all you need.

Home Page: https://docs.mainsail.xyz/setup/mainsail-os

License: GNU General Public License v3.0

Shell 100.00%
klipper mainsail mainsail-os raspberry-pi 3d-printing distribution image moonraker sonar webcam

mainsailos's Introduction

downloads discord

MainsailOS

A Raspberry Pi OS based distribution for 3D Printers.
It includes everything to get started with Klipper Firmware and Mainsail.

Learn more about:

How to install MainsailOS ?

You can find detailed instructions in our documentation.

We recommend the installation via Raspberry Pi Imager.

How to get help?

Please join us on Discord, if you need additional help.

discord

Also see the FAQ section.

What is included?

Here a list of included and preinstalled Software:

also includes

  • Enabled Serial Connection by default.
    Using Hardware UART (PL011) for Boards like BTT SKR Mini E3 V3
  • Preinstalled Dependencies for Klipper's Input Shaper.
    You only need to build the klipper_mcu and installing the service.
    See Klipper documentation for more information.
  • Preinstalled python3-serial package, needed for CanBoot

Screenshots

screenshot-dashboard

FAQ

Q: How do I report a Bug? A: First of all make sure it is not an misconfiguration of

  • moonraker
  • klipper
  • crowsnest
  • sonar

If there is a bug that belongs to the OS itself, please look first at the official Forum of Raspberry Pi OS.
MainsailOS is based on Raspberry Pi OS and is only slightly modified to
carry the basics to run Klipper on your 3D Printer. Most configuration of the single components is up to you. We only want to provide an Image as a starting point.

If there is something that is a bug caused due to the misconfiguration of MainsailOS itself, please let us know, and we will take action as soon as possible. Please use the issue section for that. Please provide as much information as you can.

Q: What is the philosophy behind MainsailOS? A: KISS - Keep it simple and stupid.
We only do a bit of modification. All other documented things of the Raspberry Foundation apply.

And that's our main goal of staying compatible with existing documentation. We will provide documentation if something is handled differently than the original documentation.

Q: How do I contribute/support? A: There are several ways to contribute or support our work. Please take a closer look to CONTRIBUTING.md

Build your own / Developing

To prevent you have to deal with an entire build chain setup,
simply fork this repository.

Enable the workflows in your fork and you are good to go.
On each push you make, an image is build and uploaded as an artifact.

If you want or need to build locally please visit CustomPiOS.
Especially "Build a Distro From within Raspbian / Debian / Ubuntu / CustomPiOS Distros"

mainsailos's People

Contributors

ada-phillips avatar andrewreid avatar ashthespy avatar cadriel avatar dw-0 avatar fryakatkop avatar github-actions[bot] avatar johnocfii avatar kwadfan avatar meteyou avatar miklschmidt avatar nomsplease avatar pedrolamas avatar prg3 avatar pxsloot avatar raymondh2 avatar rogerlz avatar zellneralex 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

mainsailos's Issues

Bash scripts in ~/moonraker-env/bin hardcoded to assume username pi

What happened

I installed MainsailOS 0.7.0 with the Raspberry Pi installer, changing the username from pi to mpfl.

When trying to install moonraker-obico, I get the following error:

./install.sh: /home/mpfl/moonraker-env/bin/pip3: /home/pi/moonraker-env/bin/python: bad interpreter: No such file or directory

What did you expect to happen

I expected moonraker-obico to install successfully.

How to reproduce

  1. Use Raspberry Pi Imager v1.7.2 to install MainsilOS 0.7.0 after setting username from pi to any other username.
  2. Follow instructions to install moonraker-obico

Additional information

It looks like some scripts in MainsailOS hardcode the python interpreter to be /home/pi/moonraker-env

~/moonraker-env/bin/pip
~/moonraker-env/bin/pip3
~/moonraker-env/bin/pip3.7

When I changed the interpreter to /home/mpfl it all worked okay.

iPad Safari UI no Icons

Hi, I started using MainsailOS yesterday and was working from my iPad Pro 11" 2019 on Safari (iPad OS 14.4).

And I saw that the Icons are all missing on it (see screenshot).
In Brave on iPad they work all as intended.

image

JVC webcam issue, not working with crowsnest

What happened

JVC webcam (model : JVCU100) I have installed crowsnest, and still am unable to view webcam. Here is my crowsnest. log

What did you expect to happen

Working webcam

How to reproduce

Unable to view webcam in mainsail

Additional information

crowsnest (3).log

raspcam not work

What happened

Newest image (0.7.0), new install and raspcam not on by default (enable),the red led on camera not on, but work by disable pi camera(red led on).

issus tested on Pi zero w(first generation).

What did you expect to happen

seems the switch of pi camera showed flipped signal.

How to reproduce

maybe bugs happend on crowsnest

Additional information

No response

connection issues

often when i turn on the pi NOT at the same time as the printer it doesn´t connect

using cabled network

disable wifi powermanagement on rpi's without wifi

What happened

you will have an error after booting a pi1 pi0 (without w) or pi2, when the /etc/rc.local will be executed.

[FAILED] Failed to start /etc/rc.local Compatability

What did you expect to happen

no error with this file

How to reproduce

just flash mainsailOS and use a rpi without wifi

Additional information

No response

Web page unavailable

Hey, once in a fw minutes web page freezes and is not available.
Printer is working normally.
Web page gets back after several minutes.

Why?

Background process regularly leads to Klipper MCU shutdown

Hello,

I have Mainsail OS freshly installed on a Raspberry Pi 3 B+ (and nothing else) and then via "kiauh" Klipper and Moonraker.
Unfortunately it happens very often that some process in the background takes a lot of processor load and forces Klipper into a mcu shutdown. See also my error description here: https://github.com/KevinOConnor/klipper/issues/3987
How can I find the resource-hogging process? Or is there a way to specifically slow down other processes besides Klipper?

Thanks!

Peter

[FR] install deps, config for resonance measurement

(I'm blindly copying this from mainsail-crew/mainsail#297, where I placed the issue incorrectly earlier…)

Is your feature request related to a problem? Please describe.

When following the guide to performance resonance measurements I was surprised that SPI was not enabled, and that numpy and matplotlib were not already installed.

Describe the solution you'd like

Preinstall the dependencies and enable SPI.

Describe alternatives you've considered

Installing them manually on the system is certainly doable, but numpy in particular is a big dependency and slow to build.

Additional context

image

I suspect that installing python-numpy before creating the virtualenv will make for much faster installation, although the venv may need the flag for including site packages.

mainsail 2.2.1 on pi imager does not seem to be making dev/serial/by-id/by-path for MCU

Mainsail Version:

2.2.1

Browser:

Other (Please tell us below)

Device:

Other (Please tell us below)

Operating System:

Windows

What happened?

I have been bouncing between mainsail (my choice o/s) and Fluidd to get my board up and running. With the current pi imager 1.7.3 to my CM4 EEMC version on Manta M8P, the Mainsail install does not seem to be creating the directories necessary for ls /dev/serial/by-id/ to work. This is giving "No directory found" when using ls /dev/serial/by-id/ to find the MCU id to put into printer.cfg Have tried using the firmware-USB.bin file from BTT as well as compiling a new version to flash. When Flashing with Fluidd, I can use Kiluah to swap over to Mainsail and only then Mainsail will function as proper. Only issue is files left over from the Fluidd install.

I did go back to the CB1 in order to extract the MCU serial and was successful, but just copy and paste into the printer.cfg still gave the error of not being able to connect to the MCU when using the Mainsail UI.

What did you expect to happen instead?

mainsail to install the proper folders in the DEV folder

How to reproduce this bug?

Run fresh installs of Mainsail, and look in the F: drive. DEV is available but folder is empty.

Additional information:

No response

Error: 401 "Unauthorized" When atempting to download config files.

What happened

Trying to download configs from the web UI off of two machines running MainsailOS results in the following error:

{"error": {"code": 401, "message": "Unauthorized", "traceback": "Traceback (most recent call last):\n\n File \"/home/pi/moonraker-env/lib/python3.7/site-packages/tornado/web.py\", line 1690, in _execute\n result = self.prepare()\n\n File \"/home/pi/moonraker/moonraker/app.py\", line 539, in prepare\n self.current_user = auth.check_authorized(self.request)\n\n File \"/home/pi/moonraker/moonraker/components/authorization.py\", line 751, in check_authorized\n raise HTTPError(401, \"Unauthorized\")\n\ntornado.web.HTTPError: HTTP 401: Unauthorized (Unauthorized)\n"}}

Issue started after using the update manager to update all components to latest versions. Additionally, the built-in editor is unable to open any files in the /config directory.

What did you expect to happen

Expected download of files.

How to reproduce

In the machine tab, in the config directory, right click any file and select download. A new tab appears with the error.

Additional information

I can grab logs if need be, but will have to ssh as downloading them from web UI makes the same error.

sudo without passwords, even in ssh

Since I did some research in a earlier Version, where i couldnt do HOSTREBOOT or HOSTSHUTDOWN from Web Interface, i discovered that the Module "password-for-sudo" was the enemy I am fighting with.

After I dealed with this and did a git fetch/checkout, you removed this Module.
Please dont do that! Call me a Paranoid, but what if some Blackhat-ed guy could get accsess to my Printer?
He can open Hells gates on Pi, remember its base is a Debian, with a few commands, you could turn your Printer in a Kali Linux HaxX0oR Box and now your really screwed. Besides what can someone do, who has skills to do something like that and understands Klipper fully?
Burn down my House? Not really good.

So, let me work further on this and bring back "password-for-sudo module". running Klipper & Co. as unprivileged user and running nginx as reverse-proxy has real "Firewall" quality und NOPASSWD for sudo kills all that entirely.

My Solution till now was adding pi to sudoers file with permits using reboot/shutdown without password. I am working on a better solution so that a non privileged user gets sudo rights to do that.

This involves more things, in short:
Creating a User (mnrkrsudo)
making a config file in /etc/sudoers.d (020-elevate-mnrkr)
checking this file (see above)
modifying the lines in moonraker to use this user with sudo right on
(Totally py noob, so takes time)
fine choosen commands (sudo --user mnrkrsudo /sbin/systemctl reboot, for example).

Let it get Weekend and I bath in Coffee with a drinking straw and a Laptop....

Bed mesh timestamp

Is your feature request related to a problem? Please describe

Not a problem, but would be convenient to have the heightmap console show the timestamp of the mesh for people like me who can't remember their breakfast come dinner.

Describe the solution you'd like

timestamp could be anywhere in the table of mesh's

Describe alternatives you've considered

not sure there is an alternative, but if a macro can force the name of a mesh to be the timestamp, can you point me to a clue as to how to pull this info from the OS into the configs as a var

Additional information

No response

Fluiddpi Feature request

How about a default printer.cfg in fluiddpi? That way I can edit it with the tools already in fluidd. Small concern of course since fluiddpi does 99% of the work the user, but on first install I assumed klipper wasn't pre-installed correctly because that file was missing. Users upgrading from a Octoprint/klipper install (wild assumption that's the majority of fluidd users) can be up and running with a ctrl-c/ctrl-v.

Something simple so there is no confusion and no accidental movements of the printer. links are probably not a great idea since install instructions may not be stable and third party guides end up what brings things together for lots of people.

Above all, thanks for Fluiddpi. That was painless and I won't use anything else now on my printers.

printer.cfg
This file needs to be edited for your specific printer, peripherals and taste. If you are unsure of what goes here or are receiving a error, follow the klipper instructions to flash your MCU (printer control board) and #to edit this file allowing Klipper to connect to your MCU

Update Wizard

Implement a web-based update (klipper, moonraker, mainsail) and firmware configuration (make menuconfig) tool

Delete G-Code Files

I have been unable to figure out how to delete g-code files from the interface list. What do I need to do to perform a delete action?

Flashing Duet Wifi on recent MainsailOS (Bullseye) lets Duet disappear

What happened

I made a fresh install of MainsailOS via Raspberry Pi imager.
After flashing the MCU (Duet Wifi), the Duet disappeared.
It cannot be found by lsusb, nor by 'ls /dev/serial/by-id/*'.
Dmesg reports: 'unable to enumerate USB device'

While researching, I found this issue: Klipper3d/klipper#4933
Conclusion is that a Duet flashed by Bullseye cant be discovered by the OS / Klipper anymore until it's flashed by Buster based Debian.

What did you expect to happen

Successfully flashed and discoverable Duet Wifi

How to reproduce

  • Install MainsailOS (Bullseye based)
  • flash Duet MCU

Additional information

No response

Logrotation config files might be writable by group

What happened

So i don't know if this applies to you guys, but the logrotation configs supplied by the mainsail module ended up being 664 instead of 644 in the image, so logrotate would ignore those and the logs would just pile up.

What did you expect to happen

Logrotation.d files should be chmodded to 644 (i'm doing this in the start_chroot_script now).

How to reproduce

sudo /usr/sbin/logrotate /etc/logrotate.conf
ls -la /etc/logrotation.d

Additional information

This might very well be a RatOS only issue, but i just wanted to keep you guys posted in case it carried over from MainsailOS. Feel free to close!

no default 'printer.cfg'

First of all: Thank you for the really great work! I just downloaded and installed MainsailOS und got past first boot.

The documentation says to [include mainsail.cfg] into the default printer.cfg. Unfortunately it seems there is no default printer.cfg.

Some minor GUI-issue: After clicking the Create File-button a "window" opens, but it is not focused to start typing the new file name and hitting the return-key does not accept the entry.

no PI CAN HAT spi connect

i found a wrong config.txt parameter

... config.txt for SPI RPI CAN HAT. not working
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000

[pi0w]
#pi0(w) Specific
enable_uart=1
dtoverlay=pi3-disable-bt ====> disable-bt

pls change this than it works fine

Name: disable-bt
Info: Disable onboard Bluetooth on Pi 3B, 3B+, 3A+, 4B and Zero W, restoring
UART0/ttyAMA0 over GPIOs 14 & 15.
N.B. To disable the systemd service that initialises the modem so it
doesn't use the UART, use 'sudo systemctl disable hciuart'.
Load: dtoverlay=disable-bt
Params:

BUG ? MainsailOS 0.6.1 Not connecting to Moonraker

Running a fresh install from: MainsailOS-buster-lite-0.6.1 I cant get past Connection error as it is not connecting to Moonraker.

Cannot connect to Moonraker (mainsailos.local).

But if I install from 0.50 I have no issues.

2022-03-15 11:27:04,372 [web.py:log_exception()] - 401 GET /websocket (...): Unauthorized
2022-03-15 11:27:04,375 [app.py:log_request()] - 401 GET /websocket (...) [No User] 17.31ms

Changing Wifi network not possible

What happened

After the initial setup and filled in Wifi SSID and password, logon is succesful after the installation.
Yet, changing to another WiFI SSID doesnt seem to work, not by file edit, not by klipperscreen.

By klipperscreen you see that he initiates Wifi, but it will never connect to new network.

What did you expect to happen

Joining other WIfi network after entering SSID and password, manual file edit, OR by klipperscreen.

How to reproduce

Change Wifi by file editting or klipperscreen.

Additional information

I dont have expertise in Mainsail, yet found this to possible bug, I hope to help in this way and that my foundings are correct.

"cannot upload file" among other issues

I've had mainsail installed for almost a year now and have had several issues down the track, mostly user error. Recently, I am no longer able to open, edit or upload any files through the mainsail UI. I always just get a "cannot upload file" for both .cfg files and .gcode files, or when I try and either open or edit a file I'm either prompted with a download popup in the bottom right hand corner that reads "Downloading printer.cfg NaN % @ /s" for a split second and then nothing. I've checked to see if my virtual_SD is set correctly but I believe it is. I am able to access and edit the files through winscp and through putty. Any ideas on what might need fixing?

Moonraker.log: https://pastebin.com/vsExueUm
Klippy.log: https://pastebin.com/e8pjhh3q

Mainsailos looses wifi after a while

Mainsailos looses wifi after a while, top shows nothing out of the ordinary, free show nothing either.
If i reconnect the ip in unifi it comes back.
Rasberry pi 4 8Gb
klipper
v0.9.1-627-g121052ad
moonraker
v0.7.1-32-g42f61ce
mainsail
v1.6.0

TOP
free

any clues where to start looking? never had this problem before on octoprint.

BTT TFT70 Touch Does Not Work With klipperscreen

What happened

Updated via clean install to 1.0 and 1.0.1 mainsailos and with both versions once klipperscreen is installed touch is inoperative tried modifying config, and via sudo neither lead to success of touch screen operation. moved back to mainsail 0.7.1 via clean install, installed klipperscreen and everything works fine... I will be posting this on klipperscreens git as well as im not sure where the problem lies.

What did you expect to happen

normal operations of klipperscreen.

How to reproduce

perform clean install of newest mainsail ver. 1.0.1 and then follow with clean install of klipperscreen and attemp to utilize touch on klipperscreen.

Additional information

I suspect with moving from Buster to Bullseye there may have been a kernel/driver support for my screen dropped? I am using a BTT TFT70 v2.0 with dsi cable.

Error in net module

What happened

Due a Syntax Error in net module the whole script is without any function.

What did you expect to happen

According to setup of net module files and configurations in place as expected.

How to reproduce

Build Image with enabled net module

Additional information

No response

[Solved] Moonraker doesn't start when pulling the latest update from git

When installing a fresh MainsailOS 0.3, everything is nice an installed.

I went into klipper and moonraker and pulled the latest changes and when I tried accessing the web ui, it couldn't connect.
After quickly debugging the issue, what needs to be done about it is installing 2 packages using the moonraker-env:

~/moonraker-env/bin/pip install streaming-form-data lmdb

I just thought you might wanna know (I'm sorry I didn't create a PR myself, I needed to address other things and didn't want to get into what installs what in this repo, but I wrote this issue to potentially save you or anybody else any trouble debugging in the future)

Webcam isn't stable // uses a lot of CPU//crashes system

Hi, i use a c270 webcam with Moonraker and a Raspberry Pi 3b+. The Webcam worked perfectly at octoprint, but won't work right with Moonraker. I see the picture/ Video after startup but when i switch 2-3 times to the dashboard it just loads. Also my cpu power is going up and i can't access files from the server. I tried different resoultions and framerates

Klipper make menuconfig fails with unsupported locale setting error

What happened

Fresh install of MainsailOS 64-bit

Started the Klipper build configuration

cd ~/klipper/
make menuconfig

Got this error

Using default symbol values (no '/home/pi/klipper/.config')
Configuration saved to '/home/pi/klipper/.config'
  Creating symbolic link out/board
Loaded configuration '/home/pi/klipper/.config'
Traceback (most recent call last):
  File "/home/pi/klipper/lib/kconfiglib/menuconfig.py", line 3281, in <module>
    _main()
  File "/home/pi/klipper/lib/kconfiglib/menuconfig.py", line 661, in _main
    menuconfig(standard_kconfig(__doc__))
  File "/home/pi/klipper/lib/kconfiglib/menuconfig.py", line 705, in menuconfig
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python3.9/locale.py", line 610, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
make: *** [Makefile:116: menuconfig] Error 1

Workaround
Export locale before make menuconfig

export LC_ALL=C

What did you expect to happen

Expected Klipper's build configuration menu to appear.

An error message was given.

How to reproduce

Install a fresh MainsailOS with Raspberry Pi Imager without defining the locale.

Additional information

This also can be reproduced when there is a locale defined in the Raspberry Pi Imager settings.

Layout reset confirmation

Is your feature request related to a problem? Please describe

I accidently hit the reset layout button in Settings > dashboard, and reset my dashboard layout

Describe the solution you'd like

If you click the reset layout button have a confirmation dialog pop up

Describe alternatives you've considered

No response

Additional information

No response

WebCam fails after a few minutes

Sometimes restarting/reloading the service helps but usually after 30 minutes of operation the WebCam is without picture.
Reinstalled MainsailOS several times, unfortunately always with the same result.

Before the version of Mainsail v2.1.1 everything ran very well.

RPi Hardware Infos

CPU: 
Topology: Quad Core model: ARMv7 v7l variant: cortex-a72 bits: 32 type: MCP 
Speed: 600 MHz min/max: 600/1500 MHz Core speeds (MHz): 1: 600 2: 600 3: 600 4: 600 

Graphics:
Device-1: bcm2711-vc5 driver: vc4_drm v: N/A 
Device-2: bcm2711-hdmi0 driver: N/A 
Device-3: bcm2711-hdmi1 driver: N/A 
Display: server: No display server data found. Headless machine? tty: 154x50 

Message:
Advanced graphics data unavailable in console for root. 

Audio:
Device-1: bcm2835-audio driver: bcm2835_audio 
Device-2: bcm2711-hdmi0 driver: N/A 
Device-3: bcm2711-hdmi1 driver: N/A 
Sound Server: ALSA v: k5.10.63-v7l+ 

Network:
Message: No ARM data found for this feature. 
IF-ID-1: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
IF-ID-2: wlan0 state: down mac: <filter> 

Drives:
Local Storage: total: 29.72 GiB used: 4.06 GiB (13.7%) 
ID-1: /dev/mmcblk0 model: SD32G size: 29.72 GiB 

Partition: ID-1:
/ size: 29.01 GiB used: 4.01 GiB (13.8%) fs: ext4 dev: /dev/mmcblk0p2 
ID-2: /boot size: 252.0 MiB used: 48.1 MiB (19.1%) fs: vfat dev: /dev/mmcblk0p1 

Sensors:
System Temperatures: cpu: 40.4 C mobo: N/A 
Fan Speeds (RPM): N/A 

Info:
Processes: 133 Uptime: 1d 22h 09m Memory: 3.82 GiB used: 394.3 MiB (10.1%) gpu: 256.0 MiB Init: 
systemd runlevel: 5 
Shell: bash inxi: 3.0.32 
Linux mainsailos 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux

The current system status:

klipper:	v0.10.0-278-g7c964e5f
moonraker:	v0.7.1-426-g0a2c190
mainsail:	v2.1.1 				[ ? UNKNOWN ]
System:	OS-Packages

PS: Might not have anything to do with the WebCam but with every new ISO the mainsail itself is always listed as "UNKNOWN" in the "Update Manager".

Many greetings and thanks for the brilliant project,
MT

multiple-file drag&drop takes only one file

When selecting multiple gcode files to transfer via drag&drop, only the top-most file seems to be taken.
Less surprising results would be:

  • Error thrown (please only do one file at a time)
  • All files transfer (or attempt to do so)

Cannot connect to Moonraker (192.178.200.10).

on http://192.178.200.10:7125/printer/info i get :

"Traceback (most recent call last):\n\n File "/home/pi/moonraker-env/lib/python3.7/site-packages/tornado/web.py", line 1681, in _execute\n result = self.prepare()\n\n File "/home/pi/moonraker/moonraker/app.py", line 386, in prepare\n self.current_user = auth.check_authorized(self.request)\n\n File "/home/pi/moonraker/moonraker/components/authorization.py", line 637, in check_authorized\n raise HTTPError(401, "Unauthorized")\n\ntornado.web.HTTPError: HTTP 401: Unauthorized (Unauthorized)\n"

It is fresh install of mainsailos-rpi-lite-0.5.0, used different router with other ip conf and different raspberry.

Not working on Arduino mega and RAMPS 1.4

It's not working with RAMPS 1.4
If you do a firmware update on ArduinoMega, in my case with RAMPS 1.4 it won't work. After copying the printer.cfg, it turns out that there are incorrect readings on the housing of the temperature sensors, i.e. on the hotend and the bed, and there is a wrong pin map. Check it out
I'm going back to Octopi

Sonar can’t find its conf file

What happened

I built the rpi ssd card from the downloadable image just before Christmas as per voron build instructions. I was having a lot of trouble with my wifi constantly dropping connections every few minutes. Anyway after a lot of false starts when I thought I had a wifi problem I eventually found sonar to be the culprit.
Looking at the sonar.conf file in the klipper dashboard it should have been disabled but in fact it wasn’t finding its conf file because it’s looking for it in the wrong place. The libs/core.sh file uses the path ${BASE_USER_HOME}/klipper_config/sonar.conf when in fact it should have been looking in printer_data/config/sonar.conf. Now that I’ve changed the code it finds its config file and honours the disabled state which means my wifi stays up for more than a few minutes at a time. The problem is in a couple of places in core.sh

What did you expect to happen

I expected sonar not to be running

How to reproduce

If you create a new Ssd card from the image from just before Xmas, run it all up and you will find sonar running even though it’s default config is to disable it

Additional information

No response

Webcam FPS limited in Mainsail

The webcam view in the mainsail program seems to be fps limited in some way. If you set your webcam config to 1280x720 30fps like I do, the webcam is low fps inside of mainsail, but runs a lot smoother if you open a new tab and use :8080/?action=stream.

KenadyDwag44 on Discord

fyi, had to add client_max_body_size 100M; to nginx.conf

Hi,

leaving this as a remark, I installed mainsail via kiauh on my octopi install. I was up and running fairly quickly, but uploading gcode failed continuously, despite a correct setup in printer.cfg.
Found the error in the nginx log and had to add "client_max_body_size 100M;" to the http{} section in nginx.conf.

Support CB1

Is your feature request related to a problem? Please describe

CB1 uses the allwinner h616 chip which needs custom kernel changes

Describe the solution you'd like

a mainsail OS image that supports CB1 so that a RatOS image can easily be created

Describe alternatives you've considered

Right now I manually go through the custompios steps after loading the official CB1 image from BTT''s repo, and then custom create an image afterwards. This is time consuming and error prone.

Additional information

No response

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.