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.8k 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

      I’m really not sure since I’m not very deep into CSS. I would have to test it this weekend. By schedule is pretty tight…

      I assume you have a very large screen since you’re putting Motion-Eye 1500 pixels down on it?!? :smiley:

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

        Of cause, I’ve a more or less large screen but this is only one of some other positions I tried without success to prevent overlapping with other modules.
        Would be great if you could help with this of cause spezific problem.
        Thx in advance…

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

          Hey there. My problem is, that I do not get an image one the screen, when using autohide.
          It works without using autohide.
          Is it true, that it appears - using autohide - if a motion is recognized?

          So motioneye is recognizing correctly, but obviously it does not parse the info to the module.
          this is my config:

          	```{
          	   module: 'MMM-MotionEye',
          	   position: 'middle_center',
          	    config: {
          	        url: "http://motioneye:8081",
          	        autoHide: true,
          	        autoHideDelay:"10000",
          	        debug: true,
          	        animationSpeed: "2000",
          	        width: "300",
              		   },
          	},```
          

          Can someone please post a screenshot of the motioneye-config (as seen above) how the settings should be set?

          Thank You very much !!

          S 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by yawns

            Hi all,
            Just started my adventure with the MagicMirror, running into some problems with streaming 2 ipcams into MM.
            I installed Motioneye in the Rpi and also in the MM module.

            Both ipcams are visable when i log into Motioneye (in my case: 192.168.1.105:8765) but only a small icon appears in the MagicMirror.
            My config is:

            {                       module: 'MMM-MotionEye',
            			position: 'bottom_right',
            			config: {
            			url: "http://192.168.1.105:8765/motioneye/1",
            			debug: true,
            			}
            

            I have tried all above mentioned ideas but to no succes.
            The cams are installed in Motioneye with:
            http://192.168.1.102:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=XXX&pwd=XXX
            RTSP give me an error.
            Hope someone can help me out…

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

              I have that more often than I can believe. That normally means motioneye crashed,. or something. there is no connection between MM and Motioneye.
              I do the login ins my http://IP:8081 an see if it is running,. normally then MM reloads the full image.

              Give it a try!

              BTW is there a way to let motioneye run through pm2 ?

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

                Change Your port in the config.js from 8765 to 8081

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Binog
                  last edited by

                  @Binog
                  Thanks, but still no succes, and would not know why it would work because i have nothing running on 8081?

                  MM runs on 8080 and Motioneye runs on 8765

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

                    Have a look in motioneye under Videostreaming -> Streaming Port. Use that one,. with me it is 8081. and the snapshot port is 8765.

                    Hopefully that helps.

                    1 Reply Last reply Reply Quote 1
                    • 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

                                            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
                                            • 5 / 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