<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.slacam.com.br/index.php?action=history&amp;feed=atom&amp;title=Stream_Motion_Detect</id>
	<title>Stream Motion Detect - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.slacam.com.br/index.php?action=history&amp;feed=atom&amp;title=Stream_Motion_Detect"/>
	<link rel="alternate" type="text/html" href="https://wiki.slacam.com.br/index.php?title=Stream_Motion_Detect&amp;action=history"/>
	<updated>2026-11-17T00:34:17Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.slacam.com.br/index.php?title=Stream_Motion_Detect&amp;diff=709&amp;oldid=prev</id>
		<title>Felipe em 11h01min de 19 de dezembro de 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.slacam.com.br/index.php?title=Stream_Motion_Detect&amp;diff=709&amp;oldid=prev"/>
		<updated>2013-12-19T11:01:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 11h01min de 19 de dezembro de 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Linha 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ads media=goo5/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;Tutorial For Motion Detecting Raspberry Pi Security Camera That Notifies You Through An Email Alert With A Snapshot Attached.&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;Tutorial For Motion Detecting Raspberry Pi Security Camera That Notifies You Through An Email Alert With A Snapshot Attached.&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l110&quot; &gt;Linha 110:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	Your security camera should now be running correctly and sending you email alerts once motion is detected. If you have any issues, feel free to contact us.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	Your security camera should now be running correctly and sending you email alerts once motion is detected. If you have any issues, feel free to contact us.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ads media=goo3/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Felipe</name></author>
	</entry>
	<entry>
		<id>https://wiki.slacam.com.br/index.php?title=Stream_Motion_Detect&amp;diff=514&amp;oldid=prev</id>
		<title>Machado: Criou página com &#039;&lt;big&gt;Tutorial For Motion Detecting Raspberry Pi Security Camera That Notifies You Through An Email Alert With A Snapshot Attached.&lt;/big&gt;   Necessary materials for the security...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.slacam.com.br/index.php?title=Stream_Motion_Detect&amp;diff=514&amp;oldid=prev"/>
		<updated>2013-10-02T17:37:34Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;&amp;lt;big&amp;gt;Tutorial For Motion Detecting Raspberry Pi Security Camera That Notifies You Through An Email Alert With A Snapshot Attached.&amp;lt;/big&amp;gt;   Necessary materials for the security...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;big&amp;gt;Tutorial For Motion Detecting Raspberry Pi Security Camera That Notifies You Through An Email Alert With A Snapshot Attached.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Necessary materials for the security camera itself: A Gmail account, Raspberry Pi, Raspberry Pi Camera Board, 8gb or more SD card, 5 volt 2 amp minimum power supply, and a USB wifi module.&lt;br /&gt;
&lt;br /&gt;
Make sure you have an SD card with plenty of space on it and Raspbian Wheezy OS installed. &lt;br /&gt;
&lt;br /&gt;
Set up your Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re running a fresh install of Wheezy, you may be prompted to type a username and password before a desktop GUI is loaded, the username is pi and the password is raspberry, then type startx to launch the desktop GUI.&lt;br /&gt;
&lt;br /&gt;
Connect your Raspberry Pi to wifi.&lt;br /&gt;
&lt;br /&gt;
Connect your Raspberry Pi Camera to the Raspberry Pi itself.&lt;br /&gt;
&lt;br /&gt;
Open LXTerminal.&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;sudo raspi-config&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Select to enable Raspberry Pi Camera and select to not have to log in upon boot. Then you may exit raspi-config.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get update&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get upgrade&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get install mpack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get install ssmtp&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To set the date and time type &amp;quot;sudo date 0413144913&amp;quot;, set the numbers to your date and time, these numbers are an example.&lt;br /&gt;
&lt;br /&gt;
For your reference, these numbers output &amp;quot;Sat Apr 13 14:49:00 UTC 2013&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;sudo nano /etc/ssmtp/ssmtp.conf&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Use the arrow keys to navigate through the configuration file.&lt;br /&gt;
&lt;br /&gt;
Edit these lines:&lt;br /&gt;
 &lt;br /&gt;
			root=YourUsernam@gmail.com&lt;br /&gt;
			mailhub=smtp.gmail.com:465&lt;br /&gt;
			rewriteDomain=gmail.com&lt;br /&gt;
			FromLineOverride=YES&lt;br /&gt;
 &lt;br /&gt;
