• 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-voice ugly hdmi banner

Scheduled Pinned Locked Moved Feature Requests
42 Posts 3 Posters 14.5k Views 3 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.
  • D Offline
    dazza120 @sdetweil
    last edited by Jan 3, 2019, 1:59 AM

    @sdetweil thanks ive done this command chmod +x external_motion but i don’t see an outcome it just re turns to pi@raspberrypi:~/MagicMirror/modules/MMM-SleepWake

    whole commandline below

    pi@raspberrypi:~/MagicMirror/modules/MMM-SleepWake $ chmod +x external_motion

    S 1 Reply Last reply Jan 3, 2019, 2:02 AM Reply Quote 0
    • S Offline
      sdetweil @dazza120
      last edited by Jan 3, 2019, 2:02 AM

      @dazza120 right. That makes my script executable, so motion can execute it

      Now u will see files appear in the MMM-SleepWake/motion folder

      When the motion module detects motion, and when it ends.

      My module uses those files

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Jan 3, 2019, 2:04 AM Reply Quote 2
      • S Offline
        sdetweil @sdetweil
        last edited by Jan 3, 2019, 2:04 AM

        @sdetweil u start the motion tool with sudo motion &

        And u can see it’s actions in /var/log/motion/motion.log

        The tail command will show you the last few lines (default 20) of a file

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 2 Replies Last reply Jan 3, 2019, 2:08 AM Reply Quote 2
        • D Offline
          dazza120 @sdetweil
          last edited by Jan 3, 2019, 2:08 AM

          @sdetweil i’ll have a look tomorrow, thanks very much for your help much appreciated for your help

          1 Reply Last reply Reply Quote 0
          • D Offline
            dazza120 @sdetweil
            last edited by dazza120 Jan 3, 2019, 7:51 AM Jan 3, 2019, 7:46 AM

            @sdetweil not sure its supposed to look like this

            pi@raspberrypi:~ $ sudo motion &
            [1] 28276
            pi@raspberrypi:~ $ [0:motion] [ALR] [ALL] conf_load: could not open configfile /usr/local/etc/motion/motion.conf: No such file or directory
            [0:motion] [CRT] [ALL] conf_load: No config file to process, using default values
            [0:motion] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
            [0:motion] [NTC] [ALL] motion_startup: Logging to syslog
            [0:motion] [NTC] [ALL] motion_startup: Motion 4.2.1+git20181209-7bd179c Started
            [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
            [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
            [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 57.64.101 libavformat version 57.56.101
            [0:motion] [NTC] [ALL] translate_init: Language: English
            [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
            [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 28281
            [1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
            [1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
            [1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
            [1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
            [1:ml1] [NTC] [VID] v4l2_device_capability: - READWRITE
            [1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
            [1:ml1] [NTC] [VID] v4l2_input_select: Name = "ov534"- CAMERA
            [1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
            [1:ml1] [NTC] [VID] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 640x480 doesn't work.
            
            
            M 1 Reply Last reply Jan 3, 2019, 7:48 AM Reply Quote 0
            • M Offline
              mdhenriksen @dazza120
              last edited by Jan 3, 2019, 7:48 AM

              @dazza120 Hey Dazza. Post it in the code-block you can use in the editor. Otherwise it’s hard to read your code/output.

              D 1 Reply Last reply Jan 3, 2019, 7:53 AM Reply Quote 0
              • D Offline
                dazza120 @mdhenriksen
                last edited by Jan 3, 2019, 7:53 AM

                @mdhenriksen not sure why it came out like that but i am doing it via vnc on my phone lol thank you that should be sorted now

                S 1 Reply Last reply Jan 3, 2019, 12:18 PM Reply Quote 0
                • S Offline
                  sdetweil @dazza120
                  last edited by Jan 3, 2019, 12:18 PM

                  @dazza120 Hm… mine says
                  [-1191364720:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Jan 3, 2019, 12:59 PM Reply Quote 0
                  • D Offline
                    dazza120 @sdetweil
                    last edited by Jan 3, 2019, 12:59 PM

                    @sdetweil hi for some reason I have no motion.conf file in there, but I was getting tones of video clips stored in /home/Pi folder, can you tell me the best remove command for motion project as I’ll start again from scratch and looking at one of the files in the home/Pi folder it said
                    Install complete! The default configuration file, motion-dist.conf, has been
                    installed to /usr/local/etc/motion. You need to rename/copy it to motion.conf
                    for Motion to find it. More configuration examples as well as init scripts
                    can be found in /usr/local/share/motion/examples.

                    S 1 Reply Last reply Jan 3, 2019, 1:08 PM Reply Quote 0
                    • S Offline
                      sdetweil @dazza120
                      last edited by Jan 3, 2019, 1:08 PM

                      @dazza120 weird… if u installed with
                      apt-get install motion
                      then the command is
                      apt-get --purge remove motion

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Jan 3, 2019, 1:43 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 4 / 5
                      4 / 5
                      • First post
                        35/42
                        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