Motioneye can't connect to raspberry pi motion camera #207

Closed
opened 2026-02-28 00:10:36 -05:00 by deekerman · 16 comments
Owner

Originally created by @jcherndon on GitHub (Jun 11, 2016).

I have a raspberry pi with motion (3.2.12+git20140228) installed (via apt-get) and can verify works by going to ports 8080 and 8081.
I have motioneye 0.31.5 running on a centos7 box.
When I try to connect from motioneye to the raspberry pi i get a "not valid" error in the gui and a log of
ERROR: failed to list remote cameras on http://192.168.2.7:8080: Not Valid
DEBUG: 200 GET /config/list/?_=1465662158611&scheme=http&host=192.168.2.7&port=8080&path=%2F&username=admin&password=&proto=motioneye&_username=admin&_signature=3a86ea4e4749cea1353f44a95288ecaf22217711 (192.168.2.184) 20.80ms

Ideas?

Originally created by @jcherndon on GitHub (Jun 11, 2016). I have a raspberry pi with motion (3.2.12+git20140228) installed (via apt-get) and can verify works by going to ports 8080 and 8081. I have motioneye 0.31.5 running on a centos7 box. When I try to connect from motioneye to the raspberry pi i get a "not valid" error in the gui and a log of ERROR: failed to list remote cameras on http://192.168.2.7:8080: Not Valid DEBUG: 200 GET /config/list/?_=1465662158611&scheme=http&host=192.168.2.7&port=8080&path=%2F&username=admin&password=&proto=motioneye&_username=admin&_signature=3a86ea4e4749cea1353f44a95288ecaf22217711 (192.168.2.184) 20.80ms Ideas?
Author
Owner

@Oxize commented on GitHub (Jun 12, 2016):

Did you select local camera and then the camera which is connected to the RPI?

@Oxize commented on GitHub (Jun 12, 2016): Did you select local camera and then the camera which is connected to the RPI?
Author
Owner

@ccrisan commented on GitHub (Jun 12, 2016):

It looks like you're trying to add a remote motionEye camera but you provided the URL to a MJPEG stream. You'll probably want to specify port 80 (or none) instead of 8080.

@ccrisan commented on GitHub (Jun 12, 2016): It looks like you're trying to add a remote motionEye camera but you provided the URL to a MJPEG stream. You'll probably want to specify port 80 (or none) instead of 8080.
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

But the motion software on the pi is listening on 8080 and 8081 (verified with netstat).
Maybe I don't have a library installed on the pis? I was able to connect a pi installed with the motioneyeos to my motioneye (centos7) box.
I haven't done much with the motion.conf on the pis, just enabled remote admin and deamon processing.

@jcherndon commented on GitHub (Jun 12, 2016): But the motion software on the pi is listening on 8080 and 8081 (verified with netstat). Maybe I don't have a library installed on the pis? I was able to connect a pi installed with the motioneyeos to my motioneye (centos7) box. I haven't done much with the motion.conf on the pis, just enabled remote admin and deamon processing.
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

Do I need motioneye running on pis along with motion in order to connect with a different motioneye server?

@jcherndon commented on GitHub (Jun 12, 2016): Do I need motioneye running on pis along with motion in order to connect with a different motioneye server?
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

new to github, don't know why I closed this.

@jcherndon commented on GitHub (Jun 12, 2016): new to github, don't know why I closed this.
Author
Owner

@ccrisan commented on GitHub (Jun 12, 2016):

I thought you were running motionEye on your PI as well. If you only run motion on your PI, then add the camera as a network camera (as opposed to Remote motionEye Camera).

@ccrisan commented on GitHub (Jun 12, 2016): I thought you were running motionEye on your PI as well. If you only run motion on your PI, then add the camera as a network camera (as opposed to Remote motionEye Camera).
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

ok, that worked. Will I be able to control the motion (pi) though the motioneye (centos), i.e. change parameters and such?

@jcherndon commented on GitHub (Jun 12, 2016): ok, that worked. Will I be able to control the motion (pi) though the motioneye (centos), i.e. change parameters and such?
Author
Owner

@ccrisan commented on GitHub (Jun 12, 2016):

Nope.

@ccrisan commented on GitHub (Jun 12, 2016): Nope.
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

