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

Connect your device
Create a virtual device
Connect your 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.

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 <(sudo curl -s https://cdn.iotflows.com/update-nodejs-and-iotflows-remote-access.sh) --username=dev_e3133dd4729f736d25833c635c0a697b --password=6c86391e297506cseabh9161555e9c16 --confirm-install

For other operating systems, follow the the given instruction in the window. Once the setup is complete, you will see a blinking green light next to your device name:

If you see the green light, your device has been successfully connected to the Cloud!

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

To manually stop, start, disable, or uninstall the remote access run these commands:

  • To stop the agent:

sudo systemctl stop iotflows-remote-access.service
  • To restart the agent:

sudo systemctl restart iotflows-remote-access.service
  • To disable the agent:

sudo systemctl disable iotflows-remote-access.service
  • To uninstall the agent:

sudo npm uninstall @iotflows/iotflows-remote-access
Create a virtual device
  1. Go to project page in the console and click on "Add Device".

  2. Select "Virtual Device"

  3. Select a virtual device plan

  4. Enter a name and description for your virtual device and hit "Create". Once the setup is complete, you will see a blinking green light next to your device name:

Your virtual device has been setup successfully and it's connected to the Cloud!

Congratulations! You have successfully created a virtual device and it's connected to the cloud.

Now, try one of these next steps: