-
Notifications
You must be signed in to change notification settings - Fork 147
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
Cannot connect to camera ip on port 8081 #55
Comments
So I ran a netstat -tunlp command. The only things I have running are avahi-deamon and dhcpcd. I don't see anything for rpos. |
Try the latest version of npm. I had some instructions for upgrading npm in the README but they may be wrong. sudo npm install -g npm@latest |
Hi Roger, thanks for the reply. I was able to run the install using that command and I nolonger received those warnings. However, I am back at where I started here. Everything installed, rpos not starting the service. Here is a picture of what happens when I run the rpos.js file. Ignore the random updates and installs I ran above... the result was the same before I started retracing steps in the readme and then searching the web for update commands. I wonder if this has to do with hardware differences? Im running this on a pi zero w. I didn't think that would matter, but maybe it does. |
RPOS is not finding the Raspberry Pi camera (the one on the ribbon cable) Can you send the output of 'dmesg' (the end of your dmesg should have the results of the modprobe |
You can also use this command |
ok. I am using the 5mp OV5647 camera. The one that looks like Johnny 5 with the IR blasters on the side. The output of dmesg is bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. using the last command you sent, I get Failed to open /dev/video0: No such file or directory |
does the camera work fine with raspivid |
I haven't tried using another application. |
Though I'm skeptical about this ribbon cable. Going to swap it out |
best place to start will be the standard Raspberry Pi tools for using cameras. These apps talk direct to the hardware. There is a wrapper that makes the hardware appear as a Video4Linux device and that is what the modprobe installed and what RPOS uses. So using the raspivid and raspistill tools test at the most simple level |
Perfect. That's basic principle right? Make sure the hardware is fully functioning haha. I appreciate your quick responses and hopefully this thread will help others with this. 1 suggestion... maybe adding a line saying camera not found would be a nice addition to the next iteration. I wouldn't have bugged you if I knew why the service wasn't starting. But I do greatly appreciate your prompt reply. I will update this as I get things working (or not) lol. |
we could make some changes to RPOS to improve the error messages, would need to detect if bcm2835-v4l is installed and then if /dev/video0 is missing the error is the camera is not found |
It's running now. It was the ribbon cable. So I can get to the configuration page and change settings through the IP address. It won't pull into Milestone yet, but that is probably me. I haven't verified an image yet, so once I do that I'll start down that rabbit hole. |
great. if you want to submit a pull request for the source code to improve error messages that would be great |
You don't get the prompt pack. Have a look at the nohup command in linux too |
I'll take a look. I blew my cover as a windows user huh? Haha. I think I
know why the rtsp server isn't working which is probably while Milestone is
throwing a fit. In an effort to reduce the linux image to fit on a 4gb sd
card I'm running the lite version with no gui. I cant edit the json file
easily without the gui so I didnt change the server type to "2" yet. I'll
have to edit it on another distro and mount a drive to copy it over.
Again, hopefully all this will help someone else down the line. 👍
…On Sun, Jan 13, 2019, 9:14 PM Roger Hardiman ***@***.*** wrote:
You don't get the prompt pack.
I spawn it with node rpos.js &
Have a look at the nohup command in linux too
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ALCxeAsJHmbc9jNf9Y5cMGXuCRxNPDZIks5vC_YmgaJpZM4Z80i6>
.
|
Worked on this a bit more tonight. I have this mostly working. The camera is now live streaming upon running the rpos.js and also through raspivid. I can access the camera settings page on port 8081 and using VLC I can watch the live stream from :8554/h264. However, I CANNOT get milestone to pull in the camera successfully. It detects it, finds the correct model info, but refuses to add the camera. Here are the screen pics. Have any idea where to start with this? |
It did work with milestone once and someone did a bug fix recently for their milestone system. What version of milestone are you on? |
Actually can you open a new issue with a title of Milestone plus the milestone version . Then I can track the milestone problem. Thanks. |
I got the exact same problem before I made the fix ( that should be in the code now ) problem is that Milestone don't accept a NIC with localhost and no real mac-address. |
Can you check if I implemented your fix properly. I may have made an error copying in the fix. Thanks |
Hi. |
Commit has been made. Please get the latest source from GitHub, rebuild it and try it with Milestone. @prometrix had sent in a fix to look for loopback network interfaces. I'd not realised the Pi uses 'lo' whereas the Mac uses 'lo0'. |
Awesome. I didnt have a chance to work on anything last night but I will
give it a go tonight..
…On Wed, Jan 16, 2019, 6:56 AM Roger Hardiman ***@***.*** wrote:
Commit has been made. Please get the latest source from GitHub, rebuild it
and try it with Milestone.
@prometrix <https://github.com/prometrix> had sent in a fix to look for
loopback network interfaces. I'd not realised the Pi uses 'lo' whereas the
Mac uses 'lo0'.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ALCxeBLEqb8jlbETaa1ocxwXH0rstJQHks5vDyFygaJpZM4Z80i6>
.
|
Works PERFECT! Thank you so much! |
Great |
Hello, I believe I have everything installed correctly after having issues with node. I load the camera driver per instructions and run rpos.js. I cannot connect to the interface using 127.0.01:8081 or 192.168.1.xx on a different computer on the network. I really can't confirm that the service is running, not sure how to. Is there a step i'm missing here?
The text was updated successfully, but these errors were encountered: