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 Zero W cannot find Local Camera #807
Comments
Can confirm the same issue, if I switch to Raspbian SD card it works fine, so the camera (v2) is definitely plugged in correctly. I followed Jawsper's suggestion in #804 to get the WiFi working properly but cannot select a camera once I log into the web interface. |
I can confirm the same behaviour - Official Raspberry Pi Camera not working on Raspberry Pi Zero-W with MotionEyeOs but works fine with latest Raspbian SD Card. |
Hi also having similar issues: cant get the wifi working so using a dongle which connects first time many thanks for any help |
also @30dbs how did you open bootcode.bin (win 10) |
@jasharrar I copied it on my Linux desktop, but as far as I am aware it should work fine on windows 10 as the files were in the boot partition which is fat32. If you couldn't see the file maybe maybe you have systems files hidden? After copying and rebooting the wifi worked fine. |
@30dbs i found the file, i just cant open it lol. thanks ill have a go on a friends laptop. |
@jasharrar. you don't need to open it, just copy the three files bootcode.bin From the boot partition of jessie to the boot partition of motioneyeos |
thanks @30dbs i have tried that but im still getting stuck in the boot loop due to no device on wpa_supplicant. i have copied the files from jessie lite and my own wpa conf file. if i plug in the wifi adaptor it works first time. bump. |
Copying those files worked for me, thanks @30dbs, though there's still no camera :( |
No camera here either but working with latest Raspbian. rev 1.3 camera. |
I copied the three files from a full fat version of Jessie but upon booting motioneyeos it is looking for a wired network - fails then reboots. Can anyone give me some pointers |
You also need to create a text file in the boot partition called... wpa_supplicant.conf With the contents below... update_config=1 |
Thanks - I added the file using both notepad++ and notepad but still reports only checking for the wired network :/ |
@irishbiker I got mine working finally, I did a fresh install, with the conf file as above and the 3 files from Jessie(but I found that using the full version worked not the lite one for some reason). Has anyone got any closer getting the on board camera working? |
I have done several fresh installs, with proper wpa supplicant config and the three files from Jessie (both lite and regular) but I am met with a "no device" message for wifi on boot. Any ideas? |
Guys, there's no support for Raspberry PI Zero W in motionEyeOS yet. The next version will add support for Zero W. |
Heh. While there's no support right now, I did manage to get it working. Changes made in addition to above:
I wound up copying a few other files over during testing, but I'm not sure their purpose, so I can't say they're related. Once I caught on that the camera is now activated by start_x in the config.txt file, that seemed to be the focus. For me, this resolves the on board camera issue. Sorry, ccrisan, if it's jumping the gun. I know I like a good challenge, even if I'm not an expert by any means. I should also note, I do prefer the supported method when it gets put into the MotionEyeOS image. |
Hi all, (especially ccrisan - awesome work). I've built the latest img file from source (as per your instructions) and it is working very well for my pi zero w - tested on 2 Pi Zero W's with v1 camera and version 2.1 noIR camera. @ccrisan it ok to share the img file? |
Sure thing, just share the link with us. I'll receive my board soon and I'll be able to run the tests myself. |
Cool, Raspberry Pi Zero W - MotionEyeOS
Notes:
EDIT:
|
great stuff @wdawson001 it works perfectly. |
yep, bonzer, thanks |
Thanks, worked first time! |
Hi, trying to log in via SSH fails with this build. Can anyone else connect or is it just me? |
Have you enabled it in the webpage? SSH is not enabled by default in raspbian any more. To enable it. Put a blank file called SSH (no extention) on the boot partition. |
Is this applicable to MotionEyesOS? I have enabled SSH in the administrator account settings. Do I need to do more than that? |
Thanks @wdawson001! Works perfectly. |
@Gantelope - I've just tried SSH on this build and I can't get it to work. This is not a official build, so it may be something that will get addressed in the next release. |
Thanks for checking. Good to know it's not something I have done. I have to say I am so impressed with all of this. It works so well. I have had it running for a few days now without any problems. Even spotted my window cleaner working hard this morning! Thanks for all the effort put into MotionEyesOS. |
I was able to get the system up and running and during the process I created the empty file SSH however the service fails to start because host keys were not generated. I tried using ssh-keygen but it wasn't outputting the files in /data/etc/ anyone else having an issue like this? |
Hi guys. Sorry if i'm being a noob but I have the Zero W and trying to get this running and obviously it says no camera as others have found. The fix above is for the motioneyeos. Is there anyone to get it working on motioneye on raspbian?? |
Thanks all, Using the info and image provided by @wdawson001 I got mine up and running, connected to my office wireless network and camera. However when I amend the details in wpa_supplicant.confto the settings for my home network it will not connect. I have got MotionEye running on another Pi Zero (not W) perfectly and have copied the wpa_supplicant.conf from this one to the ZeroW and still no good. If I plug a monitor in it just sits at the connecting to WIFI bit then says no wireless connection. Not sure what I might be missing, any thoughts? Z |
The new official March build works correctly. If it still doesn't work for you, read this: |
I can't find the official march build. Latest on the install page of the wiki is 20170212. I tried the build supplied with wdawson001 and wifi works fine, but I still can't get the official 5Mb Zero camera to work. If I edit config.txt and add the 'start_x=1' line it refuses to boot :( Guess I'll have to wait - I appreciate the massive amount of work ccrisan puts in on this and I'll be patient :) |
Realised I needed the fixup_x.dat and start_x.elf files as well (should read the post better). Now it boots but wifi has stopped working :( |
Superb. That's fixed the sshd problem. However local camera still not working. Hope I haven't broken it pulling it in and out several times :( Anyway - superb job to get a pre-release out. Beer tokens on their way. |
@pshotton thanks. Try using Raspbian and see if you can make the camera work with it. |
Hi, my application is slightly different to the thread but I am hoping someone will know straight away what I am doing wrong! I am using a Raspberry Pi B with a USB video grabber connected to a bird box camera. The software loaded first time, I can access the Pi easily and configure everything - except that it can't find a local camera! I am not trying to use wireless, I am happy with an Ethernet cable but I have tried the various suggestions about adding files without success. |
Hi is there any progress I have missed in other posts? same issues with WiFi and Local Camera. I have a couple of piZero W. OTB observation - latest MotionEye OS halts on Ethernet - added the wpa_supplicant.conf doesn't work for me - if I boot via USB eth then fine - enabling wifi in MotionEye UI and rebooting trys to start wpa but can't find device. I have an older piNoir and new and neither can be found with motioneyeOS I have tried latest raspbian image and wifi works fine as does the camera I'd rather use the optiomised MotioneyeOS than raspian + build - happy to test / post results if it helps. John |
I'm using latest motion eye image on pi3 , still have issues with wifi access , I have setup the wpa_supplicant.conf file in /data/etc/wpa_supplicant.conf but there is no /var/run/wpa_supplicant file. Has anyone faced similar issues? |
Just tested the latest image on pi zero W and NOIR camera, a diffrent NOIR camera, pi1 Camera, PI2 camera all works fine! This is not Motioneyeos issue. Check your hardware and test your setup on regular raspbian! |
Found the problem !! Motioneye did not like
in wpa_supplicant.conf . |
Using MotioneyeOS (20180101) but won't recognize the Pi NoIR camera on a Pi Zero W. Wireless working well. Oops...started working???????????? |
Hardware confirmed working with vanilla latest Raspbian OS.
Am using a USB WiFi dongle for the time being.
Add camera > local camera > (no cameras)
I'm not sure what else I can do - any suggestions?
motionEye Version 20170212
Motion Version 4.0.1+git37b3595
The text was updated successfully, but these errors were encountered: