dream motion v0.5

Pattyren

VIP
Messages
1,885
dream motion v0.5

#CHANGE LOG:
# What is new in version 0.2?
# 0) changed name from 'motion' to "dream_motion script" to avoid all possible confusions with other products
# 1) i have added a ton of comments below.
# 2) runtime errors get saved in $tmp_dir/dream_motion.err
# 3) heartbeat function that shows how fast the loops run and whether it runs at all
# 4) if motions is detected, the triggering image (pre, while and post event) get saved under the name "dream_motion_x_xyyyy_z.jpg"
# 5) added feature to turn TV SHOW on/off (needed mostly for debugging and other applications)
# 6) logging function added, puts stdout into $save_dir/dream_motion.log file for latter analysis
# can be turned on and off
# 7) cycle counter added to logging function, counts the cycles in which a motion was contiously detected. Is a sign for the lenght of movements
# 9) speed dramatically increased due to some code optimizations
# 9) added pre-alarm threshold to define number of continous movement req. before setting off an alarm


thx to mamba
 
Top