Add these lines at the bottom of the config file:&lt;br /&gt;
&lt;br /&gt;
			AuthUser=YourUsername&lt;br /&gt;
			AuthPass=YourPassword&lt;br /&gt;
			UseTLS=YES&lt;br /&gt;
 &lt;br /&gt;
Press CTRL+X, then y, and then enter to save the changes to your configuration file.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get install motion&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Type &amp;quot;sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;tar zxvf motion-mmal.tar.gz&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;sudo nano /home/pi/motion-mmalcam.conf&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
			Edit “width” to: 640&lt;br /&gt;
			Edit “height” to: 480&lt;br /&gt;
			Edit “mmalcam_use_still” to: mmalcam_use_still on&lt;br /&gt;
			Edit “threshold 1500” to: threshold 3000&lt;br /&gt;
			Edit “output_pictures” to: output_pictures on&lt;br /&gt;
			Edit “quality 75” to: quality 100&lt;br /&gt;
			Edit “ffmpeg_output_movies” to: ffmpeg_output_movies off&lt;br /&gt;
			Edit “target_dir” to: target_dir /home/pi&lt;br /&gt;
			Edit “stream_port” to: stream_port 0&lt;br /&gt;
			Edit “webcontrol_port” to: webcontrol_port 0&lt;br /&gt;
			Edit “on_picture_save value” to : on_picture_save mpack -s Alert %f YourUsername@gmail.com&lt;br /&gt;
 &lt;br /&gt;
Press CTRL+X, then y, and then enter to save the changes to your configuration file.&lt;br /&gt;
Open File Manager.&lt;br /&gt;
Navigate to &amp;quot;/home/pi&amp;quot;.&lt;br /&gt;
Right click, then click Create New, and click Blank File.&lt;br /&gt;
Name the blank file, “sar.sh”.&lt;br /&gt;
Make another blank file named “rm.sh”.&lt;br /&gt;
Go back to LXTerminal.&lt;br /&gt;
Type &amp;quot;sudo nano sar.sh&amp;quot;.&lt;br /&gt;
Type exactly what’s below:&lt;br /&gt;
 &lt;br /&gt;
			#!/bin/sh&lt;br /&gt;
.			/motion -n -c motion-mmalcam.conf&lt;br /&gt;
 &lt;br /&gt;
Press CTRL+X, then y, and then enter to save the changes to your configuration file.&lt;br /&gt;
Type &amp;quot;sudo nano rm.sh&amp;quot;.&lt;br /&gt;
Type exactly what’s below:&lt;br /&gt;
 &lt;br /&gt;
			#!/bin/bash&lt;br /&gt;
			cd /home/pi&lt;br /&gt;
			while true; do&lt;br /&gt;
			rm -f *.jpg&lt;br /&gt;
			sleep 60&lt;br /&gt;
			done&lt;br /&gt;
 &lt;br /&gt;
Press CTRL+X, then y, and then enter to save the changes to your configuration file.&lt;br /&gt;
Type &amp;quot;sudo chmod +x /home/pi/sar.sh&amp;quot;.&lt;br /&gt;
Type &amp;quot;sudo chmod +x /home/pi/rm.sh&amp;quot;.&lt;br /&gt;
Type &amp;quot;sudo nano /etc/xdg/lxsession/LXDE/autostart&amp;quot;.&lt;br /&gt;
Under @xscreensaver -no-splash, type what’s below:&lt;br /&gt;
 &lt;br /&gt;
			@/home/pi/sar.sh&lt;br /&gt;
			@/home/pi/rm.sh&lt;br /&gt;
 &lt;br /&gt;
Press CTRL+X, then y, and then enter to save the changes to your configuration file.&lt;br /&gt;
Type &amp;quot;sudo reboot&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
	Your security camera should now be running correctly and sending you email alerts once motion is detected. If you have any issues, feel free to contact us.&lt;/div&gt;</summary>
		<author><name>Machado</name></author>
	</entry>
</feed>