#webcam disconnected, crowsnest/mailsail/usb webcam

67 messages · Page 1 of 1 (latest)

bright nest
#

1st time setting up a webcam. ive installed crowsnest and created a camera profile in the interface settings. i am using a manta m8p + cb1 so not a ras pi, so im using ustreamer. the log file shows crowsnest is locating the camera on port 8080, and i copied the path to crowsnest.conf. however, the webcam perpetually shows as disconnected. i am currently using mjpeg-streamer and the URL designated by port 8080

#

included screenshots of the related menus and files

odd beaconBOT
#

Ahoi @bright nest!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

bright nest
normal ferry
#

Look closely at your device path. Does it look right as a file path?

bright nest
#

that briefly got it working, i saved and rebooted, no longer working, same issue

normal ferry
#

I don't see your changes, you should provide some more info, or send your log

bright nest
#

only change is to the path

normal ferry
#

Where does that #' come from on the last line?

#

Is that in the log, or some copy paste error?

#

But that is your error: ERROR: Start of ustreamer [cam arducam] failed!

#

Set log_level: debug to get a more specific error

bright nest
#

that is from the log, just grabbed a new one and its there too

normal ferry
#

Can you send your crowsnest.conf file? Just download and send it

#

No copy paste

bright nest
normal ferry
#

I have a bad feeling what's wrong. Can you remove the # See log for available devices line? Or maybe move it into line 41?

#

If that doesn't help I need a debug log

bright nest
#

surprise webcam jumpscare

#

its back but i dont trust this

normal ferry
#

I bet it's just a parsing error in Crowsnest. If you add a new line with one or two spaces below the device path, it won't crop it correctly

normal ferry
#

Oh, you did not do that?

bright nest
#

no

normal ferry
#

Ok, then I recommend to enable the debug log for now and next time the camera disappears, send the log

#

Might be after a reboot

bright nest
normal ferry
#

Never saw that error. Kinda funny ^^
ERROR [40.379 ] -- HTTP: Can't bind HTTP on [127.0.0.1]:8080: Success

#

The error was a success

#

Login via ssh and add -s to your ~/printer_data/systemd/crowsnest.env

bright nest
#

im not very good at cmd line stuff

normal ferry
#

Connect with ssh to your cb1

bright nest
#

yup, did that

normal ferry
#

Then run nano ~/printer_data/systemd/crowsnest.env

bright nest
#

ok

normal ferry
#

you should now see a text editor

bright nest
normal ferry
#

Move your cursor with the arrow keys to the right

#

If you are at the last position, click once the left arrow key and then write -s 5

bright nest
#

before or after the quotations

normal ferry
#

Before

#

And a space after the .conf

bright nest
#

ok did that

normal ferry
#

CROWSNEST_ARGS="-c /home/pi/printer_data/config/crowsnest.conf -s 5"

#

Should look like that now

bright nest
#

it does

normal ferry
#

Then hit ctrl+s and ctrl+x

#

Then reboot

bright nest
#

is ctrf same as ctrl?

#

ok

normal ferry
#

Yes, was just a typo twice xD

bright nest
#

no worries

#

great sadness fills me

normal ferry
#

Send the log again

#

If you hit the restart button of crowsnest top right in Mainsail, it's working?

bright nest
normal ferry
#

If so, you might need to increase it further

#

Instead of 5, maybe 15

bright nest
#

is that a delay?

normal ferry
#

Yes

#

It's only for the first boot, as some systems start Crowsnest too early somehow

bright nest
#

she lives

#

post reboot... still going!

#

@normal ferry thank you kindly friend!