iOT Management
SureMDM manages Linux-based devices remotely and supports remote management of IoT endpoints through Linux-based IoT gateways.
Once an IoT gateway is set up on a Linux device and SureMDM Agent has been installed and configured, admins can use SureMDM Web Console to remotely manage connected IoT devices and sensors using custom run scripts.
To setup Mozilla IoT Things Gateway and SureMDM, follow these steps:
1. In a Linux device and follow the steps here to build Web of Things Gateway.
2. Register and login to Mozilla IoT – Things Gateway.
3. Click Menu and select Things.
4. Click + icon located at the bottom right to search for available IoT device.
5. Once, the device is successfully added, download SureMDM Agent from website using the below command.
wget https://suremdm.42gears.com/nix/nix.tar.gz
6. Follow the steps to set and configure SureMDM Agent.
7. Once done, login to DNS or SureMDM Web Console.
Note: SureMDM Web Console address can also be a DNS name and not necessarily suremdm.42gears.
8. On the SureMDM Home, click Jobs, New Job and select Linux as the operating system.
9. In the Select Job Type page, click Run Scripts.
10. In the Run Script prompt, give a name to the job, add the custom run script and Save.
Note: Admin can use API tools like Postman to extract the required APIs which can be converted into Linux commands or run scripts.
11. Go back to SureMDM Home and click Apply option to apply the created job.
Once the run script is applied to the Linux device, SureMDM Agent will pick up the command, apply the same to the gateway and accordingly it gets executed on the IoT device.