#Camera cannot be shown on Dashboard

250 messages · Page 1 of 1 (latest)

ember wagon
#

Dear Mainsail Dev -Team,
I have a problem with the webcam on my rasberry pi zero w. In the settings menu the webcam and its stream is shown, however on the dashboard configuration the icon to add the webcam is missing.

worn thistle
#

Hey there... please share your mainsail + moonraker version

ember wagon
#

i'm not sure but i think: 0.8.0-35

#

i dont know how to update the moonraker file

It says on the update manager, that it ist korrupt. But i cant change it

worn thistle
#

button left is a info icon. when you hover over it, it shows your version information

#

but the corrupted moonraker and the low moonraker version hints you're using a creality printer or something like that?

#

there was a rework of the camera settings and now mainsail requires a min version of moonraker 0.8.0-38. Also there should be an notification in the upper right corner.

ember wagon
#

yes i am using an creatlity cr 10

And i think my moonraker version ist to old
But how can i update it?

worn thistle
#

usually you can simply use the update manager on the machine site but...

#

unfortunately you're repo is corrupted because of creality and you can't do that.

#

not really sure about this printer right know but did you get it stock with klipper preinstalled?

ember wagon
#

i bought it from ebay. And the person before me installed klipper i think

#

this is my message

worn thistle
#

octoeverywhere is a remote tool to access your printer.

ember wagon
#

yes, but i dont use it anymore

But i think i didnt removed it properly

worn thistle
#

you still have still the include in your printer cfg somewhere

ember wagon
#

do you know where

worn thistle
#

go to the machien site and open your printer.cfg and check for [include octoeverywhere-system.cfg]

ember wagon
#

is not there

worn thistle
#

oh wait... check the moonraker.conf too. never used it my self so maybe its there

ember wagon
#

yeah

#

i found it

#

should i replace it with the webcam cfg

worn thistle
#

no idea whats inside the webcam cfg.

#

if its a used printer i would recommend to start over with a clean install.

ember wagon
#

and if i remove the octo line?

worn thistle
#

has nothing to do with your broken moonraker

final granite
#

I'm pretty sure that the CR 10 doesn't have Klipper from stock. So as rick already said. You should start with a clean installation

ember wagon
#

it worked before withe the camera

But one day the camera was gone

final granite
#

One day after you updated Mainsail....

worn thistle
#

most likly you did a mainsail update. but you did not provide the mainsail version number as requested

ember wagon
#

mainsail is v-2.8.0

worn thistle
#

yeah thats the most recent version.

#

so you did an update

#

honestly running a used printer with an installed octoeverywhere is a big security concern for me.
do a fresh install and you can fix all you issues.

ember wagon
#

ok

Do i have to save any of the cfg. like the printer one?

worn thistle
#

you don't really have to. you can and should create new configs. saving them to peek for some specific stuff is ok though

ember wagon
#

ok

ember wagon
ember wagon
final granite
#

Try to connect to http://<ip.of.your.pi>:7125 in your browser

ember wagon
#

doesnt work

final granite
#

SSH does work?

#

What OS did you use?

ember wagon
#

ssh: connect to host 192.168.28.18 port 22: Connection timed out

ember wagon
final granite
#

Raspberry Pi OS lite? MainsailOS? FluiddPi? Raspberry Pi OS lite (legacy)?

ember wagon
#

i followed the instruction you send me

#

so mainsail

final granite
#

Mainsail != MainsailOS

#

So what exactly is your setup now? A fresh install with a MainsailOS?

#

If it's MainsailOS it can take up to 10-15min until you can connect

ember wagon
#

I deleted everything on my SD card and then followed the instruction

So I installed mainsailos 32 bit on my raspberry pi zero W

final granite
#

Overall we don't recommend a Pi zero w, just fyi
It's simply not that powerful and could lead to timeouts.

final granite
ember wagon
final granite
#

Just wanted to be sure as I had myself struggles with that in the past sometimes.

ember wagon
#

still a time out

final granite
#

But it's shown inside your router as connected?

ember wagon
#

yes

final granite
#

Do you maybe have hdmi cable that fits into the pi with that you can connect it to a monitor?

ember wagon
#

No

final granite
#

Another pi maybe?

#

We need some kind of video output to see what's going on. Otherwise, you can only reflash and hope that it will work again

ember wagon
#

i found a cable

#

but the raspbarry wants a mainsail login from me

final granite
#

