<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Instructional &#8211; Vermont FarmCam</title>
	<atom:link href="https://www.vermontfarmcam.com/category/instructional/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.vermontfarmcam.com</link>
	<description>Daily Time-lapse Videos from the Green Mountain State</description>
	<lastBuildDate>Sun, 08 Dec 2024 20:20:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>

<image>
	<url>https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2020/07/cropped-vtfc-logo-3.png?fit=32%2C32&#038;ssl=1</url>
	<title>Instructional &#8211; Vermont FarmCam</title>
	<link>https://www.vermontfarmcam.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181016434</site>	<item>
		<title>Change Can Be Hard</title>
		<link>https://www.vermontfarmcam.com/2024/03/05/change-can-be-hard/</link>
		
		<dc:creator><![CDATA[Vermont FarmCam]]></dc:creator>
		<pubDate>Tue, 05 Mar 2024 00:21:49 +0000</pubDate>
				<category><![CDATA[FarmCam]]></category>
		<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[DailyVideo]]></category>
		<category><![CDATA[Federated]]></category>
		<category><![CDATA[Timelapse]]></category>
		<category><![CDATA[Updates]]></category>
		<guid isPermaLink="false">https://www.vermontfarmcam.com/?p=5213</guid>

					<description><![CDATA[We finally had a successful automated upload from the local machine to the YouTube channel and we are pleasantly surprised to be honest. Having had very limited experience with Shortcuts and cron over the years, we weren&#8217;t sure if we&#8217;d be able to recreate the processes set up 6+ years&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">We finally had a successful automated upload from the local machine to the <a href="https://www.youtube.com/@VTFarmCam" target="_blank" rel="noreferrer noopener">YouTube channel</a> and we are pleasantly surprised to be honest. Having had very limited experience with <a href="https://support.apple.com/guide/shortcuts/welcome/ios" target="_blank" rel="noreferrer noopener">Shortcuts</a> and <a href="https://en.wikipedia.org/wiki/Cron" target="_blank" rel="noreferrer noopener">cron</a> over the years, we weren&#8217;t sure if we&#8217;d be able to recreate the processes set up 6+ years ago. When things are (mostly) running smoothly one tends to forget how they actually work. Which is why <a href="https://www.vermontfarmcam.com/2024/03/01/evocam-for-simple-timelapse/">documentation is import</a>. Not just for other people, but to refer back to when the memory fails.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5213</post-id>	</item>
		<item>
		<title>Updating the VT FarmCam Process</title>
		<link>https://www.vermontfarmcam.com/2024/03/01/updating-the-vt-farmcam-process/</link>
		
		<dc:creator><![CDATA[Vermont FarmCam]]></dc:creator>
		<pubDate>Fri, 01 Mar 2024 17:09:01 +0000</pubDate>
				<category><![CDATA[FarmCam]]></category>
		<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Timelapse]]></category>
		<guid isPermaLink="false">https://www.vermontfarmcam.com/?p=5175</guid>

					<description><![CDATA[I have recently moved all of the software running this project to a single 2023 M3 iMac. This also required making some changes to the scripts etc that power this little hobby site. I duplicated the old detailed process blog to the best of my ability. If you are curious,&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I have recently moved all of the software running this project to a single 2023 M3 iMac. This also required making some changes to the scripts etc that power this little hobby site. I duplicated the old detailed process blog to the best of my ability. If you are curious, <a href="https://www.vermontfarmcam.com/2024/03/01/evocam-for-simple-timelapse/">here&#8217;s how it all (kinda, sometimes, mostly) works</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5175</post-id>	</item>
		<item>
		<title>Simple Timelapse Videos and More</title>
		<link>https://www.vermontfarmcam.com/2024/03/01/evocam-for-simple-timelapse/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Fri, 01 Mar 2024 16:33:05 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[DailyVideo]]></category>
		<category><![CDATA[FarmCam]]></category>
		<category><![CDATA[Federated]]></category>
		<category><![CDATA[Timelapse]]></category>
		<guid isPermaLink="false">https://www.vermontfarmcam.com/?p=5149</guid>

					<description><![CDATA[This post is an update to one written in 2018 as the process and software used has changed since then. Over the years I have had requests to share the details of how I do the technical things that power the FarmCam. Below are instructions for using EvoCam to share&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p class="has-drop-cap wp-block-paragraph">This post is an update to <a href="https://www.vermontfarmcam.com/2018/01/08/evocam-for-simple-timelapse-and-more/" data-type="post" data-id="2269">one written in 2018</a> as the process and software used has changed since then.</p>



<p class="wp-block-paragraph">Over the years I have had requests to share the details of how I do the technical things that power the FarmCam. Below are instructions for using EvoCam to share still images as well as timelapse videos on a website to which you have FTP access.</p>



<p class="wp-block-paragraph">Unfortunately, EvoCam is no longer being developed so everything in this article will likely focus on Version 5.0 (64-bit preview 3) of the software. At the time of this writing one can still download the software from reputable sites; however, if you cannot find it, email me. I can provide the DMG file, but I do <em><strong>not</strong></em> provide support for the software! &nbsp;EvoCam works only on macOS, and I have tested it &nbsp;up to: <strong>macOS Sonoma Version 14.3.1  and current run it on my Apple Silicon (M3) iMac (2023)</strong>.</p>



<span id="more-5149"></span>



<p class="wp-block-paragraph">There is an EvoCam User&#8217;s Guide, which can be accessed under the software&#8217;s Help menu. Please read it, especially if you have no experience with the software. &nbsp;I will not be covering connecting cameras, adjusting image sizes, exposure, etc. Again, I cannot act as support, which is why I am going into such detail in the article.</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/ftp-settings-WEB.png?ssl=1"><img data-recalc-dims="1" height="257" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/ftp-settings-WEB-300x257.png?resize=300%2C257&#038;ssl=1" alt="" class="wp-image-1492"/></a><figcaption class="wp-element-caption">FTP Server settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">This article assumes the reader has a webcam that is either physically connected to the machine that will run EvoCam or a networked camera supported by the software. I use a networked <a href="https://www.amazon.com/gp/product/B07RFFYWC4/" target="_blank" rel="noreferrer noopener">ANNKE C500 &#8211; 5MP Outdoor PoE Security IP Camera</a> which is mounted on a post on my front porch, and is wired using a PoE Injector.</p>



<p class="wp-block-paragraph"><strong>File Transfer Protocol (FTP)</strong></p>



<p class="wp-block-paragraph">In order to upload your images and timelapse videos you need to enter your FTP credentials into EvoCam. This article assumes you know what FTP is, and how you connect to your web host using it.</p>



<ol class="wp-block-list">
<li>Click on <em>EvoCam</em> in the software&#8217;s menu and then select <em>Preferences</em> from the drop down.</li>



<li>Click on <em>FTP Server</em> from the top menu, and then enter your <em>FTP Server</em> information. If the FTP fails at at any point during the resulting tests, you will need to check with your web host to get the correct setting. Sorry.</li>



<li>Enter your <em>username</em>, <em>password</em>, and the <em>initial path</em> &#8212; if it is different than the root set in the <em>FTP Server</em> path. I use the <em>temporary file setting</em>, but it may not be necessary unless you are uploading images in rapid succession. If the FTP fails, and you know your path and credentials are correct, try checking this box.</li>
</ol>



<h2 class="wp-block-heading" id="start-with-still-images">Start with Still Images</h2>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timeperiods-WEB.png?ssl=1"><img data-recalc-dims="1" height="173" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timeperiods-WEB-300x173.png?resize=300%2C173&#038;ssl=1" alt="" class="wp-image-1494"/></a><figcaption class="wp-element-caption">Time period settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">In order to create a timelapse you need to take still images at different intervals. &nbsp;This could be every 60 seconds, every hour, once a day, or almost any other period. EvoCam will create the timelapse from these still images, and the length of your video will be determined by how many images are saved.</p>



<ol class="wp-block-list">
<li><strong>Open EvoCam, and select <em>New</em> from the <em>File</em> menu.</strong>&nbsp; As soon as you open a new file, click on the <em>File</em> menu again, and choose <em>Save As&#8230;</em>&nbsp;Navigate to the directory of your choice, and give the project a name. When you start for the first time, EvoCam may actually find your camera and display the image. In my case, doing this step enabled my Mac&#8217;s built-in camera and I was staring at myself [that&#8217;s me in the screenshots in this article].</li>
</ol>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/conditions-WEB.png?ssl=1"><img data-recalc-dims="1" height="189" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/conditions-WEB-300x189.png?resize=300%2C189&#038;ssl=1" alt="" class="wp-image-1495"/></a><figcaption class="wp-element-caption">Conditions settings</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>Click on the <em>Actions</em> button.</strong> For the sake of this tutorial we will be working exclusively in the <em>Actions</em> and will not discuss live streaming or recording video. <em><strong>During the time periods.</strong></em> If you are doing a 24-hour camera then you can leave the &#8220;During these time periods&#8221; as <em>Always</em>. Play around with the other options if you only want to perform tasks during a range of time or even based on detected levels of light. I recently switched to detected light levels so that my camera catches sunrise and sunsets and doesn&#8217;t abruptly stop. <em><strong>When any of these conditions occur.</strong></em> In the next section you decide when this action occurs. &nbsp;For this tutorial we will first need to create a collection of still images so that the time lapse can be created. Select &#8220;Every x seconds/minutes/hours&#8221; in the top Periodic conditions section. Change the default to however many seconds you want between new images. Hold off on checking the box next to the entry for now. <em><strong>Perform these actions.</strong></em> In my case I use the actions in this process to both &#8220;Add image to timelapse archive&#8221; and &#8220;Upload named image to the server.&#8221; It doesn&#8217;t matter which order you create these two actions. Once you select them from the drop down menu, change the settings as follows:</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/actions-WEB.png?ssl=1"><img data-recalc-dims="1" height="300" width="268" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/actions-WEB-268x300.png?resize=268%2C300&#038;ssl=1" alt="" class="wp-image-1496"/></a><figcaption class="wp-element-caption">Detailed list of actions</figcaption></figure>
</div>


<p class="wp-block-paragraph">For &#8220;Add image to timelapse archive&#8221; you can check the box and forget it, but I suggest clicking on Desktop and navigating to a directory of your choice, or a new one entirely. There is no need to change the file <em>Name</em> from &#8220;Timelapse&#8221;, but you can. For &#8220;Upload named image to server&#8221; you can again check the box and keep the default file name or type your own. <strong>Engage!</strong> If you are happy with the settings then you can check the box next to your conditions setting from Step 4 above, which will start the process of taking a picture, saving a local copy to use as a timelapse, and upload a still image to your web server.</p>



<h2 class="wp-block-heading" id="time-to-timelapse">Time to Timelapse</h2>



<p class="wp-block-paragraph">This is the trickiest part of the process because it isn&#8217;t intuitive. Choose <em>Options</em> from the EvoCam menu and then select <em>Show Multiple Action Sets</em>. This displays a new option at the top of your <em>Actions</em> screen named <em>Set</em>, and the default is now <em>Actions 1</em>.</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/MultipleActionSets-WEB.png?ssl=1"><img data-recalc-dims="1" height="173" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/MultipleActionSets-WEB-300x173.png?resize=300%2C173&#038;ssl=1" alt="" class="wp-image-1497"/></a><figcaption class="wp-element-caption">Multiple Action Sets</figcaption></figure>
</div>


<ol class="wp-block-list">
<li><strong>Rename the still image action from above.</strong> Click the bisected circle with the down caret, and choose <em>Rename Selected Set</em>&nbsp;and change the name&nbsp;to something like <em>Still Image.</em></li>



<li><strong>Create new Set for Timelapse.</strong> Now choose the drop menu circle again and select <em>Add New Set</em>. When prompted type <em>Timelapse</em>&nbsp;and click <em>OK</em>.</li>
</ol>



<p class="wp-block-paragraph">The resulting screen change should look familiar as a new Action. The process will be similar to that of getting the still image, but I&#8217;ll spell it out below.</p>



<ol class="wp-block-list">
<li><strong><em>During these time periods</em>.</strong> Again, <em>if</em> you are doing a 24-hour camera then you can leave the <em>During these time periods</em> set to&nbsp;<em>Always </em>or change the time periods to something that works for your project. For this article, I am describing my process, and I have it set to <em>Always</em>.</li>



<li><strong><em>When any of these conditions occur</em>.</strong>&nbsp;In the case of the Timelapse Action Set, this is where you instruct EvoCam on when to stitch all of the still images it has been collecting and to turn it into a movie. In my case, I have chosen the Everyday at specific time option from the conditions drop-down menu and set it to <em>Every dat at&nbsp;11:59:59 PM</em>.</li>
</ol>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timelapse-WEB.png?ssl=1"><img data-recalc-dims="1" height="300" width="256" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timelapse-WEB-256x300.png?resize=256%2C300&#038;ssl=1" alt="" class="wp-image-1498"/></a><figcaption class="wp-element-caption">Perform these actions</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong><em>Perform these actions</em>.</strong> For the Timelapse Set there is only one action to perform, <em>Export timelapse archive as movie</em>, but with some confusing settings. After choosing <em>Export timelapse archive as movie</em>, check the box to enable the action, and then:</p>



<ul class="wp-block-list">
<li>Select <em>all images, removing them from archive</em> from the <em>Export</em> drop-down menu. NOTE: It is likely that I could save myself some headaches by changing this setting, but honestly I haven&#8217;t bothered. &nbsp;I address archiving via a <a href="https://support.apple.com/guide/shortcuts/welcome/ios" data-type="link" data-id="https://support.apple.com/guide/shortcuts/welcome/ios">Shortcut</a> process, and it is only necessary if you want to keep ALL of your time lapses which will take up disk space.</li>



<li>For the <em>Archive Folder</em> click on the default folder and navigate to the location you chose in section 5, subsection 1 in the still image process above. Make sure the <em>Archive name</em> is the same as the one in the still image process as well.</li>



<li>For the <em>Movie folder</em>, click on the default folder, and navigate to the location of your choice. For the <em>Movie name</em>, type a name (without space, ideally).</li>
</ul>



<p class="wp-block-paragraph"><strong>Advanced Actions.</strong></p>



<ul class="wp-block-list">
<li><strong>Upload movie to server.</strong> Check the box next to <em>Upload movie to server</em>. This will&nbsp;upload your timelapse as an MP4 to the same directory you set in the FTP Server settings previously.</li>



<li><strong>Delete movie file after uploading.</strong> If you have no need for the original, local file, then you can choose <em>Delete movie file after uploading</em>. However, below I address archiving options (using <a href="https://support.apple.com/guide/shortcuts/welcome/ios" target="_blank" rel="noreferrer noopener">Shortcuts</a> and <a href="http://www.techradar.com/how-to/computing/apple/terminal-101-creating-cron-jobs-1305651" target="_blank" rel="noreferrer noopener">cron</a>), so if you would like to eventually auto archive, leave the box <strong>UN</strong>checked.</li>



<li><strong>Playback rate.</strong> The default setting is 30fps, which seems to be standard for online video. The problem is that the faster the frame rate the quicker your movie will go. You can play around with this setting find your sweet spot. You can also adjust how often a still image is taken if you want even more control over the look and feel of the final product.</li>
</ul>



<p class="wp-block-paragraph">Unless I have forgotten something, that&#8217;s really all there is to this whole thing. Read on if you want to learn about the basic code for your site so you can show off you work.</p>



<h4 class="wp-block-heading" id="html-for-your-site">HTML For Your Site</h4>



<p class="wp-block-paragraph">There are a great many good sources for learning HTML, and I have to assume the reader has some basic HTML skills, and so I am only giving the most basic of mark-up in this section.</p>



<p class="wp-block-paragraph"><strong>Still Image</strong><br>In order to display the still image you uploaded to your website, use this code and replace YOURWEBSITE.COM with your own domain, and PATH with the initial directory set in EvoCam&#8217;s FTP Server preferences. If you changed the name of the image as well then make &nbsp;sure you use that JPG name.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">&lt;img src=&#8221;http://YOURWEBSITE.COM/PATH/mycam.jpg&#8221; /&gt;</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Timelapse Movie</strong><br>Again, this is the most basic of ways to display your video. Again be sure to change everything in ALL CAPS with your own information, and change MP4 name if you changed that.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">&lt;video src=&#8221;http://YOURWEBSITE.COM/PATH/timelapse.mp4&#8243; type=&#8221;video/mp4&#8243;&gt;&lt;/video&gt;</p>
</blockquote>



<h4 class="wp-block-heading" id="html-for-your-site">Shortcuts for Moving Files</h4>


<div class="wp-block-image">
<figure class="alignright size-large is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="700" height="681" src="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?resize=700%2C681&#038;ssl=1" alt="A screenshot of a Shortcut to grab a file from a directory, and rename it with a date and move it to another directory" class="wp-image-5151" style="width:414px;height:auto" srcset="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?resize=1024%2C996&amp;ssl=1 1024w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?resize=300%2C292&amp;ssl=1 300w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?resize=768%2C747&amp;ssl=1 768w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?resize=1536%2C1493&amp;ssl=1 1536w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?w=1658&amp;ssl=1 1658w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/MoveToDropbox-Shortcut.png?w=1400&amp;ssl=1 1400w" sizes="(max-width: 700px) 100vw, 700px" /><figcaption class="wp-element-caption">Shortcuts Steps</figcaption></figure>
</div>


<p class="has-text-align-left wp-block-paragraph">For my process I need to move files around in order to upload them to YouTube and archive previous timelapses. The first process is to move the daily movie from where it is saved locally to my local Dropbox directory. </p>



<p class="wp-block-paragraph">The Shortcut at right finds the daily movie .mp4 file (I have blurred out the path), gets the name and the creation date for the file, renames the file by appending the creation date to the beginning of the file&#8217;s name, and moves the file to a directory within the DropBox folder (named video in my case).</p>



<p class="wp-block-paragraph">I use crontab to run the Shortcut at 5 mins after midnight each day. That looks something like this:</p>



<pre class="wp-block-code"><code>5 * * * * shortcuts run 'MoveToDropbox'</code></pre>



<p class="wp-block-paragraph">Note that the Shortcut name in the image is the name found in the cron job.</p>


<div class="wp-block-image">
<figure class="alignright size-large is-resized"><img data-recalc-dims="1" decoding="async" width="700" height="477" src="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?resize=700%2C477&#038;ssl=1" alt="" class="wp-image-5152" style="width:408px;height:auto" srcset="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?resize=1024%2C698&amp;ssl=1 1024w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?resize=300%2C204&amp;ssl=1 300w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?resize=768%2C523&amp;ssl=1 768w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?resize=1536%2C1047&amp;ssl=1 1536w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?w=1670&amp;ssl=1 1670w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-11.20.12%E2%80%AFAM.png?w=1400&amp;ssl=1 1400w" sizes="(max-width: 700px) 100vw, 700px" /><figcaption class="wp-element-caption">Zapier outline</figcaption></figure>
</div>


<p class="wp-block-paragraph">Once the file is in the Dropbox folder a <a href="https://zapier.com">Zapier</a> applet (they call them zaps) sniffs that folder for new content and then follows my instructions to upload the file to the linked YouTube account. This image at right is a snap shot of that applet.</p>



<p class="wp-block-paragraph">Once the file has been upload to YouTube the next Shortcut can be run to move the file from the Dropbox directory to a local archive directory. This isn&#8217;t necessary but as I use a free Dropbox account with space limits this second process saves me storage space.</p>



<p class="wp-block-paragraph">Using crontab again, the next Shortcut runs shortly after the last one, leaving enough time for the process to run. In my case the crontab looks something like this:</p>



<pre class="wp-block-code"><code>30 * * * * shortcuts run 'DropboxToArchive'</code></pre>


<div class="wp-block-image">
<figure class="alignright size-large is-resized"><img data-recalc-dims="1" decoding="async" width="700" height="271" src="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?resize=700%2C271&#038;ssl=1" alt="" class="wp-image-5155" style="width:409px;height:auto" srcset="https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?resize=1024%2C397&amp;ssl=1 1024w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?resize=300%2C116&amp;ssl=1 300w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?resize=768%2C298&amp;ssl=1 768w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?resize=1536%2C596&amp;ssl=1 1536w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?w=1670&amp;ssl=1 1670w, https://i0.wp.com/www.vermontfarmcam.com/wp-content/uploads/2024/03/Screenshot-2024-03-01-at-10.59.22%E2%80%AFAM.png?w=1400&amp;ssl=1 1400w" sizes="(max-width: 700px) 100vw, 700px" /><figcaption class="wp-element-caption">Shortcut to move Files</figcaption></figure>
</div>


<p class="wp-block-paragraph">The Shortcut is a simple 2 line script that finds the contents of the Dropbox directory, and moves the file back to a local directory, in my case named &#8220;archive.&#8221;</p>



<p class="wp-block-paragraph">That&#8217;s about all there is to it. The Zapier applet is a little complicated to share here, but if one needs to know the details, <a href="https://www.vermontfarmcam.com/contact/" data-type="page" data-id="3410">contact me</a>.</p>
]]></content:encoded>
					
		
		<enclosure url="http://YOURWEBSITE.COM/PATH/timelapse.mp4" length="0" type="video/mp4" />

		<post-id xmlns="com-wordpress:feed-additions:1">5149</post-id>	</item>
		<item>
		<title>Amcrest Addition Abandoned</title>
		<link>https://www.vermontfarmcam.com/2021/07/27/amcrest-addition-abandoned/</link>
		
		<dc:creator><![CDATA[Vermont FarmCam]]></dc:creator>
		<pubDate>Tue, 27 Jul 2021 16:55:32 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[EvoCam]]></category>
		<category><![CDATA[OBS]]></category>
		<category><![CDATA[Open Broadcasting Software]]></category>
		<guid isPermaLink="false">https://www.vermontfarmcam.com/?p=3303</guid>

					<description><![CDATA[Last December I ordered a new 4k camera with a plan to swap it for the Hikvision camera which has been in place since January 2016. When the Amcrest UltraHD 4K arrived I connected it in my office and ran some tests for streaming, and time-lapse. Satisfied, I still waited&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p class="has-drop-cap wp-block-paragraph">Last December I ordered a new 4k camera with a plan to swap it for the Hikvision camera which has been in place since January 2016. When the <a href="https://amcrest.com/amcrest-ultrahd-4k-8mp-bullet-poe-ip-camera-security-3840x2160-131ft-nightvision-2-8mm-lens-ip67-weatherproof-microsd-recording-black-ip8m-2496eb.html" target="_blank" rel="noreferrer noopener" title="Direct link to this cameras maker's site">Amcrest UltraHD 4K</a> arrived I connected it in my office and ran some tests for streaming, and time-lapse. Satisfied, I still waited until June to mount and connect the new Amcrest camera, swapping out the Hikvision.</p>



<span id="more-3303"></span>



<p class="wp-block-paragraph">Despite lots of tests I was unable to get a consistent time-lapse after the switch. The streaming on <a href="https://www.youtube.com/channel/UC-lzmyJ6rpl9KEgpQPU4rjA" target="_blank" rel="noreferrer noopener" title="Link to the Vermont FarmCam YouTube page">YouTube</a> worked fine, but EvoCam just didn&#8217;t seem to like the new camera. Time-lapses were choppy at best often displaying the same image for much, if not the entire, video. The timestamp overlay would change, but not the image.</p>



<p class="wp-block-paragraph">Over the course of about a month I tried changing various settings in the Amcrest configuration. First trying a smaller image size &#8212; no way 4k was going to work &#8212; and then changing the bit rates. Nothing worked. Then I tried moving <a href="https://obsproject.com" target="_blank" rel="noreferrer noopener" title="Open Broadcasting Software">OBS</a> software running the live stream from the ancient Mac Mini to my iMac, leaving only EvoCam on the Mini. No change.</p>



<p class="wp-block-paragraph">I am admitting defeat on this, and have returned to the Hikvision camera. I am glad I heeded the advice of my wife and left the Hikvision in place, so the swap was a simple reconnection of the Ethernet cable and changing a few things on EvoCam and OBS. </p>



<p class="wp-block-paragraph">The hope is that I can still use the Amcrest camera in a future project (Sheep Barn Cam anyone?), but for now we are back to where we were a few months ago, but at least everything is working. *knock wood*</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3303</post-id>	</item>
		<item>
		<title>Don&#8217;t (Kernel) Panic! 🤪</title>
		<link>https://www.vermontfarmcam.com/2018/02/14/dont-kernel-panic/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Thu, 15 Feb 2018 00:33:44 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crashes]]></category>
		<category><![CDATA[EvoCam]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[kernel panic]]></category>
		<category><![CDATA[MIGRATE]]></category>
		<guid isPermaLink="false">https://www.rickscully.com/?p=1633</guid>

					<description><![CDATA[As you may recall there has been a lot of effort (by me) put into trying to make EvoCam as efficient as it can be in regard to its resources usage. I figured if the software has been abandoned I have two choices: learn to program and roll my own&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>As you may recall there has been a lot of effort (by me) put into trying to make EvoCam as efficient as it can be in regard to its resources usage. I figured if the software has been abandoned I have two choices: learn to program and roll my own EvoCam clone or do what I can to keep it alive, and hope that I find a replacement. Long time readers (LOL) know that I chose the latter, because the former would take too long, and probably drive me mad.<span id="more-1633"></span></p>
<p>A few days ago we had our first crash <a href="https://www.vermontfarmcam.com/2018/02/07/do-as-i-say-not-as-i-did/">since the modifications</a> I made were put in place, and I am realising that the likely issue is a software bug in EvoCam which is causing a <a href="http://searchdatacenter.techtarget.com/definition/kernel-panic" target="_blank" rel="noopener noreferrer">kernel panic</a>. For not the first time I recently looked at the iMac and EvoCam had crashed, and the computer had locked up. Hard rebooting results in seeing a computer shut down due to an error message each time. I&#8217;m not a computer surgeon, but that doesn&#8217;t seem right.</p>
<p>That makes my next step to get down to the minimum number of open applications running and see if the issue continues. That will be EvoCam and Airmail. The latter because I use it to filter spam to reduce the spam I see on my other devices.</p>
<p>After that, my options appear to be to <a href="https://support.apple.com/en-us/HT201988" target="_blank" rel="noopener noreferrer">automate a restart of the computer</a> and see if that helps. The crashes aren&#8217;t so frequent that a weekly restart would likely do the trick. Or I could try running EvoCam on my (currently) unused Mac Mini, and allow it to run as the webcam&#8217; dedicated computer.</p>
<p>For now, we do our best to take care of EvoCam.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1633</post-id>	</item>
		<item>
		<title>Pros and Cons of Wide Dynamic Range</title>
		<link>https://www.vermontfarmcam.com/2018/02/10/pros-and-cons-of-wide-dynamic-range/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Sat, 10 Feb 2018 04:15:23 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[EvoCam]]></category>
		<category><![CDATA[MIGRATE]]></category>
		<category><![CDATA[WDR]]></category>
		<category><![CDATA[Webcam]]></category>
		<category><![CDATA[Wide Dynamic Range]]></category>
		<guid isPermaLink="false">https://www.rickscully.com/?p=1618</guid>

					<description><![CDATA[Recently I wrote about night vision and green screen, and I assumed that it was a trade off.  It kind of is, but maybe not in the way I thought. Every time I make a change to EvoCam or to the Hikvision settings, something new occurs. Not necessarily good or&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>Recently <a href="https://www.vermontfarmcam.com/2017/12/12/dark-nights-green-screen/" target="_blank" rel="noopener noreferrer">I wrote about night vision and green screen</a>, and I assumed that it was a trade off.  It kind of is, but maybe not in the way I thought.</p>
<p>Every time I make a change to EvoCam or to the Hikvision settings, something new occurs. Not necessarily good or bad, just new. And times like this I am simply baffled.</p>
<p>Again, it&#8217;s time to look under the hood.</p>
<p><span id="more-1618"></span></p>
<p>I thought I had turned off the so-called night vision &#8212; there is no setting called night vision for my camera, but we&#8217;ll get to that &#8212; when I made adjustments to the white balance. I had assumed that when I adjusted the white balance from default (<em>AWB1</em>) to <em>Nature Light</em>, that the darker screen meant the feature was disabled. I also assumed that making this change made the green screens go away. It <em>may</em> have, but it could be other things. I recently did a fresh macOS install <em>and</em> I have made many changes to the EvoCam settings since I last had a green screen occur. Can&#8217;t assume anything at this point.</p>
<p>When I consolidated the tabs, I noticed that the night vision (just easier to say that, at this point in this narrative) returned; and no changes to the camera settings were made. I scratched by head, but it was time for bed. As long as there weren&#8217;t any green screen errors, I would be fine with this freaky change at least until I had time to sleep and think.</p>
<p>In the morning, I checked the footage for the 24-hour timelapse, and was please that not a single frame was green.  Win, I thought. Then I checked the daylight-only timelapse, and saw the problem.</p>
<p>With the night vision back on, there was enough light that EvoCam&#8217;s light sensor thought it was daylight. Therefore I had two identical timelapses, and would continue to have two unless something was done.</p>
<p>I played around with the Hikvision interface, and noticed it was the <em><abbr title="Wide Dynamic Range">WDR</abbr></em> options under <em>Backlight Settings</em> creating the night vision effect. I did a quick video search for <a href="https://youtu.be/N0ctOojgJ4g" target="_blank" rel="noopener noreferrer">my camera model and WDR</a> and learned a bit more about the setting. I decided to leave it on and check the results for the daytime images the next day.</p>
<p>But not before creating a test Action in EvoCam to see if I could still recreate the daylight-only timelapse without the light sensor or disabling WDR.</p>
<p>There is an Action setting for &#8220;every day when it is daytime (or nighttime)&#8221; which uses location services in macOS to determine sunrise and sunset at the location. This means that the resulting timelapse will start exactly at sunrise and end exactly at sunset. However, unlike the conditions option in use for the <em>sunset</em> and <em>sunrise</em> images, there is no way to offset that time. Not ideal, but it appears to be my best option. I know at least one person &#8212; possibly my only viewer &#8212; who says she likes the daylight option. And I have plans for the daylight videos to be stitched together. So as of today this method will replace the old light sensor version of the daylight movie.</p>
<p>My opinion so far is that WDR handles shadows in a superior way to when it is turned off; especially around the barn and tree line. The colors appear a bit brighter to me, as well. Ergo, for now, more changes, tweaks, and experimenting&#8230; the way I like it.</p>
<p>If it ain&#8217;t broke, it ain&#8217;t fun, right?</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1618</post-id>	</item>
		<item>
		<title>My Own Worst Enemy</title>
		<link>https://www.vermontfarmcam.com/2018/02/08/my-own-worst-enemy/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Thu, 08 Feb 2018 22:16:29 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[EvoCam]]></category>
		<category><![CDATA[explanation]]></category>
		<category><![CDATA[MIGRATE]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://www.rickscully.com/?p=1609</guid>

					<description><![CDATA[When I woke this morning, I was pleased to see that all systems were go, and things appeared to be behaving themselves. Then I got to work, opened my Air, connected to the iMac via screen share, and &#8230; grey screen? Sigh. I am not too busy at work, so I&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>When I woke this morning, I was pleased to see that all systems were go, and things appeared to be behaving themselves. Then I got to work, opened my Air, connected to the iMac via screen share, and &#8230; grey screen?</p>
<p><em>Sigh.</em></p>
<p><span id="more-1609"></span>I am not too busy at work, so I quickly go through all the usual steps to try and figure out why I can&#8217;t see the camera image in EvoCam. Including:</p>
<ul>
<li>Connect to the camera via it&#8217;s maker&#8217;s software. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li>Connect to the camera via the web interface. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li>Restarted EvoCam, the router, and the iMac. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
</ul>
<p>While logged into the AirPort Extreme via Airport Utility, I noticed that there weren&#8217;t many devices connected to it. This likely meant that it was a hardware or power issue. Since I could connect to the iMac via VPN that ruled out power.</p>
<p>Because of the snow storm, we were sent home to work remotely. But when I got home, I still did things the hard way. I looked at the switch and it looked to be working. Lights flashing on the appropriate ports. The PoE Injector was dangling a bit from the AC outlet, but the lights were on and it looked to be functioning.</p>
<p>So then I turned to cables. And naturaly I did this the wrong way as well. I started by unplugging the cable from the PoE to the switch. I changing the port. Then I decided to grab a new Ethernet cable. I was going to bypass the switch and go right to the router. I plugged the cable into the PoE and as I approached the router, I had a flash&#8230;</p>
<p><em>This morning, you moved the router to tuck the telephone line and power cable behind it. Did you&#8230;?</em></p>
<p>I reached behind the AirPort Extreme and pressed on the cable that leads to the switch.</p>
<p><em>Click</em>.</p>
<p>Sigh.</p>
<p>That was it. I got in my own way (again) and created a problem for myself. This time because 2 small black cords were distracting to me. And then I kicked myself some more when I realized I didn&#8217;t even think of the most simple of checks by failing to turn on the AppleTV to see if it could connect.</p>
<p>Now the silver linings.</p>
<p>While I had been futzing with EvoCam from work in the morning, I noticed that the time-lapse movie was huge in file size. When I was home, I took a peek and noticed that I had 2 different processes writing to the same file name. This led to the movie being a combination of the last 3 days worth of video. I think I sorted that out, and I may not have noticed had I not screwed something else up!</p>
<p>Also, by doing <a href="https://www.rickscully.com/2018/01/22/ticking-off-the-to-dos/">all that hard work a few weeks ago organizing cables</a>, and bypassing my wireless kluge, I freed up an old Airport Express. It sat on my desk for a few weeks, not unnoticed, as I discovered the grey of the Apple logo is the color I want to paint the upstairs bedroom/library/office/exercise room. The reason having the device was handy is that I was able to use it to plug the VoIP telephone from work in and be able to have it near the iMac which I use to screen share to the office so I can work from home. Much better than last time, when the phone was downstairs plugged into the AirPort Extreme and I had to put people on hold and run upstairs to look things up or troubleshoot.</p>
<p>So, I got that going for me.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1609</post-id>	</item>
		<item>
		<title>Do As I Say, Not As I Did</title>
		<link>https://www.vermontfarmcam.com/2018/02/07/do-as-i-say-not-as-i-did/</link>
					<comments>https://www.vermontfarmcam.com/2018/02/07/do-as-i-say-not-as-i-did/#comments</comments>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Wed, 07 Feb 2018 01:11:04 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Activity Monitor]]></category>
		<category><![CDATA[EvoCam]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[MIGRATE]]></category>
		<category><![CDATA[Tabs]]></category>
		<category><![CDATA[usage]]></category>
		<category><![CDATA[warning]]></category>
		<guid isPermaLink="false">https://www.rickscully.com/?p=1599</guid>

					<description><![CDATA[Look, I have never claimed to be an expert on anything.  I hunt and peck my way around the keyboard, and do the same when it comes to figuring shit out. I like to pretend that what I am creating with the FarmCam Project is like software development; each tweak&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>Look, I have never claimed to be an expert on anything.  I hunt and peck my way around the keyboard, and do the same when it comes to figuring shit out.</p>
<p>I like to pretend that what I am creating with the FarmCam Project is like software development; each tweak or improvement a new version. Sometimes it feels that way as I wrestle with EvoCam to get the most out of the abandoned software, that has gone dark without explanation. I can&#8217;t just make a support request or post to a support forum. If there are diehard EvoCam enthusiasts, I have no idea where to find them.</p>
<p>These instructional entries are here for two reasons. One, I hope to help others who may have similar interests &#8212; or needs &#8212; to my own. Secondly, if I don&#8217;t write this stuff down somewhere, I am likely to break something and forget WTF I did. These are my own manuals in some sense. Hence, many entries with lots of guess work and promises to report back later. Most of the time I forget to do some things in advance, and I am left wondering if a change will make any difference at all. Other times, I&#8217;m not patient enough to test things before I write about them here. [This is another of those times!]<span id="more-1599"></span></p>
<h3>Tab-less With Benefits</h3>
<p>Today I am going to discuss using fewer tabs in EvoCam, and stream-lining one session while naming EvoCam Actions to help organise the tasks. This task is not exclusively to make things pretty, but an effort to prevent EvoCam from crashing.</p>
<p>I assume that the idea behind EvoCam&#8217;s tab feature is to allow one to use the software to manage multiple video feeds. For the last year or so, I have been using them to manage other project tasks, but always from the same video feed. My theory is that doing so was using more system resources, and possibly causing the software to crash more frequently.</p>
<p>If you read this site, you may recall that I recently took great joy in <a href="https://www.vermontfarmcam.com/2018/01/22/ticking-off-the-to-dos/">wiping my 6-year-old iMac&#8217;s hard drive and doing a fresh install of macOS</a>.  One of the reasons I did this was to try and isolate the FarmCam project, and reduce the number of other applications vying for system resources. There is very little else running on the iMac other than the necessary applications to power the project.  EvoCam to grab the images, save them, and upload them to the website, and very little else. I also took advantage of the clean install to organise the directory structure for the FarmCam project. Previously I had everything saved in a sub-directory of a sub directory of the Movies directory that comes with macOS &#8230; and I mean <em>everything</em>.</p>
<p>So recently when I noticed EvoCam crashing more frequently, with most other applications running fine, I looked for what I could do to reduce the resources being used <em>by</em> EvoCam.  Since it&#8217;s a clean install with so few things running there&#8217;s a chance it is a memory leak or something out of my control too. But I wanted to see if I could come up with an answer. I can&#8217;t give up on EvoCam. At least not until I can find something that can do all the things I need it to do, and I have been looking for over a year now.</p>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" />Moment</h3>
<p>Yesterday, while I was <a href="https://www.rickscully.com/2018/02/05/silver-linings/">writing about my truck problems</a> &#8212; still in the shop, thanks for asking &#8212; I was also clicking back and forth between the EvoCam tabs for each part of the project.</p>
<p>Each time I chose a tab, I typed ⌘K to view the settings for that tab, and the tab size would grow based on the window size of the previous tab. Being a bit of a neat freak when it comes to my desktops meant that I would then have to re-size EvoCam when I was done. This is <em>my</em> issue, and I own it, but <em>my</em> issue led me to a possible solution to the crashing challenge.</p>
<p>I had started these tabs as ways to try out new things, and then it just became a hassle to unwind the knot I had created.  I assume software developers have similar challenges &#8212; on a greater scale of complexity, natch.</p>
<p>One tab was named <em>oncedaily</em>, and it ran the Daily Sunrise, Daily Noon, and Daily Sunset features. The next one was named <em>dailymovie</em> and it ran the Daylight Timelapse process. The third, which was actually the original, was titled <em>FarmCamNew</em>, and it controlled the still image that is displayed every 30 seconds as well as the 24-hour Daily Timelapse.</p>
<p>Each of these tabs was displaying the <em>exact</em> same video feed from the <em>exact</em> same camera!</p>
<p><a href="https://i0.wp.com/www.rickscully.com/office/wp-content/uploads/2018/02/EvoCam-Actions-ScreenGrab.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignright size-medium wp-image-1603" src="https://i0.wp.com/www.rickscully.com/office/wp-content/uploads/2018/02/EvoCam-Actions-ScreenGrab-300x254.png?resize=300%2C254&#038;ssl=1" alt="" width="300" height="254" /></a>My solution was to take screen grabs of the settings for all of the EvoCam <em>Actions</em> across all three tabs. Then I recreated each Action from the extraneous tabs, and added them to the <em>FarmCamNew</em> session. After they were transferred, I renamed each Action and grouped them in the Set drop-down [see image] so they are easily discernible. When I was done, I closed the <em>oncedaily</em> and <em>dailymovie</em> tabs, running everything as <em>FarmCamNew</em>.</p>
<p>I typed ⌘S to save, and now I wait.</p>
<p>I said above that I often don&#8217;t plan these tests very well until they are in process or done completely. In this experiment, I neglected to check the Activity Monitor before I made all my changes and binned the old tabs. I had looked at the Activity Monitor last week, and I <em>think</em> I recall seeing constant %CPU readings in the mid-30s at least for EvoCam. I was surprised that EvoCam &#8212; and <a href="https://discussions.apple.com/thread/3192592" target="_blank" rel="noopener noreferrer">VTDecoderXPCService</a> &#8212; were the 2 biggest CPU hogs.</p>
<p>However, as I typed this entry, I have closely watched the Activity Monitor, and EvoCam has averaged about 7.5% and VTDecoderXPCService at around 15%. EvoCam also appears to only use around 3% (or less) when it is in <em>Hide and Leave Active</em> mode. Every 30 seconds &#8212; time between still images for the FarmCam &#8212; the CPU usage goes up a few percentage points, which is understandable, but nothing that seems excessive.</p>
<p>I hope I am right about this, but I&#8217;d be lying if I didn&#8217;t say my first desire was for something that <em>looked better</em> on my desktop. Not crashing so often would be a <em>huge</em> bonus.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vermontfarmcam.com/2018/02/07/do-as-i-say-not-as-i-did/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1599</post-id>	</item>
		<item>
		<title>Hooked on CronniX</title>
		<link>https://www.vermontfarmcam.com/2018/01/30/hooked-on-cronnix/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Tue, 30 Jan 2018 08:00:41 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[CronniX]]></category>
		<category><![CDATA[MIGRATE]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[scheduling]]></category>
		<guid isPermaLink="false">https://www.rickscully.com/?p=1580</guid>

					<description><![CDATA[I turned to cron/crontab in order to run an Automator application and Transmit to (sometimes) smoothly synchronise the daily movies on my iMac with those on the remote server.  Then I learned much of the hard work I was scripting could be done from within my beloved EvoCam. However, EvoCam&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>I turned to <a href="https://help.ubuntu.com/community/CronHowto" target="_blank" rel="noopener noreferrer">cron/crontab</a> in order to run an Automator application and Transmit to (sometimes) smoothly synchronise the daily movies on my iMac with those on the remote server.  Then I learned much of the hard work I was scripting could be done from within my beloved EvoCam. However, EvoCam does not appear to be able to handle the archiving part of the operation. At least not to my specifications.</p>
<p><span id="more-1580"></span>So I returned to Automator and created a three-step workflow to take the two movies created daily, rename them with their creation date as part of the file name, and then move those to another local directory.</p>
<p>Now I don&#8217;t know about you, but I am not a <a href="https://en.wikipedia.org/wiki/Unix-like" target="_blank" rel="noopener noreferrer">*nix</a> guru.  Not even close.  But I can search, <a href="http://www.techradar.com/how-to/computing/apple/terminal-101-creating-cron-jobs-1305651" target="_blank" rel="noopener noreferrer">read, and follow</a> directions. Plus, I am not trying to schedule something challenging. In this case, all I need to do is run my Automator application each day at five minutes after midnight. With a few keystrokes I was in Terminal.app and had my schedule:</p>
<p><code>5   0   *   *   *   /Applications/FarmCamArchive.app</code></p>
<p>That translates to running my three-step Automator application <a href="https://crontab.guru/#5_0_*_*_*">every day at 12:05am</a> (crontab.guru is a <em>great</em> cron deciphering tool). Plug in your own variables and it will instantly translate it to English.</p>
<p>All was well until I reformatted the iMac&#8217;s drive and did a fresh install of macOS. Suddenly my cron wasn&#8217;t working. I could run the Automator application, but it wasn&#8217;t running on its own anymore. I ran a few tests on the iMac with little success, and then decided to try a free graphical app I had called <a href="https://code.google.com/archive/p/cronnix/" target="_blank" rel="noopener noreferrer">CronniX</a>. This is a great app if you are a n00b to all this, and just need to automate a few things. I found my solution through a checkbox in the CronniX settings to &#8220;prepend /usr/bin/open&#8221;. YMMV.</p>
<p>Now I am inspired to try a few other scheduled tasks. The next one is a monthly archiving of the daily movies that are on my local drive. So I wrote an Automator workflow to take a month&#8217;s worth of timelapses (x2!), compress them to a ZIP, rename them with their creation date, and move the originals to the system trash.  The <a href="https://crontab.guru/#10_0_1_*_*" target="_blank" rel="noopener noreferrer">schedule for that job</a> is:</p>
<p><code>10 0     1     *     *     /Applications/MonthlyArchive.app</code></p>
<p>The Automator was a little more confusing to get right, but that&#8217;s another story.</p>
<p>Anyway, it was great fun learning a new thing, and finding a free tool to make things a little bit easier for novice like me.</p>
<p>What to CronniX next?</p>
<p><small>* sorry, I couldn&#8217;t help myself with the title. I was going for the straight-up weed references, but this is kinda a twofer.</small></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1580</post-id>	</item>
		<item>
		<title>EvoCam for Simple Timelapse and More</title>
		<link>https://www.vermontfarmcam.com/2018/01/08/evocam-for-simple-timelapse-and-more/</link>
		
		<dc:creator><![CDATA[voice]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 12:54:03 +0000</pubDate>
				<category><![CDATA[Instructional]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Video]]></category>
		<guid isPermaLink="false">https://www.vermontfarmcam.com/?p=2269</guid>

					<description><![CDATA[This process has been updated as of 1 March 2024. Please refer to the newer version. Over the years I have had requests to share the details of how I do the technical things that power the FarmCam. Below are instructions for using EvoCam to share still images as well&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><a href="https://www.vermontfarmcam.com/2024/03/01/evocam-for-simple-timelapse/" data-type="post" data-id="5149">This process has been updated as of 1 March 2024. Please refer to the newer version</a>.</p>



<p class="wp-block-paragraph">Over the years I have had requests to share the details of how I do the technical things that power the FarmCam. Below are instructions for using EvoCam to share still images as well as timelapse videos on a website to which you have FTP access.</p>



<p class="wp-block-paragraph">Unfortunately, EvoCam is no longer being developed so everything in this article will likely focus on Version 5.0 (64-bit preview 3) of the software. At the time of this writing one can still download the software from reputable sites; however, if you cannot find it, email me. I can provide the DMG file, but I do <em><strong>not</strong></em> provide support for the software! &nbsp;EvoCam works only on macOS, and I have tested it &nbsp;up to: <strong>macOS High Sierra Version 10.13.6 on my Mac Mini (Mid-2011)</strong>.</p>



<span id="more-2269"></span>



<p class="wp-block-paragraph">There is an EvoCam User&#8217;s Guide, which can be accessed under the software&#8217;s Help menu. Please read it, especially if you have no experience with the software. &nbsp;I will not be covering connecting cameras, adjusting image sizes, exposure, etc. Again, I cannot act as support, which is why I am going into such detail in the article.</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/ftp-settings-WEB.png?ssl=1"><img data-recalc-dims="1" height="257" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/ftp-settings-WEB-300x257.png?resize=300%2C257&#038;ssl=1" alt="" class="wp-image-1492"/></a><figcaption class="wp-element-caption">FTP Server settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">This article assumes the reader has a webcam that is either physically connected to the machine that will run EvoCam or a networked camera supported by the software. I use a networked <a href="http://www.hikvision.com/us/Products_1_10533_i7579.html" target="_blank" rel="noreferrer noopener">HikVision&nbsp;DS-2CD2042WD-I</a> which is mounted on a post on my front porch, and is wired using a PoE Injector.</p>



<p class="wp-block-paragraph"><strong>File Transfer Protocol (FTP)</strong></p>



<p class="wp-block-paragraph">In order to upload your images and timelapse videos you need to enter your FTP credentials into EvoCam. This article assumes you know what FTP is, and how you connect to your web host using it.</p>



<ol class="wp-block-list">
<li>Click on <em>EvoCam</em> in the software&#8217;s menu and then select <em>Preferences</em> from the drop down.</li>



<li>Click on <em>FTP Server</em> from the top menu, and then enter your <em>FTP Server</em> information. If the FTP fails at at any point during the resulting tests, you will need to check with your web host to get the correct setting. Sorry.</li>



<li>Enter your <em>username</em>, <em>password</em>, and the <em>initial path</em> &#8212; if it is different than the root set in the <em>FTP Server</em> path. I use the <em>temporary file setting</em>, but it may not be necessary unless you are uploading images in rapid succession. If the FTP fails, and you know your path and credentials are correct, try checking this box.</li>
</ol>



<h2 class="wp-block-heading" id="start-with-still-images">Start with Still Images</h2>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timeperiods-WEB.png?ssl=1"><img data-recalc-dims="1" height="173" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timeperiods-WEB-300x173.png?resize=300%2C173&#038;ssl=1" alt="" class="wp-image-1494"/></a><figcaption class="wp-element-caption">Time period settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">In order to create a timelapse you need to take still images at different intervals. &nbsp;This could be every 60 seconds, every hour, once a day, or almost any other period. EvoCam will create the timelapse from these still images, and the length of your video will be determined by how many images are saved.</p>



<ol class="wp-block-list">
<li><strong>Open EvoCam, and select <em>New</em> from the <em>File</em> menu.</strong>&nbsp; As soon as you open a new file, click on the <em>File</em> menu again, and choose <em>Save As&#8230;</em>&nbsp;Navigate to the directory of your choice, and give the project a name. When you start for the first time, EvoCam may actually find your camera and display the image. In my case, doing this step enabled my iMac&#8217;s built-in iSight camera and I was staring at myself [that&#8217;s me in the screenshots in this article].</li>
</ol>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/conditions-WEB.png?ssl=1"><img data-recalc-dims="1" height="189" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/conditions-WEB-300x189.png?resize=300%2C189&#038;ssl=1" alt="" class="wp-image-1495"/></a><figcaption class="wp-element-caption">Conditions settings</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>Click on the <em>Actions</em> button.</strong> For the sake of this tutorial we will be working exclusively in the <em>Actions</em> and will not discuss live streaming or recording video.<em><strong>During the time periods.</strong></em> If you are doing a 24-hour camera then you can leave the &#8220;During these time periods&#8221; as <em>Always</em>. Play around with the other options if you only want to perform tasks during arange of time or even based on detected levels of light. <em><strong>When any of these conditions occur.</strong></em> In the next section you decide when this action occurs. &nbsp;For this tutorial we will first need to create a collection of still images so that the time lapse can be created. Select &#8220;Every x seconds/minutes/hours&#8221; in the top Periodic conditions section. Change the default to however many seconds you want between new images. Hold off on checking the box next to the entry for now. <em><strong>Perform these actions.</strong></em> In my case I use the actions in this process to both &#8220;Add image to timelapse archive&#8221; and &#8220;Upload named image to the server.&#8221; It doesn&#8217;t matter which order you create these two actions. Once you select them from the drop down menu, change the settings as follows:</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/actions-WEB.png?ssl=1"><img data-recalc-dims="1" height="300" width="268" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/actions-WEB-268x300.png?resize=268%2C300&#038;ssl=1" alt="" class="wp-image-1496"/></a><figcaption class="wp-element-caption">Detailed list of actions</figcaption></figure>
</div>


<p class="wp-block-paragraph">For &#8220;Add image to timelapse archive&#8221; you can check the box and forget it, but I suggest clicking on Desktop and navigating to a directory of your choice, or a new one entirely. There is no need to change the file <em>Name</em> from &#8220;Timelapse&#8221;, but you can. For &#8220;Upload named image to server&#8221; you can again check the box and keep the default file name or type your own. <strong>Engage!</strong> If you are happy with the settings then you can check the box next to your conditions setting from Step 4 above, which will start the process of taking a picture, saving a local copy to use as a timelapse, and upload a still image to your web server.</p>



<h2 class="wp-block-heading" id="time-to-timelapse">Time to Timelapse</h2>



<p class="wp-block-paragraph">This is the trickiest part of the process because it isn&#8217;t intuitive. Choose <em>Options</em> from the EvoCam menu and then select <em>Show Multiple Action Sets</em>. This displays a new option at the top of your <em>Actions</em> screen named <em>Set</em>, and the default is now <em>Actions 1</em>.</p>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/MultipleActionSets-WEB.png?ssl=1"><img data-recalc-dims="1" height="173" width="300" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/MultipleActionSets-WEB-300x173.png?resize=300%2C173&#038;ssl=1" alt="" class="wp-image-1497"/></a><figcaption class="wp-element-caption">Multiple Action Sets</figcaption></figure>
</div>


<ol class="wp-block-list">
<li><strong>Rename the still image action from above.</strong> Click the bisected circle with the down caret, and choose <em>Rename Selected Set</em>&nbsp;and change the name&nbsp;to something like <em>Still Image.</em></li>



<li><strong>Create new Set for Timelapse.</strong> Now choose the drop menu circle again and select <em>Add New Set</em>. When prompted type <em>Timelapse</em>&nbsp;and click <em>OK</em>.</li>
</ol>



<p class="wp-block-paragraph">The resulting screen change should look familiar as a new Action. The process will be similar to that of getting the still image, but I&#8217;ll spelling it out below.</p>



<ol class="wp-block-list">
<li><strong><em>During these time periods</em>.</strong> Again, <em>if</em> you are doing a 24-hour camera then you can leave the <em>During these time periods</em> set to&nbsp;<em>Always </em>or change the time periods to something that works for your project. For this article, I am describing my process, and I have it set to <em>Always</em>.</li>



<li><strong><em>When any of these conditions occur</em>.</strong>&nbsp;In the case of the Timelapse Action Set, this is where you instruct EvoCam on when to stitch all of the still images it has been collecting and to turn it into a movie. In my case, I have chosen the Everyday at specific time option from the conditions drop-down menu and set it to <em>Every dat at&nbsp;11:59:59 PM</em>.</li>
</ol>


<div class="wp-block-image">
<figure class="alignright"><a href="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timelapse-WEB.png?ssl=1"><img data-recalc-dims="1" height="300" width="256" decoding="async" src="https://i0.wp.com/www.rickscully.com/wp-content/uploads/2018/01/timelapse-WEB-256x300.png?resize=256%2C300&#038;ssl=1" alt="" class="wp-image-1498"/></a><figcaption class="wp-element-caption">Perform these actions</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong><em>Perform these actions</em>.</strong> For the Timelapse Set there is only one action to perform, <em>Export timelapse achieve as movie</em>, but with some confusing settings. After choosing Export timelapse archive as movie, check the box to enable the action, and then:</p>



<ul class="wp-block-list">
<li>Select <em>all images, removing them from archive</em> from the <em>Export</em> drop-down menu. NOTE: It is likely that I could save myself some headaches by changing this setting, but honestly I haven&#8217;t bothered. &nbsp;I address archiving via a 3-step Automator process, and it is only necessary if you want to keep ALL of your time lapses which will take up disk space.</li>



<li>For the <em>Archive Folder</em> click on the default folder and navigate to the location you chose in section 5, subsection 1 in the still image process above. Make sure the <em>Archive name</em> is the same as the one in the still image process as well.</li>



<li>For the <em>Movie folder</em>, click on the default folder, and navigate to the location of your choice. For the <em>Movie name</em>, type a name (without space, ideally).</li>
</ul>



<p class="wp-block-paragraph"><strong>Advanced Actions.</strong></p>



<ul class="wp-block-list">
<li><strong>Upload movie to server.</strong> Check the box next to <em>Upload movie to server</em>. This will&nbsp;upload your timelapse as an MP4 to the same directory you set in the FTP Server settings previously.</li>



<li><strong>Delete movie file after uploading.</strong> If you have no need for the original, local file, then you can choose <em>Delete movie file after uploading</em>. However, below I address archiving options (using <a href="https://support.apple.com/guide/automator/welcome" target="_blank" rel="noreferrer noopener">Automator</a> and <a href="http://www.techradar.com/how-to/computing/apple/terminal-101-creating-cron-jobs-1305651" target="_blank" rel="noreferrer noopener">cron</a>), so if you would like to eventually auto archive, leave the box <strong>UN</strong>checked.</li>



<li><strong>Playback rate.</strong> The default setting is 30fps, which seems to be standard for online video. The problem is that the faster the frame rate the quicker your movie will go. You can play around with this setting find your sweet spot. You can also adjust how often a still image is taken if you want even more control over the look and feel of the final product.</li>
</ul>



<p class="wp-block-paragraph">Unless I have forgotten something, that&#8217;s really all there is to this whole thing. Read on if you want to learn about the basic code for your site so you can show off you work.</p>



<h4 class="wp-block-heading" id="html-for-your-site">HTML For Your Site</h4>



<p class="wp-block-paragraph">There are a great many good sources for learning HTML, and I have to assume the reader has some basic HTML skills, and so I am only giving the most basic of mark-up in this section.</p>



<p class="wp-block-paragraph"><strong>Still Image</strong><br>In order to display the still image you uploaded to your website, use this code and replace YOURWEBSITE.COM with your own domain, and PATH with the initial directory set in EvoCam&#8217;s FTP Server preferences. If you changed the name of the image as well then make &nbsp;sure you use that JPG name.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">&lt;img src=&#8221;http://YOURWEBSITE.COM/PATH/mycam.jpg&#8221; /&gt;</p>
</blockquote>



<p class="wp-block-paragraph"><strong>Timelapse Movie</strong><br>Again, this is the most basic of ways to display your video. Again be sure to change everything in ALL CAPS with your own information, and change MP4 name if you changed that.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">&lt;video src=&#8221;http://YOURWEBSITE.COM/PATH/timelapse.mp4&#8243; type=&#8221;video/mp4&#8243;&gt;&lt;/video&gt;</p>
</blockquote>
]]></content:encoded>
					
		
		<enclosure url="http://YOURWEBSITE.COM/PATH/timelapse.mp4" length="0" type="video/mp4" />

		<post-id xmlns="com-wordpress:feed-additions:1">2269</post-id>	</item>
	</channel>
</rss>
