• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 74.3k 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.
  • L Offline
    lolobyte @Cato
    last edited by Jan 29, 2017, 10:37 AM

    @Cato

    Hi, that’s the info of help.
    Downloaded from
    https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz

    pi@raspi3-MM2:~ $ motion -h
    motion Version mmaltest, Copyright 2000-2005 Jeroen Vreeken/Folkert van Heusden/Kenneth Lavrsen

    usage: motion [options]

    Possible options:

    -n Run in non-daemon mode.
    -s Run in setup mode.
    -c config Full path and filename of config file.
    -d level Log level (1-9) (EMR, ALR, CRT, ERR, WRN, NTC, ERR, DBG, ALL). default: 6 / NTC.
    -k type Type of log (COR, STR, ENC, NET, DBL, EVT, TRK, VID, ALL). default: ALL.
    -p process_id_file Full path and filename of process id file (pid file).
    -l log file Full path and filename of log file.
    -m Disable motion detection at startup.
    -h Show this screen.

    Motion is configured using a config file only. If none is supplied,
    it will read motion.conf from current directory, ~/.motion or /etc.

    C 1 Reply Last reply Jan 29, 2017, 12:04 PM Reply Quote 0
    • C Offline
      Cato Module Developer @lolobyte
      last edited by Jan 29, 2017, 12:04 PM

      @lolobyte You will have to install motionEyeOS or motionEye to use this module. Please read pre-requisites.

      L 1 Reply Last reply Jan 30, 2017, 8:51 AM Reply Quote 0
      • L Offline
        lolobyte @Cato
        last edited by Jan 30, 2017, 8:51 AM

        @Cato
        Thank you for your answer.

        I just tried MotionEyeOS before i went to Motion.
        In my eyes it wasn’t configurable with my desired functionality.

        I just hoped there is a possibility to implement foreign streams.

        C 1 Reply Last reply Jan 30, 2017, 11:53 AM Reply Quote 0
        • C Offline
          Cato Module Developer @lolobyte
          last edited by Jan 30, 2017, 11:53 AM

          @lolobyte As long as the software can provide a “motion jpeg”-stream, it can be supported.

          Basically, you can test it your selv by making a local .html-file with <img src="xxxxx" />

          1 Reply Last reply Reply Quote 0
          • E Offline
            emos
            last edited by Feb 8, 2017, 9:42 PM

            For some reason i just get a “broken” picture icon, and if i try to open http://MotionEyeIP/motioneye/1 the site just says:

            {"error": "not found"}
            

            I have disable the password for the ‘Surveillance Username’ so no login is required.

            I know the cam is available and motioneyos is working as normal. If i open http://192.168.1.200:8080/picture/1/current/ in my browser i can see the last snapshot, but not doing me any good…

            Any suggestion?

            {
            	module: 'MMM-MotionEye',
            	position: 'bottom_right',
            	config: {
            		url: "http://192.168.1.200:8080/motioneye/1",
            		debug: false
            		}
            },
            

            0_1486589382299_mm-motioneye.png

            S C 2 Replies Last reply Feb 9, 2017, 2:58 AM Reply Quote 0
            • S Offline
              shashank @emos
              last edited by Feb 9, 2017, 2:58 AM

              @emos hi, try changing the port (8080) in MM or camera , both MM and camera with 8080 will not work

              1 Reply Last reply Reply Quote 0
              • C Offline
                Cato Module Developer @emos
                last edited by Cato Feb 9, 2017, 4:58 AM Feb 9, 2017, 4:57 AM

                @emos The URL you are using in your config seems to be the “web hook”-URL that you have to configure inside MotionEye if you want to automatically show video stream when motion is detected.

                The URL should be configured like this (from documentation): 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).

                1 Reply Last reply Reply Quote 0
                • E Offline
                  emos
                  last edited by Feb 10, 2017, 11:09 AM

                  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 Jul 22, 2018, 11:51 PM Reply Quote 0
                  • S Offline
                    Snille Module Developer
                    last edited by Snille Feb 10, 2017, 11:24 AM Feb 10, 2017, 11:23 AM

                    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 Feb 10, 2017, 12:40 PM Reply Quote -1
                    • E Offline
                      emos @Snille
                      last edited by emos Feb 10, 2017, 12:43 PM Feb 10, 2017, 12:40 PM

                      @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.

                      S 1 Reply Last reply Feb 10, 2017, 12:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 3 / 7
                      • 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