No, it wants the username and password you chose in the imager

#

if you didn't choose anything, the default username and password should be pi and raspberry

ember wagon
#

should i insert the password or the usewrname

final granite
ember wagon
#

I can only do it tomorrow, because I don't got a prober keyboard

Sry. But thanks for the help so far.

ember wagon
#

I think i got in now @final granite

#

i logged in my raspberry pi, what should i do next?

final granite
#

Run ifconfig and send a picture of it

#

Now go onto your PC and open a terminal/powershell/cmd.
Run there ping 192.168.28.18

#

Wait, did you ever try to connect with ssh?

#

I never asked for that ^^

ember wagon
#

yes

final granite
#

And that didn't work, right?

#

Nvm found it

ember wagon
#

yes it says conectioon timed out port 22

final granite
#

Too much open support cases ^^

#

The ping command also don't work right?

ember wagon
#

yes

#

but it says, taht it is timed out

final granite
#

Run ipconfig

ember wagon
#

on my pc?

final granite
#

Yes

ember wagon
#

or the raspberry

final granite
#

PC

ember wagon
#

yes

#

did it

final granite
#

Fyi I'm from germany and can read german 😄

final granite
ember wagon
final granite
#

Nope, this server is english, so we will stay in english, sry

ember wagon
#

ok

final granite
#

It's that other people can follow this and maybe find a solution later

ember wagon
#

ok, where do i find the output?

final granite
#

Did you run it in a terminal?

ember wagon
#

no, cmd

final granite
#

Do you mean the run dialog or actual cmd? Then the output should be inside the cmd

#

You can delete it again

#

I'm not sure about the ipv6 address, so better is to delete it ^^

#

The ipv4 address was in the 192.168.0.xx subspace. That is different to your Pi. So your ethernet cannot connect to your wifi

ember wagon
#

doesnt work

#

and last time i could connect through my ethernet

final granite
#

What was the ip of your pi then?

final granite
#

Hm, okay

ember wagon
#

i could try another wifi

#

but last time it worked with that connection

final granite
#

Can you run systemctl status moonraker on the pi real quick?

#

So overall the networking should be fine.

ember wagon
#

i could try to install it new for the third time

But i dont know, if iot changes anything

final granite
#

Tbh, I don't know too 🤷‍♂️

#

If it doesn't work after a fresh install, I would ping our Linux guru, maybe he got an idea

ember wagon
#

maby i did something wrong at the inatll. But i dont know what it could be. Because i followed the instruction

#

maby i found my error 🙂

#

It is possible that i booted with the raspberry pi zerro software

But i could be, that i got an zero 2

final granite
#

Normally there shouldn't be any difference

#

You have to make sure that ssh is activated and a different user and password should be chosen too.

ember wagon
#

yes

I am installing it again now

And then try again

ember wagon
#

i changed the wifi and it worked

#

now i got this

final granite
#

Let me guess, you don't have your printer.cfg restored?

ember wagon
ember wagon
#

the printer.conf is missing in the mashine

final granite
#

Oh wait, you were the one who bought the printer off of ebay. I hope you saved it that you can create a new one more easily.
Like rick already said before, you shouldn't use the old one

ember wagon
#

i saved the old one

final granite
#

Good, then create a new printer.cfg on the machine page and start by adding:
[include mainsail.cfg] at the top of the file.
Then you can hit save & restart and it will show you what section you are missing.
Explanation to those sections can be found here: https://www.klipper3d.org/Config_Reference.html
You can also have a look at the old file to see what the previous owner defined in those sections. Those values can be used for the most part

#

It's a long process, but this assures that you at least understand a little bit of what's going on with your printer

ember wagon
#

ok thanks

#

the include didnt work

#

there is only the line with [include mainsail.cfg]

#

i've got this error

final granite
#

That's why I send you the link and said, you should look into the link old config

#

That include doesn't automagically solves all your problems, just a few minor things

ember wagon
#

but where do i find what is missing

final granite
#

It's missing hte option serial in section mcu

#

So inside the section mcu, maybe not defined yet, you need to add serial

#

The value of serial is describer under that link or you can just take the one from the old config

ember wagon
#

but the printer cf. is empty

#

i dont know where to find the mcu.
Du i have to insert it myself?

final granite
#

Like I said

maybe not defined yet

#

So yes, just add it yourself

#

Also your file should have already [include mainsail.cfg] at the top of the file

final granite
ember wagon
#

yeah

