Coder Social home page Coder Social logo

pypymotion's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tazjel yuanda

pypymotion's Issues

Help getting this setup

Hello,

First, I want to say thanks for writing this script. I'm trying to get it setup on my Arch Linux ARM PogoPlug E02 and hopefully you can provide some guidance.

Here is what I've done so far:

pacman -Sy
pacman -S motion
mkdir -p /var/run/motion

turn off localhost access only

sed -i 's:webcam_localhost on:webcam_localhost off:' /etc/motion/motion.conf

adjust resolution

sed -i 's:width 320:width 640:' /etc/motion/motion.conf
sed -i 's:height 240:height 480:' /etc/motion/motion.conf

download pypymotion

cd /tmp
wget https://github.com/7AC/pypymotion/tarball/master
tar xvf master
cd 7AC-pypymotion-523b7f4
mkdir /etc/pypymotion

wasn't sure were to put the scripts, so why not here

cp * /etc/pypymotion

make executable

chmod a+x /etc/pypymotion/*.py

change to python2

sed -i 's/env python/env python2/' /etc/pypymotion/pypymotion.py

configure my email address, ios_compatible = 1

nano /etc/pypymotion/pypymotion.cfg

change log file to /etc/pypymotion/pypymotion.log

nano /etc/pypymotion/pypymotion.py

echo 'on_movie_end /etc/pypymotion/pypymotion.py %f' >> /etc/motion/motion.conf

start motion

motion

My first question is, I gave the script a quick test by executing it directly. Should I be concern about it not being able to import findmyiphone or do I need to download the module? I'm not using the findmyiphone feature (yet).

[root@spike pypymotion]# pwd
/etc/pypymotion
[root@spike pypymotion]# ./pypymotion.py
Traceback (most recent call last):
File "./pypymotion.py", line 26, in
import findmyiphone
ImportError: No module named findmyiphone

Second question is, do I need to make any other changes to the default /etc/motion/motion.conf file? The script execute on movie end. Do I need to enable something in the conf first to have motion make a movie?

As you can tell I'm totally new to motion. Thanks

Q

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.