Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi Cam not connecting #233

Closed
rafaelmontserrat opened this issue Jan 16, 2024 · 2 comments
Closed

Raspberry Pi Cam not connecting #233

rafaelmontserrat opened this issue Jan 16, 2024 · 2 comments

Comments

@rafaelmontserrat
Copy link

What happened

I have a RPI 4, with a RPI cam v2.1. I have followed all the possible instructions and troubleshooting documentation but still cant get the camera image to show up on mainsail.

What did you expect to happen

The camera to work.

How to reproduce

My cam is connected to my PI in the camera slot with the ribbon cable. My config is the following:

[crowsnest]
log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
device: /base/soc/i2c0mux/i2c@1/imx219@10 # See Log for available ...
resolution: 1280x720 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

The device section I got it from my log file on mainsail. When I go to add camera, I dont get image on any of the options.

Additional information

I have enabled the camera support in raspi-config.
I have used this pi and camera in the past and it was plug and play, but changed my setup recently and it is not anymore.

Here all the resources I have followed to try and troubleshoot it myself:
https://crowsnest.mainsail.xyz/configuration/cam-section
https://github.com/mainsail-crew/crowsnest/blob/master/resources/crowsnest.conf
#143 (comment)
#151
https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam

Appreciate any help.

@rafaelmontserrat rafaelmontserrat added the bug Something isn't working label Jan 16, 2024
@mryel00 mryel00 added not an Issue and removed bug Something isn't working labels Jan 16, 2024
Copy link

Ahoi!

It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.

We use github to handle bugreports, feature requests and
planning new releases.

Please use our Discord-Server for help: discord.gg/mainsail

This ticket will be automatically closed.

Fair wind and a following sea!
~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

@mryel00
Copy link
Member

mryel00 commented Jan 16, 2024

As follow up because the bot isn't updated yet.
You can also use the mainsail-crew GitHub Discussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants