MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-MotionEye - surveillance video stream on your mirror!

    Scheduled Pinned Locked Moved Utilities
    70 Posts 15 Posters 93.9k Views 15 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CatoC Offline
      Cato Module Developer
      last edited by Cato

      Hi,

      Seems many missunderstand the URL-parameter. This is the Streaming URL you have to find in MotionEye. It is not the URL of MagicMirror or the motion detection url you configure in MotionEye.

      As described in the README.md:

      url

      Video Streaming URL. You find it in Motion Eye in the Video Streaming Section under Usefull URLs by by clicking the Streaming URL link. It should look something like this: http://motioneye:8081 (probably an IP instead of hostname).

      Open that URL in a browser and you should get a single animated JPEG. If not, then you have found the wrong URL!

      The URL that looks like this: http://magicmirror:8080/motioneye/1 has nothing to do with what image is visible in the module. This is an triggering URL for showing the image if it’s hidden and a motion that MotionEye detects. It should be configured in MotionEye and not this module. Skip this step unless you know what you are doing…

      S 1 Reply Last reply Reply Quote 0
      • W Offline
        Woody
        last edited by

        Hi all,
        I recently installed the current MM version on the current Jessie image to use on a RPI III. Everyting fine with the standard installation. Then I installed MotionEye on top but can’t get it running. I used the same config parms then in another installation but without success. I can see only a small icon on the screen where the stream should be visible. Surprisingly i can see everything on any other system using http:Ipaddress:8080. I can also switch on/off using wget but I see only a small icon on the MM system. Nothing helpful in the logs. I’m clueless at the moment. Any help will be appreciated.

        CatoC 1 Reply Last reply Reply Quote 0
        • CatoC Offline
          Cato Module Developer @Woody
          last edited by

          @Woody Can you send a screenshot of Video Streaming URL in MotionEye?

          1 Reply Last reply Reply Quote 0
          • W Offline
            Woody
            last edited by

            @Cato Hi Cato, actually I don’t know what you really mean. The URL i use is http://userid:password@myipaddress:8081. This streaming URL works on any browser and on my other MM system. I’ve made also a shot of the icon I see on the screen if you mean that. Remember, when I’m URL to MM from any other system everything works as expected.
            0_1493310944846_screenshot.png

            1 Reply Last reply Reply Quote 0
            • CatoC Offline
              Cato Module Developer
              last edited by

              No, I want to see a screenshot of MotionEye, the section where Video Streaming URL is shown.

              You say that “Then I installed MotionEye on top but can’t get it running”. What can’t you get running? MotionEye or MagicMirror or this module?

              1 Reply Last reply Reply Quote 0
              • W Offline
                Woody
                last edited by

                @cato O.K. Cato, now I understand what you mean, sorry. As mentioned, I installed a complete new MM from scratch. Everything went fine, MM’s standard modules are present, as expected. Then I installed MotionEye as described but on the screen I see only the small image as on the picture. This also disappears when I configure autohide and no motion is present. 0_1493326715516_URL.png
                I think that’s it

                1 Reply Last reply Reply Quote 0
                • CatoC Offline
                  Cato Module Developer
                  last edited by

                  Can you paste your config-section of this module?

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    Woody
                    last edited by yawns

                    @cato

                    {
                    	                  module: 'MMM-MotionEye',
                    	                  position: 'lower_third',
                    	                  config: {
                    		          url: "http://userid:password@192.168.0.13:8081",
                                              width: '800',
                                              autoHide: 'false',
                                              autoHideDelay: '60000',
                                              debug: 'true'
                    	     }
                           },
                    

                    for the sake of completeness, this is my trigger URL http://MMip:8080/motioneye

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      Woody
                      last edited by

                      @cato
                      made a new installation as describek by @KirAsh4 with the same result as already mentioned but found some maybe related entries in the pm2 mm-out-0.log.

                      > magicmirror@2.1.1 start /home/pi/MagicMirror
                      > sh run-start.sh
                      
                      Starting MagicMirror: v2.1.1
                      Loading config ...
                      Loading module helpers ...
                      No helper found for module: alert.
                      No helper found for module: clock.
                      Initializing new module helper ...
                      Module helper loaded: calendar
                      No helper found for module: currentweather.
                      No helper found for module: weatherforecast.
                      Initializing new module helper ...
                      Module helper loaded: newsfeed
                      Initializing new module helper ...
                      Module helper loaded: MMM-MotionEye
                      All module helpers loaded.
                      Starting server on port 8080 ... 
                      Starting server op port 8080 ... 
                      You're using a full whitelist configuration to allow for all IPs
                      Server started ...
                      Connecting socket for: calendar
                      Starting node helper for: calendar
                      Connecting socket for: newsfeed
                      Starting module: newsfeed
                      Connecting socket for: MMM-MotionEye
                      Starting module: MMM-MotionEye
                      Sockets connected & modules started ...
                      Launching application.
                      Create new calendar fetcher for url: http://xxx
                      Create new calendar fetcher for url: http://xxx
                      Create new news fetcher for url: http://www.spiegel.de/schlagzeilen/tops/index.rss - Interval: 300000
                      Hiding camera: undefined
                      Motion registered: undefined
                      Motion registered: undefined
                      Motion registered: undefined
                      Motion registered: undefined
                      
                      

                      maybe a helpful hint ???

                      1 Reply Last reply Reply Quote 0
                      • CatoC Offline
                        Cato Module Developer
                        last edited by

                        I’m on vaccation until next week (back 8th of May) and don’t have any chance of doing any testing.

                        Just wondering about your configuration. The values for width, autoHide, autoHideDelay and debug is not a string and you should not have the hyphen ( ’ ) around them. Not shure if it matters, but could you try to remove them?

                        1 Reply Last reply Reply Quote 1
                        • W Offline
                          Woody
                          last edited by

                          @Cato
                          Hi, I had a bit more time over the weekend. By trial an error I found out that the problem is related to my motioneye URL string providing userid and password. Apparently the Electron browser can’t handle this. After disabling authorization in Motioneye the problem was solved. In another MM installation on a Pi Zero I use Midori as browser and this works since month without problems. Thanks for MMM-Motioneye and your help in this case.

                          1 Reply Last reply Reply Quote 1
                          • A Offline
                            AWall
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • foxF Offline
                              fox
                              last edited by

                              which camera du you suggest? I never had one. Should work for and in my garden (to observe the kids)

                              Issues With MMM-WatchDog known?

                              https://forum.magicmirror.builders/post/29827

                              Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Binog
                                last edited by

                                Just have a look for the noir camera. Have a look for amazon.com. There is an official cam - I think - by the raspberry company. But any other that support the onboard psi cam plug is imho better than usb cam. But that is your decision.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  darbos @emos
                                  last edited by

                                  @emos
                                  I had that same issue. I ended up just creating a few mmm-mogioneye module entries in the config file

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    SdeGeata @Binog
                                    last edited by

                                    @Binog

                                    Did you ever get an answer back on this one? I am having the same problem. I see everything fine without autohide active, but if I activate autohide, I see it for a bit during page load and never again after. I get detected motion emails and photo uploads so the detection isn’t the problem. It just doesn’t get fed to the mirror module somehow. Maybe my Web-hook config is off?

                                    It would be helpful to know if you fixed your issue and how you did it.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      Binog
                                      last edited by

                                      Hey, SdeGeata
                                      No, actually I didn’t

                                      I circumvented it by setting up a motioneyeos raspberry pi zero. As I needed the larger image on my Magicmirror I used “fast…?” option, which does not provide any of the motion activities,. what was fine to me.
                                      I do think, this is not merely a problem of motioneye, but of the MM its self.
                                      With every update of MM the Gap went bigger, I got more problems.
                                      Now, streaming the motioneyeos to two MMs it is more steady, nonetheless I do habe outages. I don’t see a picture,. although my browser directed to motioneyeos shows an actual one. Restarting MM solves that issue- normally,…
                                      Good look to You !

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        SdeGeata @Binog
                                        last edited by

                                        @Binog

                                        Thanks for the info. I’ll keep trying stuff out and see what happens.

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          SdeGeata @Cato
                                          last edited by

                                          @Cato
                                          So how do we use that Webhook URL to trigger the hidden module. I have been screwing with it for days trying to get it to work. Can you clarify the config for that?

                                          O 1 Reply Last reply Reply Quote 0
                                          • O Offline
                                            OberfragGER @SdeGeata
                                            last edited by

                                            @Cato
                                            I really want to use the AutoHide feature. But the stream is fixed and always displayed. Is there any possibility…?

                                            	{
                                            		module: "MMM-MotionEye",
                                            		position: "bottom_left",
                                            		config: {
                                            			url: "http://pihole:8081",
                                            			autoHide: true,
                                            			autoHideDelay: "10000",
                                            			forcedRefreshInterval: 60000,
                                            			width: "400px",
                                            			debug: false
                                            				}
                                            	},
                                            
                                            O 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy