Assigning IoT devices at scale (Mass Deployment) - TeamViewer Support
<main>
<article class="userContent">
<h3 data-id="general">General</h3><p>The journey of the IoT user starts from assigning their edge device to the cloud and the assignment process should be as simple as possible.</p><p>The assignment of a single device is mostly done for testing purposes or when evaluating the solution. Here the time spent on the device assignment will not have a significant impact. But when dealing with a big project mostly we have a bunch of devices that should be assigned to the account. And here it is required to shorten the time spent on the assignment process up to even without touching the device.</p><p>TeamViewer IoT cloud offers assignments via token functionality which can be used both for single device assignment and for assigning hundreds or thousands of devices in a secure way.</p><h3 data-id="how-it-works">How it works</h3><p>For each IoT account, a unique assignment token is being generated. The assignment token can be used only for the device assignment to the account.</p><p>During the assignment process, the device connects to TeamViewer IoT cloud and presents its assignment token. The assignment service receives the token and connects the device to the account to which the token belongs.</p><p>Starting from that moment device continues to work with the assigned account.</p><p>All this process is organized in a seamless way so the device just provides the assignment token.</p><h3 data-id="using-the-feature">Using the feature</h3><p>In the TeamViewer IoT dashboard go to the "Assignment token" page from the main menu.</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/14819iAB26433735B185CA.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14819iAB26433735B185CA.jpg" alt="assingmnet1.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<h2></h2><p>There you will find the "Assignment token" generated for your IoT account with detailed instructions on how to use it.</p><p>Click on revel button to view the assignment token</p><p> </p><p><br></p><p>Open your device terminal and install TeamViewer IoT agent. The article "<a href="https://community.teamviewer.com/t5/TeamViewer-IoT-Knowledge-Base/Install-TeamViewer-IoT-Agent/ta-p/17084" rel="nofollow noreferrer ugc">Install TeamViewer IoT Agent</a>" describes the process of installation.</p><p>For the single device assignment use the below provided command by replacing <token> with the one obtained from the "Assignment token" page.</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-agent assign -t <token> --accept-license
</pre><p>For mass assignment of IoT devices, this command needs to be configured to run once when the device boots.</p><p> </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/14821iC06179266EEE2A11.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14821iC06179266EEE2A11.jpg" alt="assingmnet3.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p><br></p>
</article>
</main>