so then If I was to change motion parameters I'll need to install motioneye on the pis as well? Or is that something that doesn't get done?

@jcherndon commented on GitHub (Jun 12, 2016): so then If I was to change motion parameters I'll need to install motioneye on the pis as well? Or is that something that doesn't get done?
Author
Owner

@Oxize commented on GitHub (Jun 12, 2016):

Why dont you just access (motionEye) the PI from any box webbased (either its windows, linux) Why you want within Centos from Motion to MotionEye PI? I guess you have the camera connected on your PI?

@Oxize commented on GitHub (Jun 12, 2016): Why dont you just access (motionEye) the PI from any box webbased (either its windows, linux) Why you want within Centos from Motion to MotionEye PI? I guess you have the camera connected on your PI?
Author
Owner

@ccrisan commented on GitHub (Jun 12, 2016):

@jcherndon I thought that was obvious :)

@ccrisan commented on GitHub (Jun 12, 2016): @jcherndon I thought that was obvious :)
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

So maybe it'll help if I mentioned what I want to do.
I have 1 box that is accessible from the internet, the centos box.
I want to see all my pis videos through that one interface, motioneye.
I thought I could have the one motioneye centos that had multiple motion pis video streams on it.
I though that through the centos motioneye I could alter settings on the moiton pis if I wanted to.

@jcherndon commented on GitHub (Jun 12, 2016): So maybe it'll help if I mentioned what I want to do. I have 1 box that is accessible from the internet, the centos box. I want to see all my pis videos through that one interface, motioneye. I thought I could have the one motioneye centos that had multiple motion pis video streams on it. I though that through the centos motioneye I could alter settings on the moiton pis if I wanted to.
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

OK, I got things working though I'm not sure how correct it is. What would be the correct layout for what I mentioned above. 1 server hosting a web page for multiple pi cameras?

@jcherndon commented on GitHub (Jun 12, 2016): OK, I got things working though I'm not sure how correct it is. What would be the correct layout for what I mentioned above. 1 server hosting a web page for multiple pi cameras?
Author
Owner

@ccrisan commented on GitHub (Jun 12, 2016):

@jcherndon just install motionEyeOS or motionEye + Raspbian on your PIs and use your existing central motionEye from the centox box to control them.

@ccrisan commented on GitHub (Jun 12, 2016): @jcherndon just install [motionEyeOS](https://github.com/ccrisan/motioneyeos) or motionEye + Raspbian on your PIs and use your existing central motionEye from the centox box to control them.
Author
Owner

@jcherndon commented on GitHub (Jun 12, 2016):

okie doke, I'll close this, thanks!

@jcherndon commented on GitHub (Jun 12, 2016): okie doke, I'll close this, thanks!
Author
Owner

@DonGrego617 commented on GitHub (May 26, 2017):

Hi,
Love the app. Fabulous. But, I'm having a problem connecting MotionEye on Pi #1 to the Camera on MotionEye on Pi #2 on my local network. I try to add remote motioneye camera on PI #2, I enter the "http://192.168.1.22" address, leave the password "admin", leave the password blank (i have no password on my MotionEye on Pi #2...) but the error I receive is: Failed to cennect to 192.168.1.22 port 80: Connection refused.

I have a standard, out-of-the box Noobs installation of Raspian, with SSH running. That's it. There is nothing else I did to this box (ie: no other services, servers, firewall changes, etc.) Is there something where I have to open the port? Thanks in advance!!!
capture

@DonGrego617 commented on GitHub (May 26, 2017): Hi, Love the app. Fabulous. But, I'm having a problem connecting MotionEye on Pi #1 to the Camera on MotionEye on Pi #2 on my local network. I try to add remote motioneye camera on PI #2, I enter the "http://192.168.1.22" address, leave the password "admin", leave the password blank (i have no password on my MotionEye on Pi #2...) but the error I receive is: Failed to cennect to 192.168.1.22 port 80: Connection refused. I have a standard, out-of-the box Noobs installation of Raspian, with SSH running. That's it. There is nothing else I did to this box (ie: no other services, servers, firewall changes, etc.) Is there something where I have to open the port? Thanks in advance!!! ![capture](https://cloud.githubusercontent.com/assets/27306106/26501053/5895c99e-4206-11e7-9525-1fe42c64a8ef.JPG)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#207
No description provided.