This article applies to all TeamViewer IoT users who monitor their IoT network.
The solution presented in this article requires TeamViewer IoT Agent v 1.1.107 (or higher). To identify the version of your agent, run: sudo teamviewer-iot-agent info (an error, or no result, indicates an older version of the agent is installed).
Description
This article describes how to add the TeamViewer IoT Real Time Rule-Engine-on-the-Edge to the TeamViewer IoT Edge Management App for real time rules processing. Create rules to evaluate sensor/metric data and be notified of events. For more information regarding creating rules, reference: Getting Started with Notifications to Monitor your IoT Network
Activation
Step 1 - Installation
The application requires 350MB free disk space for the following to be installed on the device:
- TeamViewer IoT Agent - v 1.1.107 or greater
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
- TeamViewer IoT Edge Management Application to be installed.
Note: The Rule Engine on the Edge is an add-on to the TeamViewer IoT Edge Management Application. Once the Rule Engine on the is started, TeamViewer IoT Edge Management Application will automatically include the new features.
To install the rule engine application, connect with the TeamViewer client to the device and use Remote Terminal . Here, run the following command:
sudo teamviewer-iot-agent install rule-engine
Step 2 - Start/Stop the Edge Rule Engine Application
At the end of the installation, will be asked to start the Rule Engine application.
Alternately, you can run the command below:
sudo teamviewer-iot-agent start rule-engine
To stop Rule Engine application run the following command:
sudo teamviewer-iot-agent stop rule-engine
Step 3 - Creating Rules on the Edge Rule Engine
Step 4 - Troubleshooting
- To ensure the Rule Engine is running correctly, run the following command from the terminal
sudo teamviewer-iot-agent info