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
MotionEye integration not working with Motioneye addon #50409
Comments
Hey there @dermotduffy, mind taking a look at this issue as its been labeled with an integration ( |
Sorry, forgot to mention and link, the add on in use is: |
Your theory would be my theory -- the integration seems to be working fine, but the stream URL is not accessible to HA as configured. I'm the motionEye integration author (and author of the matching more feature-full custom component). Unfortunately, I don't use addons -- nor do I have any hardware available right now on which to experiment. Since this seems to be a common stumbling block for motionEye add-on users, is there anyone who feels qualified to write-up the steps? If so, you could either directly write a PR for Home Assistant Core documentation or the custom component -- or simply describe the steps in this bug and I could attempt to transcribe. In particular @basnijholt and @nmsousa76 both appear to have got this working, so may be willing to write it up...? |
Actually, it's a bit more interesting. Looking at the other 2 issues i exposed port 8765 in the addon configuration and double checked to make sure that I was able to login from the LAN which worked. And again, since the config_flow works and adds the device it shows that it is able to communicate with the motioneye server. The problem only crops up when trying to view the camera. And from the error posted above it appears that when I try to view the camera, instead of providing the credentials to motioneye, the integration is trying to login to homeassistant instead of the motioneye server. |
@omriasta The integration uses the stream port that is configured on motionEye, and the same hostname the integration is configured with. This behavior is described more here: https://github.com/dermotduffy/hass-motioneye#camera-mjpeg-streams @omriasta Your second question is answered here:
|
Yep, silly me...of course the streaming needs to be on to view the camera. My bad....didn't really think it through. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This issue has actually been fixed, as the add-on & integration now auto-discover each other at this point. |
The problem
Trying to add the integration using the URL http://127.0.0.1:28765 as specified by the add on creator succeeds however the camera is not viewable. An error appears in the logs only after attempting to view the camera indicating a login error.
Possibly the integration is not expecting the use of ingress?
What is version of Home Assistant Core has the issue?
core-2015.5.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
motionEye
Link to integration documentation on our website
https://www.home-assistant.io/integrations/motioneye/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I am guessing that since the integration is detecting the install and does complete the flow, it even adds the camera device and entity, the issue is most likely with the URL of the camera stream which is probably presented using ingress or maybe because my camera uses rtsp with the user/password specified in the URL.
The text was updated successfully, but these errors were encountered: