Git Product home page Git Product logo

Comments (11)

degerrit avatar degerrit commented on August 20, 2024 2

My workaround has been a cronjob */5 * * * * to make the snapshot; something like this:

#!/bin/bash
FILENAME="/home/_webcam/cam1/"$(date +'%Y-%m-%d')/$(date +'%Y%m%d-%H%M-%S--snapshot-0').jpg
/usr/bin/curl --max-time 10 --output $FILENAME http://127.0.0.1:8765/picture/2/current >/tmp/curl-snapshot.log 2>&1

# then, this is the same script I used to have in motion.conf for on_picture_save (it may not be necessary in everyone's config):
/usr/local/bin/onsavescript.sh cam1 $FILENAME

Works for me, and is pretty much equivalent to my old setup.

from motioneye.

surak avatar surak commented on August 20, 2024 1

The other comment is in a closed issue. I would also like to be able to take pictures periodically PLUS having motion detection.

from motioneye.

degerrit avatar degerrit commented on August 20, 2024 1

I'm currently migrating my motion+home made shell scripts setup to motioneye (awesome s/w, btw!)

Most of my config has been ported over, but this issue bit me too - I have to choose betwen "Motion triggered" Still Image capture mode, or Interval snapshots, whereas in the original motion software they are not mutually exclusive options at all! So it seems a UI issue mainly.

I tried adding my old config line snapshot_interval 1800 to "Extra Motion Options", but MotionEye is too clever and assumes that means I want to disable Motion Triggered capture.

What would work for me is to just be able to add the "Extra Motion Options" line and have MotionEye leave it alone rather than interpret my intentions (i.e. selecting both options doesn't need to be in the UI per se)

from motioneye.

mikavaliviita avatar mikavaliviita commented on August 20, 2024 1

Also a +1 for an option to have both motion triggering and interval shooting available simultaneously. For example, you could have normal motion triggering available outside working hours but also take some images every hour always.

@ccrisan , what do you say?

Thanks,

from motioneye.

alexw22 avatar alexw22 commented on August 20, 2024 1

+1 Really would love to have this feature too! Motion for when things are happening together with a timelapse video for every day would be awesome!

from motioneye.

jamo avatar jamo commented on August 20, 2024

+1 ability to do motion detection and create timelapse would be awesome. In my case I have camera watching over some land I have, mainly to detect animals walking around. It would be neat to be able to take snapshots and then manually generate timelapse of those.

from motioneye.

lwrbakro avatar lwrbakro commented on August 20, 2024

You can do snapshots with x FPS triggered by motion on the picture.
After that, if you see these pictures there is a Timelapse button

from motioneye.

ozett avatar ozett commented on August 20, 2024

You can do snapshots with x FPS triggered by motion on the picture.
After that, if you see these pictures there is a Timelapse button

do you mean, i have to activate the picture option,
than wait, that there are pictures,
than go into the picture browser,
than there is an option to get a movie from that pictures?

i as this, because a cannot find a way to set up timelapse movies in motion-eye,
like i saw this on motion itself.

from motioneye.

ozett avatar ozett commented on August 20, 2024

i found this comment, but nothing in the wiki.

#464 (comment)

seems like this is telling how that should work. i will try taking pictures and see in the picture-browser if i can get a movie tomorrow.

from motioneye.

alexw22 avatar alexw22 commented on August 20, 2024

My workaround has been a cronjob */5 * * * * to make the snapshot; something like this:

#!/bin/bash
FILENAME="/home/_webcam/cam1/"$(date +'%Y-%m-%d')/$(date +'%Y%m%d-%H%M-%S--snapshot-0').jpg
/usr/bin/curl --max-time 10 --output $FILENAME http://127.0.0.1:8765/picture/2/current >/tmp/curl-snapshot.log 2>&1

# then, this is the same script I used to have in motion.conf for on_picture_save (it may not be necessary in everyone's config):
/usr/local/bin/onsavescript.sh cam1 $FILENAME

Thanks a lot for sharing! Looks like this grabs (with a timeout of 10 seconds) the current view every 5 minutes. Where does it save these? In the same folders as the motion pictures? Optimally i would like to keep the individual frames separate from the motion pictures and generate a video file at the end of each day that can be found in the video tab. Why did you have to add the entry to your motion.conf file?

from motioneye.

degerrit avatar degerrit commented on August 20, 2024

@alexw22 --output $FILENAME sets the output folder and filename, e.g. you can save it where you want. I use the onsavescript.sh for symlinking the latest pic for a separate mail routine I have, and some other stuff.
It's simple bash: just adapt it to your needs!

from motioneye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.