<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lrgiese</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lrgiese"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Lrgiese"/>
	<updated>2026-05-03T15:11:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Wanscam&amp;diff=14318</id>
		<title>Wanscam</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Wanscam&amp;diff=14318"/>
		<updated>2017-01-29T20:22:16Z</updated>

		<summary type="html">&lt;p&gt;Lrgiese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Model specific wikis==&lt;br /&gt;
:[[Wanscam_FR4020A2_PT|Wanscam FR4020A2 Pan/Tilt Camera]]&lt;br /&gt;
:[[Wanscam_FR4020A2_Out|Wanscam FR4020A2 Outdoor Camera]]&lt;br /&gt;
&lt;br /&gt;
==General Wanscam directions==&lt;br /&gt;
&lt;br /&gt;
The Wanscam FR4020A2 Pan/Tilt camera is a Foscam clone very similar to this camera [[Foscam_FI8918W|Foscam FI8918W Pan/Tilt Camera]]. As a clone it should work with the generic control script found here [[Foscam Clones]], but it doesn&amp;#039;t. It is similar but it is not compatible. Left and right pan is mixed up. IR light on and off is mixed up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Setup a new control script==&lt;br /&gt;
ZoneMinder v1.25.0&lt;br /&gt;
&lt;br /&gt;
The new control script needs to be in the same folder as other control scripts. In Ubuntu 12.04 it is /usr/share/perl5/ZoneMinder/Control/. Search for one of the already existing control scripts to find the right folder. For exampel search for file AxisV2.pm.&lt;br /&gt;
&lt;br /&gt;
Name the new control script file so that it matches the package name inside the file.&lt;br /&gt;
Example: File name: &amp;#039;&amp;#039;Wanscam.pm&amp;#039;&amp;#039; Package name: &amp;#039;&amp;#039;package ZoneMinder::Control::Wanscam;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Make sure the new script file has the same permissions as the already existing script files.&lt;br /&gt;
&lt;br /&gt;
Now ZoneMinder needs to know about the new control script. First make sure that OPT_CONTROL is ticked in Options System tab, otherwise the Control tab will not show in the next step.&lt;br /&gt;
&lt;br /&gt;
Open the monitor editor. Go to Control tab. On the second row named &amp;#039;&amp;#039;Control Type&amp;#039;&amp;#039;, click the link named &amp;#039;&amp;#039;Edit&amp;#039;&amp;#039;. Now the &amp;#039;&amp;#039;Control Capabilities&amp;#039;&amp;#039; window should open.&lt;br /&gt;
&lt;br /&gt;
Click &amp;#039;&amp;#039;Add New Control&amp;#039;&amp;#039; button.&lt;br /&gt;
&lt;br /&gt;
Complete the settings exactly as described for each control script. These setting are as important as the script itself to get things working.&lt;br /&gt;
&lt;br /&gt;
Click the &amp;#039;&amp;#039;Save&amp;#039;&amp;#039; button.&lt;br /&gt;
&lt;br /&gt;
Stop ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
Reboot. (Yes I know it is brutal, but it is effective.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debug a control script==&lt;br /&gt;
ZoneMinder v1.25.0&lt;br /&gt;
&lt;br /&gt;
To see the Debug output from the control script you need to configure ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
Go to Options Logging Tab.&lt;br /&gt;
&lt;br /&gt;
LOG_LEVEL_DATABASE set to &amp;#039;&amp;#039;Debug&amp;#039;&amp;#039; (to allow reception of debug output).&lt;br /&gt;
&lt;br /&gt;
LOG_DEBUG tick&lt;br /&gt;
&lt;br /&gt;
LOG_DEBUG_TARGET set to &amp;#039;&amp;#039;_zmcontrol&amp;#039;&amp;#039; (it is zmcontrol.pl that runs the control scripts)&lt;br /&gt;
&lt;br /&gt;
LOG_DEBUG_LEVEL set to &amp;#039;&amp;#039;1&amp;#039;&amp;#039; (to allow sending of debug output)&lt;br /&gt;
&lt;br /&gt;
Click the &amp;#039;&amp;#039;Save&amp;#039;&amp;#039; button.&lt;br /&gt;
&lt;br /&gt;
Restart ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
Open &amp;#039;&amp;#039;Logg&amp;#039;&amp;#039; window.&lt;br /&gt;
&lt;br /&gt;
Set Filter log - Component to &amp;#039;&amp;#039;zmcontrol&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Now you will see the debug output from the control script.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
I installed a Wanscam PNP IP Camera(no model number).  It was dropping out on ZoneMinder(go from green to red status).  I fixed it by creating a cron entry that just pinged the camera every 15 minutes.  This replaced a Foscam unit that lost the IR leds.  Same network cable and power setup.&lt;/div&gt;</summary>
		<author><name>Lrgiese</name></author>
	</entry>
</feed>