Enable the real time rule engine - TeamViewer Support
<main>
<article class="userContent">
<p><br></p><h2 data-id="what-you-will-need">What you will need</h2><p>Make sure that you have prepared the following points:</p><ul><li>The edge device is set up with a TeamViewer IoT Agent and <a href="https://community.teamviewer.com/English/kb/articles/109820-enable-the-edge-management" rel="nofollow noreferrer ugc">TeamViewer Edge Management is enabled</a>.</li><li><a href="https://community.teamviewer.com/English/kb/articles/109829-access-the-edge-device-via-remote-terminal" rel="nofollow noreferrer ugc">Access the Edge Device via Remote Terminal</a>.</li></ul><p><br></p><h3></h3><h2 data-id="enable">Enable</h2><p>1. Access the edge device remotely (<a href="https://community.teamviewer.com/English/kb/articles/109829-access-the-edge-device-via-remote-terminal" rel="nofollow noreferrer ugc">Access the Edge Device via Remote Terminal</a>).</p><p>2. Install the <strong>Real Time Rule Engine</strong>. In the terminal type in the following command and press return.</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent install rule-engine
</pre><p>3. At the end of the installation, will be asked to start the <strong>Rule Engine application</strong>. Answer with <code class="code codeInline" spellcheck="false" tabindex="0">YES</code>.</p><p>4. Ensure the <strong>Real Time Rule Engine</strong> is running correctly. In the terminal type in the following command and press return.</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent info
</pre><p>The status of the TeamViewer IoT Agent and its extensions is listed.</p><p>After enabling the Real Time Rule Engine you can start to <a href="https://community.teamviewer.com/English/kb/articles/109852-rules-alarms-and-notifications" rel="nofollow noreferrer ugc">create rules and notifications</a>.</p><p><br></p><h3 data-id="-1"></h3><h2 data-id="check-the-status-of-the-real-time-rule-engine">Check the status of the Real-Time Rule Engine</h2><ol><li>Access the edge device remotely (<a href="https://community.teamviewer.com/English/kb/articles/109829-access-the-edge-device-via-remote-terminal" rel="nofollow noreferrer ugc">Access the Edge Device via Remote Terminal</a>).</li><li>Check the status of the <strong>Real-Time Rule Engine</strong>. In the terminal type in the following command and press return.</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent info
</pre><p>The status of the TeamViewer IoT Agent and its extensions is listed.</p><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png" alt="real-time-rule-engine-status.png" height="140" width="720" loading="lazy" data-display-size="large" data-float="none" srcset="https://us.v-cdn.net/cdn-cgi/image/fit=scale-down,width=10/https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png 10w, https://us.v-cdn.net/cdn-cgi/image/fit=scale-down,width=300/https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png 300w, https://us.v-cdn.net/cdn-cgi/image/fit=scale-down,width=800/https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png 800w, https://us.v-cdn.net/cdn-cgi/image/fit=scale-down,width=1200/https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png 1200w, https://us.v-cdn.net/cdn-cgi/image/fit=scale-down,width=1600/https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png 1600w, https://us.v-cdn.net/6032394/uploads/S6HT9UMVKRXU/real-time-rule-engine-status.png"></img></a>
</div>
</div>
<p>Real-Time Rule Engine with the status “Started”</p><p><br></p><h3 data-id="-2"></h3><h2 data-id="manually-enable-or-disable-the-real-time-rule-engine">Manually enable or disable the Real Time Rule Engine</h2><p>You can enable or disable the Real Time Rule Engine manually.</p><ol><li>Access the edge device remotely (<a href="https://community.teamviewer.com/English/kb/articles/109829-access-the-edge-device-via-remote-terminal" rel="nofollow noreferrer ugc">Access the Edge Device via Remote Terminal</a>).</li></ol><ul><li>Enable the <strong>Real Time Rule Engine</strong>. In the terminal type in the following command and press return.</li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent start rule-engine
</pre><ul><li>Disable the <strong>Real Time Rule Engine</strong>. In the terminal type in the following command and press return.</li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent stop rule-engine
</pre><p><br></p><h3 data-id="-3"></h3>
</article>
</main>