1. Connect a device to the cloud or create a virtual device

System requirements

IoTFlows remote access agent requires a Linux based operating systems such as Debian, Ubuntu, or Raspberry Pi OS. If you currently don't have a Linux based machine or single-board computer such as a Raspberry Pi, you can get started by creating a virtual device.

Connect your device or create a virtual device

  1. Go to project page in the console and click on "Add Device".

  2. Select "Device"

  3. Select a device plan

  4. Enter a name and description for your device and hit "Create". You will see a window similar to the following image.

For Debian-based operating systems:

If the operating system of your device is Debian-Based (e.g. Ubuntu, Linux Mint, Raspberry Pi OS), simply run the given command on your device while it has an internet connection to connect it to the IoTFlows cloud. Here is an example of how this code looks like:

bash <(curl -s https://cdn.iotflows.com/update-docker-nodejs-and-iotflows-remote-access-v2.sh) --username=dev_e3133dd4729f736d25833c635c0a697b --password=6c86391e297506cseabh9161555e9c16 --confirm-install

For other Linux operating systems:

For other operating systems, follow the provided instruction in the modal, which looks similar to the following image.

Once the setup is complete, you will see a blinking green light next to your device name:

To manually stop, restart, disable, or uninstall the remote access, you can run the following commands:

sudo systemctl stop iotflows-remote-access.service
sudo systemctl restart iotflows-remote-access.service
sudo systemctl disable iotflows-remote-access.service
sudo npm uninstall @iotflows/iotflows-remote-access

Congratulations! You have successfully installed the remote access agent on your device and it's connected to the cloud.

Last updated