Power your edge device with the Real Time Rule Engine (RE) on the Edge - TeamViewer Support
<main>
<article class="userContent">
<p><em>This article applies to all TeamViewer IoT users who monitor their IoT network.</em></p><p><em>The solution presented in this article requires TeamViewer IoT Agent v 1.1.107 (or higher). To identify the version of your agent, run: </em><strong><em>sudo teamviewer-iot-agent info </em></strong><em>(an error, or no result, indicates an older version of the agent is installed).</em></p><h2 data-id="description"><strong>Description</strong></h2><p>This article describes how to add the <strong><em>TeamViewer IoT Real Time Rule-Engine-on-the-Edge</em></strong><em> </em>to the <a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Edge-Device-Management-Real-Time-Edge-Visualization-amp-more/ta-p/37206" rel="nofollow noreferrer ugc">TeamViewer IoT Edge Management App</a> for real time rules processing. Create rules to evaluate sensor/metric data and be notified of events. For more information regarding creating rules, reference: <a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Getting-Started-with-Notifications-to-Monitor-your-IoT-Network/ta-p/36737" rel="nofollow noreferrer ugc">Getting Started with Notifications to Monitor your IoT Network</a></p><h2 data-id="activation"><strong>Activation</strong></h2><h3 data-id="step-1-installation"><strong>Step 1 - Installation</strong></h3><p>The application requires <strong>350MB free disk space </strong>for the<strong> </strong>following to be installed on the device:</p><ol><li>TeamViewer IoT Agent - v 1.1.107 or greater<ul><li>For details, reference: <a href="https://teamviewer-iot.com/" rel="nofollow noreferrer ugc">https://teamviewer-iot.com/</a></li></ul></li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0">To identify the installed version, run the following command: (an error, or no result, indicates an older version of the agent is installed)sudo teamviewer-iot-agent info
</pre><ol><li><a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Edge-Device-Management-Real-Time-Edge-Visualization-amp-more/ta-p/37206" rel="nofollow noreferrer ugc">TeamViewer IoT Edge Management Application</a> to be installed.</li></ol><p> <strong>Note</strong>: <em> The Rule Engine on the Edge </em>is an add-on to the <em>TeamViewer IoT Edge Management Application.</em> Once the <em>Rule Engine</em> on the is started, T<em>eamViewer IoT Edge Management Application </em>will automatically include the new features.</p><p>To install the rule engine application, connect with the <em>TeamViewer</em> client to the device and use <em>Remote Terminal</em> . Here, run the following command:</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent install rule-engine
</pre><p><br></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/lithium_attachments/13955i2D857A74783ABEE9.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/13955i2D857A74783ABEE9.jpg" alt="remote_terminal.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p> </p><h3> </h3><h3 data-id="-1"> </h3><h3 data-id="step-2-startstop-the-edge-rule-engine-application"><strong>Step 2 - Start/Stop the Edge Rule Engine Application</strong></h3><p>At the end of the installation, will be asked to start the <em>Rule Engine </em>application.</p><p>Alternately, you can run the command below:</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent start rule-engine
</pre><p>To stop <em>Rule Engine</em> application run the following command:</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent stop rule-engine
</pre><p> </p><h3 data-id="step-3-creating-rules-on-the-edge-rule-engine"><strong>Step 3 - Creating Rules on the Edge Rule Engine</strong></h3><ul><li>Within the <a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Edge-Device-Management-Real-Time-Edge-Visualization-amp-more/ta-p/37206" rel="nofollow noreferrer ugc">TeamViewer IoT Edge Management Application</a>, the Menu Bar will now include the <strong><em>Notifications </em></strong>as shown in the image.</li></ul><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/lithium_attachments/12420iDAA22A099FEE2C24.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/12420iDAA22A099FEE2C24.jpg" alt="3.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p><br></p><ul><li>For more information regarding creating rules, reference: <a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Getting-Started-with-Notifications-to-Monitor-your-IoT-Network/ta-p/36737" rel="nofollow noreferrer ugc">Getting Started with Notifications to Monitor your IoT Network</a></li></ul><h3 data-id="step-4-troubleshooting"><strong>Step 4 - Troubleshooting</strong></h3><ul><li>To ensure the <em>Rule Engine</em> is running correctly, run the following command from the terminal</li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent info
</pre><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/lithium_attachments/12419iBE1E94DC51946C7F.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/12419iBE1E94DC51946C7F.jpg" alt="2.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<h3 data-id="-2"></h3><p> </p><p> </p>
</article>
</main>