#

i cant find my auto level function

final granite
#

[probe] or [bltouch] and [bed_mesh] are the things you are searching for

ember wagon
#

found it

ember wagon
#

hey,

i set up my printer
And now i dont get an image through my webcam
But the light on the cam is on

Do you now, if there is a way to see if its a software or a hardware error

final granite
#

Did you use MainsailOS and renamed your user?

ember wagon
#

not reay sure tbh

#

it is a raspberry pi camera

final granite
#

Send your crowsnest.log

#

If there is no log, run systemctl status crowsnest via ssh

ember wagon
#

my password wasnt working and now the permission is dnied. is there a way to get around it?

final granite
#

Afaik yes, but I never done it and you need to figure it out yourself.
Just fyi, I'm a bit sick and still got other stuff to do too

#

Can you still login on the pi directly? If yes, you might have accidentally set a ssh key?

ember wagon
#

im in

final granite
#

On ssh or just on the pi?

ember wagon
final granite
#

Ok, it's a renamed user

#

That bug will be fixed in the future

#

Run:

rm -rf ~/crowsnest/tools/pkglist.sh
ln -sf ~/crowsnest/tools/libs/pkglist-rpi.sh ~/crowsnest/tools/pkglist.sh
```and then fix the log_path inside the crowsnest.conf
final granite
#

yes

ember wagon
#

all three lines at the same time or one after a nother

final granite
#

That are two lines and it doesn't matter

ember wagon
#

can i do this, while its printing

Im doing some calibration at the moment. but can stop at any tiomer

final granite
#

You can do it

ember wagon
#

this doesnt do anything

final granite
#

It did something

#

It just don't output anything

#

Sometimes it only outputs if it fails

ember wagon
#

ok

final granite
#

That just deleted a file that was wrong

ember wagon
#

are the ln and the ~/crowsnest line one?

final granite
#

Yes

ember wagon
final granite
#

You typoed twice

#

You forgot a / in the first path and typoed crowsnest in the second

#

A small tip, use copy and paste

ember wagon
#

this doesnt wokr for no reason

final granite
#

The pasting? Try right click

ember wagon
#

ok did it

ember wagon
final granite
#

Currently it's directing to /home/pi/... but your user isn't pi, so change the pi to your user

ember wagon
#

ok

#

do i have to restard the firmware?

final granite
#

Nope, just crowsnest

#

If that doesn't work, I recommend a full pi reboot, as I always forget the command to reset the restart timer

ember wagon
#

now my cmplete printerconf is empty

can i reload a saved config?

final granite
#

How did it get empty? If you hit save earlier, it should have been saved

ember wagon
#

yes

final granite
#

On the machine page it should show you all files

#

If there is no printer.cfg with content, then I don't know what you did

ember wagon
#

i am not sure

But i reloaded a saved printer cfg from 4 minutes ago and now its running again

final granite
#

¯_(ツ)_/¯

ember wagon
#

now i got this

final granite
ember wagon
#

now its this

#

an my croesnet cnf is the same, as the image shown (accept the quality)

final granite
#

Let me guess you have an OV5647?

ember wagon
#

yes

final granite
#

Was it pretty cheap?

ember wagon
#

i think so

#

or whats pretty cheap?

final granite
#

less than 15€

ember wagon
#

yeah that i possible

final granite
ember wagon
final granite
#

You can send a picture of it, if you want me to confirm it xD

#

The second one is a genuine one and the first one are fakes

#

You can distinguish it with the print on the cable.

#

If it's a genuine one I most likely know the problem xD

#

I forgot about that for a second

#

I need a log for that to confirm

#

*crowsnest.log

ember wagon
final granite
#

Ok, send a crowsnest.log real quick

ember wagon
final granite
#

You have to wait for the download to finish

#

nvm

#

Seems like that can work too ^^

ember wagon
#

sry

final granite
#

Are you still doing tests or something like that??

ember wagon
#

no

final granite
#

Then run cd ~/crowsnest && make update on ssh

#

That can take some time

#

Wait

#

You have to stop Moonraker and Klipper first

sudo systemctl stop klipper
sudo systemctl stop moonraker
sudo systemctl stop crowsnest
cd ~/crowsnest
make update
#

Run those commands and then it will hopefully compile all the way through

ember wagon
#

its finished

#

should i restard the oi

#

it worked

#

Thank you very much for your help and patience.

I musst say. This ist the best support i've ever gotten