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.
    • E Offline
      emos
      last edited by

      reinstalled motioneye on my other r.pi and now im able to view a stream from http://MotionEyeOS:8081, but only from cam 1.
      With http://MotionEyeOS:8081/motioneye/2 i still just get cam 1. Get the feeling im not understanding something.

      		{
      			module: 'MMM-MotionEye',
      			position: 'lower_third',
      			config: {
      				url: "http://192.168.1.200:8081/motioneye/2",
      				autoHide: false,
      				debug: false
      			}
      		},
      
      D 1 Reply Last reply Reply Quote 0
      • SnilleS Offline
        Snille Module Developer
        last edited by Snille

        Hi @emos I’m also using different cameras from the same MotionEye install.
        I have my cameras set on different ports like this.
        http://MotionEyeOS:8081
        http://MotionEyeOS:8082
        http://MotionEyeOS:8083
        I think that the default way…
        Then you have the motiontrigger url like this in MotionEyeOS/Camera (for example):
        http://MagicMirror:8080/motioneye/1
        http://MagicMirror:8080/motioneye/2
        http://MagicMirror:8080/motioneye/3

        That’s it. :)

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        E 1 Reply Last reply Reply Quote -1
        • E Offline
          emos @Snille
          last edited by emos

          @Snille
          My second camera is a remote camera, not a local one on my LAN.
          Also http://MagicMirror:8080/motioneye/1 and http://MagicMirror:8080/motioneye/2 is the same livestream. changing from motioneye/1 to motioneye/2 does nothing.

          SnilleS 1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer @emos
            last edited by

            @emos you need to add it in to MotionEyeOS. So it knows about it. I have 3 cameras in the same way. You can add any “network-camera”.
            rtsp://yourcam:port/whatever-format in the “add” dialog in MotionEyeOS. :)

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              emos @Snille
              last edited by

              @Snille
              Camera is added to MotionEye
              Under MotionEyeOS Settings>Video Device>Camera ID the ID is 1 and 2 :/

              SnilleS 1 Reply Last reply Reply Quote 0
              • SnilleS Offline
                Snille Module Developer @emos
                last edited by

                @emos Here is one of mine: 0_1486731274088_Cam01.png

                If you cant find it, make it and share it!
                Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  emos @Snille
                  last edited by

                  Only thing thats not identical is under video streaming > Useful URLs.
                  As you can see that under cam ID 2 (left one) is that streaming URL are missing… don’t know if this is a deal breaker or how to change it… :/
                  0_1486731559516_MotionEye setup.jpg

                  SnilleS 1 Reply Last reply Reply Quote 0
                  • SnilleS Offline
                    Snille Module Developer @emos
                    last edited by

                    @emos Hmm… I wounder if it is because you use an http link? Can you try to change it to an rtsp link?

                    If you cant find it, make it and share it!
                    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      emos
                      last edited by

                      can i use rtsp for another MotionEye cam? Does it even have rtsp? :o

                      SnilleS 1 Reply Last reply Reply Quote 0
                      • SnilleS Offline
                        Snille Module Developer @emos
                        last edited by Snille

                        @emos Nah, you only need to use rtsp for the “network” cameras. The right one you have looks like a “locally” connected camera?

                        If you cant find it, make it and share it!
                        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          emos
                          last edited by

                          the right one is local, correct

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

                            Hi Cato, thanks for this Module, I installed it and it works like a charm. One thing I like to ask you is the positioning of the module. I tried to arrange the module appearence pixel-precise with the help of the custom.ccs but was not successful. I added this to the custom.css and deleted the position definition in the config.js. Any idea what went wrong here :question: :question: :question:

                            .MMM-MotionEye {
                             left : 700px;
                             top: 1500px;
                            }
                            
                            1 Reply Last reply Reply Quote 0
                            • 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

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