<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=IVS_Module</id>
		<title>IVS Module - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=IVS_Module"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=IVS_Module&amp;action=history"/>
		<updated>2026-05-13T23:31:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=10595&amp;oldid=prev</id>
		<title>IVSWikiBlue: /* Usage */</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=10595&amp;oldid=prev"/>
				<updated>2022-08-19T20:55:56Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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 style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:55, 19 August 2022&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-l578&quot; &gt;Line 578:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 578:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==saveconfig==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==saveconfig==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Usage===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Usage===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This function is used to save configuration data &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;from &lt;/del&gt;to a json formatted config file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;This function is used to save configuration data to a json formatted config file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Parameters===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Parameters===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;saveconfig(configarray,configfilepath)&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;saveconfig(configarray,configfilepath)&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=10594&amp;oldid=prev</id>
		<title>IVSWikiBlue: /* Other Functions */</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=10594&amp;oldid=prev"/>
				<updated>2022-08-19T20:55:41Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Other Functions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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 style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:55, 19 August 2022&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-l556&quot; &gt;Line 556:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 556:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Example===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Example===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;ivs.factorydefault&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;ivs.factorydefault&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;==loadconfig==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Usage===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;This function is used to load configuration data from a json formatted config file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Parameters===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;pre&amp;gt;loadconfig(configfilepath)&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;{| class=&amp;quot;wikitable&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Parameter&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Type&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Value&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Required&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|configfilepath&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|string&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Path to the configuration file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Yes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Example===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;pre&amp;gt;ivs.loadconfig(&amp;quot;/usr/local/ivs/config/keypad.cfg&amp;quot;)&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;==saveconfig==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Usage===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;This function is used to save configuration data from to a json formatted config file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Parameters===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;pre&amp;gt;saveconfig(configarray,configfilepath)&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;{| class=&amp;quot;wikitable&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Parameter&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Type&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Value&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!Required&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|configarray&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|string&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Array containing all configuration information with keys.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Yes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|configfilepath&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|string&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Path to the configuration file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|Yes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;===Example===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;pre&amp;gt;ivs.saveconfig(keypadconfigarray,&amp;quot;/usr/local/ivs/config/keypad.cfg&amp;quot;)&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=8654&amp;oldid=prev</id>
		<title>IVSWikiBlue at 15:25, 9 February 2022</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=8654&amp;oldid=prev"/>
				<updated>2022-02-09T15:25:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://ipivs.info/wiki/index.php?title=IVS_Module&amp;amp;diff=8654&amp;amp;oldid=8651&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=8651&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;=VALT Class= ==Class Specifications== ===Usage=== Creates a class that is one instance of a connection to a VALT server. The below functions are all defined as part of the val...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=IVS_Module&amp;diff=8651&amp;oldid=prev"/>
				<updated>2022-02-08T22:40:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;=VALT Class= ==Class Specifications== ===Usage=== Creates a class that is one instance of a connection to a VALT server. The below functions are all defined as part of the val...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=VALT Class=&lt;br /&gt;
==Class Specifications==&lt;br /&gt;
===Usage===&lt;br /&gt;
Creates a class that is one instance of a connection to a VALT server. The below functions are all defined as part of the valt class and can be called.&lt;br /&gt;
===Initiation===&lt;br /&gt;
Upon initiation, the class will attempt to authenticate to the specified VALT server using the provided credentials. If authentication fails upon initiation or upon any further actions, the class will wait 30 seconds and then attempt to reauthenticate. Upon success, the class with reauthenticate every 24 hours.&lt;br /&gt;
&lt;br /&gt;
===Variables===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Variable&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
|-&lt;br /&gt;
|username&lt;br /&gt;
|string&lt;br /&gt;
|Stores the username used to authenticate to VALT.&lt;br /&gt;
|-&lt;br /&gt;
|password&lt;br /&gt;
|string&lt;br /&gt;
|Stores the password used to authenticate to VALT.&lt;br /&gt;
|-&lt;br /&gt;
|baseurl&lt;br /&gt;
|String&lt;br /&gt;
|Stores the basic url to connect to valt. The url is composed of the valt server address. For example http://ivstest1.ad.ipivs.com/api/v3/&lt;br /&gt;
|-&lt;br /&gt;
|success_reauth_time&lt;br /&gt;
|int&lt;br /&gt;
|The number of seconds to wait before reauthenticating to VALT after a successful authentication. Default is 28800.&lt;br /&gt;
|-&lt;br /&gt;
|failure_reauth_time&lt;br /&gt;
|int&lt;br /&gt;
|The number of seconds to wait before reauthenticating to VALT after a failed authentication attempt. Default is 30.&lt;br /&gt;
|-&lt;br /&gt;
|accesstoken&lt;br /&gt;
|string&lt;br /&gt;
|Stores the current access token retrieved during the last successful authentication. This will be set to 0 upon a failed authentication attempt or an error during any other function.&lt;br /&gt;
|-&lt;br /&gt;
|lastauthtime&lt;br /&gt;
|time&lt;br /&gt;
|Stores the last epoch time when authentication was attempted.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt(server,username,password)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|server&lt;br /&gt;
|String&lt;br /&gt;
|IP address or DNS name of the Valt application server.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|username&lt;br /&gt;
|String&lt;br /&gt;
|Valt Username.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|password&lt;br /&gt;
|String&lt;br /&gt;
|Valt Password.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valttest = ivs.valt(&amp;quot;ivstest1.ad.ipivs.com&amp;quot;,&amp;quot;admin&amp;quot;,&amp;quot;admin&amp;quot;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
==auth==&lt;br /&gt;
===Usage===&lt;br /&gt;
Connects to the Valt server. This function is executed automatically during initializaton.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;auth()&amp;lt;/pre&amp;gt;&lt;br /&gt;
This function does not accept any parameters.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.auth()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==isrecording==&lt;br /&gt;
===Usage===&lt;br /&gt;
Checks the state of a room and returns True if it is recording, or False if it is not. Returns 2 if an error is encountered.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;isrecording(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;if valt.isrecording(4):&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getrecordingid==&lt;br /&gt;
===Usage===&lt;br /&gt;
If the room is currently recording, it returns the ID of the active recording. You should check if the room is recording using the isrecording function prior to getting the recording ID.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getrecordingid(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;current_recording = valt.getrecording(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==startrecording==&lt;br /&gt;
===Usage===&lt;br /&gt;
Starts a new recording in the specified room.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;startrecording(room,name,author)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|name&lt;br /&gt;
|String&lt;br /&gt;
|The name that will be associated with the recording in Valt.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|author&lt;br /&gt;
|int&lt;br /&gt;
|The user id under which the recording should be started. If not specified, the recording will be started under the authenticated user. Must be specified as author= when calling the function. See the example below.&lt;br /&gt;
|No&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.startrecording(4,&amp;quot;My Recording&amp;quot;,author=12)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==stoprecording==&lt;br /&gt;
===Usage===&lt;br /&gt;
Stops the current recording in the specified room.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;stoprecording(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.stoprecording(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==pauserecording==&lt;br /&gt;
===Usage===&lt;br /&gt;
Pauses the current recording in the specified room.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;pauserecording(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.pauserecording(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==resumerecording==&lt;br /&gt;
===Usage===&lt;br /&gt;
Unpauses the current recording in the specified room.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;resumerecording(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.resumerecording(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
===WARNING===&lt;br /&gt;
As of the writing of this article, pausing and unpausing the recording will reset the duration timer for the recording. This may cause issues with inserting markers.&lt;br /&gt;
==addmarker==&lt;br /&gt;
===Usage===&lt;br /&gt;
Adds a marker to the recording in progress in the specified room. &lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;addmarker(room,markername,color,markertime)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|markername&lt;br /&gt;
|String&lt;br /&gt;
|Name for the marker in the Valt application.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|color&lt;br /&gt;
|String&lt;br /&gt;
|Color for the marker, valid values are white, gray, red, yellow, purple, cyan, blue, green, and orange. If not specified, will default to red.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|markertime&lt;br /&gt;
|int&lt;br /&gt;
|Time index to insert the marker. If not specified will use the current time index. When specifying a marker time, you must also specified a color.&lt;br /&gt;
|No&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.addmarker(4,&amp;quot;My Marker&amp;quot;,&amp;quot;green&amp;quot;,137)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getrecordingtime==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns the current time value of the recording in the specified room. Primarily used by the add marker function to specify the time for the marker.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getrecordingtime(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;current_recording_time = valt.getrecordingtime(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ispaused==&lt;br /&gt;
===Usage===&lt;br /&gt;
Checks the state of a room and returns True if it is paused, or False if it is not.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;ispaused(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;if valt.ispaused(4):&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==islocked==&lt;br /&gt;
===Usage===&lt;br /&gt;
Checks the state of a room and returns True if it is locked and False if it is not.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;islocked(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;if valt.islocked(4):&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getcameras==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns a nested list, containing details for the cameras in the specified room. Primarily used with the AXIS module to enable/disable privacy mode on cameras.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getcameras(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;cameras = valt.getcameras(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getrooms==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns a list of rooms if successful. Each list item is actually a dictionary containing information about that room.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getcameras()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This function does not accept any parameters.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;rooms = valt.getrooms()&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getschedule==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns a nested list of all upcoming schedules for the specified room. The returned list contains the start and end time for each schedule.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getschedule(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;schedules = valt.getschedule(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getroomname==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns the name of the room in VALT.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getroomname(room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;roomname = valt.getroomname(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getusername==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns the name of the user in VALT.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getusername(user)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|user&lt;br /&gt;
|Integer&lt;br /&gt;
|The user number of the user in the Valt application. This must be the actual user ID number, not the user name. This can be obtained from the database.&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;username = valt.getusername(4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==getroomstatus==&lt;br /&gt;
===Usage===&lt;br /&gt;
Returns a value indicating the current status of the room. This should be used instead of islocked, ispaused, or isrecording as it also includes better error handling.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Room Status&lt;br /&gt;
|Return Value&lt;br /&gt;
|-&lt;br /&gt;
|ERROR&lt;br /&gt;
|0&lt;br /&gt;
|-&lt;br /&gt;
|Available&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|Recording&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
|Paused&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|Locked&lt;br /&gt;
|4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;getroomstatus(https,server,accesstoken,room)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Parameter&lt;br /&gt;
|Type&lt;br /&gt;
|Value&lt;br /&gt;
|-&lt;br /&gt;
|https&lt;br /&gt;
|Boolean&lt;br /&gt;
|True if the server uses HTTPS, otherwise False.&lt;br /&gt;
|-&lt;br /&gt;
|server&lt;br /&gt;
|String&lt;br /&gt;
|IP address or DNS name of the Valt application server.&lt;br /&gt;
|-&lt;br /&gt;
|accesstoken&lt;br /&gt;
|String&lt;br /&gt;
|The authentication token returned by the function '''valtauth'''.&lt;br /&gt;
|-&lt;br /&gt;
|room&lt;br /&gt;
|Integer&lt;br /&gt;
|The room number of the room in the Valt application. This must be the actual room ID number, not the room name. This can be obtained from the database.&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;roomstatus = valt.getroomstatus(True,'valt.example.com','3e2c3e461736ce73830ed8d6d9d5dae6',4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==creategroup==&lt;br /&gt;
===Usage===&lt;br /&gt;
Connects to the VALT server and creates a user group with the specified rights, templates, retention period, and video access.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;creategroup(https,server,accesstoken,groupname,infoid,markerid)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|https&lt;br /&gt;
|Boolean&lt;br /&gt;
|True if the server uses HTTPS, otherwise False.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|server&lt;br /&gt;
|String&lt;br /&gt;
|IP address or DNS name of the VALT application server.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|accesstoken&lt;br /&gt;
|String&lt;br /&gt;
|The authentication token returned by the function '''valtauth'''.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|Group name&lt;br /&gt;
|String&lt;br /&gt;
|The name that will be given the to group in VALT.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|infoid&lt;br /&gt;
|Int&lt;br /&gt;
|The id number of the information template that will be assigned to the group as the default.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|markerid&lt;br /&gt;
|Int&lt;br /&gt;
|The id number of the marker template that will be assigned to the group as the default.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|rights&lt;br /&gt;
|List (of strings)&lt;br /&gt;
|All the rights that should be granted to the new group in VALT.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|max_record_duration&lt;br /&gt;
|Int&lt;br /&gt;
|The maximum record duration in minutes.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|rooms&lt;br /&gt;
|List (of ints)&lt;br /&gt;
|Room ids the new group should be granted access to in VALT.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|video_access_users&lt;br /&gt;
|List (of ints)&lt;br /&gt;
|User ids the new group should be granted video access to in VALT.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|video_access_groups&lt;br /&gt;
|List (of ints)&lt;br /&gt;
|Group ids the new group should be granted video access to in VALT.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|retention_type&lt;br /&gt;
|String&lt;br /&gt;
|Retention Type (Valid Values: infinitely, until, days, hours, minutes)&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|retention_until&lt;br /&gt;
|String&lt;br /&gt;
|Date formatted as MM-DD-YYYY&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|retention_for&lt;br /&gt;
|Int&lt;br /&gt;
|Value in hours, minutes, or days (as specified by retention_type) the video will retained for.&lt;br /&gt;
|No&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;valt.creategroup(https,server,auth,splitline[0],30,71,rights=rightslist,max_record_duration=180,video_access_users=[14,15,17],video_access_groups=[2,6],retention_type=&amp;quot;days&amp;quot;,retention_for=365)&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Other Functions=&lt;br /&gt;
==log==&lt;br /&gt;
===Usage===&lt;br /&gt;
Used to to write log entries to a standard central log. This function is used by the valt class. This function writes a time stamp in YYYY-MM-DD HH:MM:SS format before each log entry.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;log(message,logpath)&amp;lt;/pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Parameter&lt;br /&gt;
!Type&lt;br /&gt;
!Value&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|message&lt;br /&gt;
|string&lt;br /&gt;
|String to be written to the log.&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|logpath&lt;br /&gt;
|string&lt;br /&gt;
|Local path to the log file. If not specified it will default to ivs.log in the same directory as the executed python program.&lt;br /&gt;
|No&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;ivs.log(&amp;quot;Room 127 Unlocked&amp;quot;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
==factorydefault==&lt;br /&gt;
===Usage===&lt;br /&gt;
This function is specific to the use of IVS accessories. The factory default function restores all config files to a template and re-enables the web service. It then reboots the device. This function is currently only supported on the IVS Keypad and IVS Card Reader.&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;ivs.factorydefault&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>